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 +```