From 8ad6f719b499523207007a505b6e7d111c209bfc Mon Sep 17 00:00:00 2001 From: Bleza Takouda <20278294+dreambeam@users.noreply.github.com> Date: Sat, 21 Dec 2024 17:38:31 +0900 Subject: [PATCH] Fixes on CKA questions (#10541) * Fix pod deletion question * Fix duplicate line on static pod creation question --- topics/kubernetes/CKA.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/topics/kubernetes/CKA.md b/topics/kubernetes/CKA.md index a00c37a..b6084aa 100644 --- a/topics/kubernetes/CKA.md +++ b/topics/kubernetes/CKA.md @@ -56,7 +56,7 @@ Note: create an alias (`alias k=kubectl`) and get used to `k get po`
Assuming that you have a Pod called "nginx-test", how to remove it?
-`k delete nginx-test` +`k delete po nginx-test`
@@ -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`