How to confirm a container is running after running the command kubectl run web --image nginxinc/nginx-unprivileged
Answer
- When you run
kubectl describe podsit will tell whether the container is running:Status: Running - Run a command inside the container:
kubectl exec web -- ls