devops-exercises/certificates/ckad.md
2021-09-23 11:42:16 +03:00

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 po -n neverland

List all the pods in all the namespaces

kubectl get po --all-namespaces