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
- Create the namespace if it does not exist.
- Apply the manifest in the YAML workspace.
- 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