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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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
- 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
- Delete an Existing Pod
- Delete the Pod named
web-frontend
- Delete the Pod named
- 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