Skip to content

Commit

Permalink
Fixes on CKA questions (#10541)
Browse files Browse the repository at this point in the history
* Fix pod deletion question

* Fix duplicate line on static pod creation question
  • Loading branch information
dreambeam authored Dec 21, 2024
1 parent a70d8aa commit 8ad6f71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions topics/kubernetes/CKA.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 8ad6f71

Please sign in to comment.