Run your first Kubernetes Pod
Level: Beginner
Time: About 10 minutes
Use the dev-machine terminal. Kubernetes is already configured, and the lab prepares the pod-lab namespace.
Task 1: Create the Pod
Can you create a standalone Pod with all of these requirements?
- Name:
web - Namespace:
pod-lab - Exactly one regular container
- Container image:
ghcr.io/iximiuz/labs/nginx:alpine - Declared container port:
80/TCP - No controller owner, such as a Deployment or Job
Choose your own commands or manifest. No solution commands are provided.
Task 2: Make it ready
Can you bring the Pod into the following state?
- Pod phase is
Running. - Pod condition
ReadyisTrue. - The Pod is not terminating.
Leave the Pod running until all checks have completed.
The checks evaluate the cluster state automatically. You do not need to submit your commands or a written answer.