- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech

DevOps Containerization and Orchestration: Code Your Infrastructure with Kubernetes
In this lab, you’ll practice the basics of working with Kubernetes. When you’re finished, you’ll have the skills necessary to create a basic cluster with a web server that you can access.

Lab Info
Table of Contents
-
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
-
Challenge
Run Basic Commands with MiniKube and Kubectl
There are two components to the Kubernetes installation you're going to work with in this challenge–the Kubernetes host, which is called Minikube, and the control interface, called kubectl. This will give introduce you to the basics of working with Kubernetes.
-
Challenge
Create a Basic Cluster with Minikube and Kubectl
Now that you've got the basic commands working with Minikube and kubectl, it's time to actually create something. One of the most common use cases for working with Kubernetes is creating a web farm, and you'll use nginx as the base image.
-
Challenge
Apply a Configuration Using Kubectl
Working directly at the command line only goes so far. Here, you are going to define the configuration in a YAML file.
-
Challenge
Expose the Application to the World Using a Service
You now have a web-server container running inside Kubernetes, but it has no access to the outside world. You will expose it using a service by modifying the YAML file.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.