- Lab
- A Cloud Guru
Working with Kubernetes Using kubectl
This hands-on lab will provide you with the opportunity to practice your basic `kubectl` skills in a real Kubernetes cluster. You will create and manipulate some simple Kubernetes objects using `kubectl`. This will allow you to exercise your `kubectl` skills.
Path Info
Table of Contents
-
Challenge
Use kubectl to Check the Status of Worker Nodes in the Cluster
- Use
kubectl
to list all nodes in the cluster - Verify the nodes are in the READY state
- Use
-
Challenge
Get a List of Pods Running in the Cluster
- Use
kubectl
to list Pods in all namespaces - Verify whether or not these Pods are all up and running
- Use
-
Challenge
Delete an Existing Pod
- Delete the Pod named
web-frontend
- Delete the Pod named
-
Challenge
Create a New Pod
- Create a new Pod called
web-frontend
- Make it run a container with the
nginx
image
- Create a new Pod called
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.