Files

38 lines
772 B
Markdown
Raw Permalink Normal View History

2021-07-18 22:01:18 +03: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 20:45:06 +03: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 22:01:18 +03: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>
2021-09-23 11:42:16 +03:00
kubectl get po -n neverland
2021-07-18 22:01:18 +03:00
</b></details>
<details>
<summary>List all the pods in all the namespaces</code></summary><br><b>
kubectl get po --all-namespaces
</b></details>