From 266baa48faca4d1748b25b2854170b9c8003dab3 Mon Sep 17 00:00:00 2001 From: msatyam1992 <145592130+msatyam1992@users.noreply.github.com> Date: Sat, 28 Oct 2023 11:28:16 -0400 Subject: [PATCH] Update README.md --- 02-PODs-with-kubectl/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/02-PODs-with-kubectl/README.md b/02-PODs-with-kubectl/README.md index 8cafc58..8463d67 100644 --- a/02-PODs-with-kubectl/README.md +++ b/02-PODs-with-kubectl/README.md @@ -176,9 +176,9 @@ exit kubectl exec -it env # Sample Commands -kubectl exec -it my-first-pod env -kubectl exec -it my-first-pod ls -kubectl exec -it my-first-pod cat /usr/share/nginx/html/index.html +kubectl exec -it my-first-pod -- env +kubectl exec -it my-first-pod -- ls +kubectl exec -it my-first-pod -- cat /usr/share/nginx/html/index.html ``` ## Step-06: Get YAML Output of Pod & Service ### Get YAML Output @@ -205,4 +205,4 @@ kubectl delete pod my-first-pod # Get all Objects in default namespace kubectl get all -``` \ No newline at end of file +```