mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2026-02-04 23:59:11 +00:00
Fixes on CKA questions (#10541)
* Fix pod deletion question * Fix duplicate line on static pod creation question
This commit is contained in:
parent
a70d8aab6a
commit
8ad6f719b4
@ -56,7 +56,7 @@ Note: create an alias (`alias k=kubectl`) and get used to `k get po`
|
||||
<details>
|
||||
<summary>Assuming that you have a Pod called "nginx-test", how to remove it?</summary><br><b>
|
||||
|
||||
`k delete nginx-test`
|
||||
`k delete po nginx-test`
|
||||
</b></details>
|
||||
|
||||
<details>
|
||||
@ -159,8 +159,6 @@ First change to the directory tracked by kubelet for creating static pod: `cd /e
|
||||
|
||||
Now create the definition/manifest in that directory
|
||||
|
||||
`k run some-pod --image=python --command sleep 2017 --restart=Never --dry-run=client -o yaml > status-pod.yaml`
|
||||
=======
|
||||
`k run some-pod --image=python --command sleep 2017 --restart=Never --dry-run=client -o yaml > static-pod.yaml`
|
||||
|
||||
</b></details>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user