Skip to content

Commit 8ad6f71

Browse files
authored
Fixes on CKA questions (bregman-arie#10541)
* Fix pod deletion question * Fix duplicate line on static pod creation question
1 parent a70d8aa commit 8ad6f71

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

topics/kubernetes/CKA.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Note: create an alias (`alias k=kubectl`) and get used to `k get po`
5656
<details>
5757
<summary>Assuming that you have a Pod called "nginx-test", how to remove it?</summary><br><b>
5858

59-
`k delete nginx-test`
59+
`k delete po nginx-test`
6060
</b></details>
6161

6262
<details>
@@ -159,8 +159,6 @@ First change to the directory tracked by kubelet for creating static pod: `cd /e
159159

160160
Now create the definition/manifest in that directory
161161

162-
`k run some-pod --image=python --command sleep 2017 --restart=Never --dry-run=client -o yaml > status-pod.yaml`
163-
=======
164162
`k run some-pod --image=python --command sleep 2017 --restart=Never --dry-run=client -o yaml > static-pod.yaml`
165163

166164
</b></details>

0 commit comments

Comments
 (0)