2020-05-09 15:40:51 +02:00
|
|
|
## Certified Kubernetes Administrator (CKA)
|
|
|
|
|
2021-07-22 19:45:06 +02:00
|
|
|
### Pods
|
|
|
|
|
2020-06-15 08:41:32 +02:00
|
|
|
<details>
|
2021-04-11 22:07:25 +02:00
|
|
|
<summary>Deploy a pod called web-1985 using the nginx:alpine image</code></summary><br><b>
|
2020-06-15 08:41:32 +02:00
|
|
|
|
2021-04-11 22:07:25 +02:00
|
|
|
`kubectl run web-1985 --image=nginx:alpine --restart=Never`
|
2020-06-15 08:41:32 +02:00
|
|
|
</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>
|