Tous les labs

Create and inspect a Pod

Starter ~12 mink8s

A diagnostic container is needed in namespace cert-lab. Create it declaratively and prove it is running.

Objectifs
  • Create namespace cert-lab
  • Create Pod toolbox with image busybox:1.36
  • Keep it running with sleep 3600
Étapes suggérées
  1. Create the namespace if it does not exist.
  2. Apply the manifest in the YAML workspace.
  3. Use kubectl get and describe to verify identity and status.
Indices
Voir la solution
kubectl create namespace cert-lab
kubectl apply -f toolbox.yaml
kubectl get pod toolbox -n cert-lab