devops-exercises/certificates/ckad.md

38 lines
772 B
Markdown
Raw Normal View History

2021-07-18 21:01:18 +02:00
## Certified Kubernetes Application Developer (CKAD)
### Core Concepts
### Pods
<details>
<summary>Deploy a pod called web-1985 using the nginx:alpine image</code></summary><br><b>
`kubectl run web-1985 --image=nginx:alpine --restart=Never`
</b></details>
2021-07-22 19:45:06 +02:00
<details>
<summary>How to find out on which node a certain pod is running?</summary><br><b>
`kubectl get po -o wide`
</b></details>
2021-07-18 21:01:18 +02:00
### Namespaces
<details>
<summary>List all namespaces</code></summary><br><b>
kubectl get ns
</b></details>
<details>
<summary>List all the pods in the namespace 'neverland'</code></summary><br><b>
kubectl get ns -n neverland
</b></details>
<details>
<summary>List all the pods in all the namespaces</code></summary><br><b>
kubectl get po --all-namespaces
</b></details>