772 B
772 B
Certified Kubernetes Application Developer (CKAD)
Core Concepts
Pods
Deploy a pod called web-1985 using the nginx:alpine image
kubectl run web-1985 --image=nginx:alpine --restart=Never
How to find out on which node a certain pod is running?
kubectl get po -o wide
Namespaces
List all namespaces
kubectl get ns
List all the pods in the namespace 'neverland'
kubectl get ns -n neverland
List all the pods in all the namespaces
kubectl get po --all-namespaces