From f0f9fb7f36f480207940ad78692b774371643c4c Mon Sep 17 00:00:00 2001 From: bvntejasvi Date: Tue, 11 Feb 2020 21:57:29 -0500 Subject: [PATCH] Fix the typos in multi container pod I'm assuming there is a typo in the last bullet point where index.html was mis-types as main.txt --- multi-container-pod.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multi-container-pod.md b/multi-container-pod.md index d09e50c..f84bad9 100644 --- a/multi-container-pod.md +++ b/multi-container-pod.md @@ -148,13 +148,13 @@ kubectl get po multi-cont-pod -
Exec into both containers and verify that main.txt exist and query the main.txt from sidecar container with curl localhost +
Exec into both containers and verify that index.html exist and query the index.html from sidecar container with curl localhost

``` // exec into main container kubectl exec -it multi-cont-pod -c main-container -- sh -cat /var/log/main.txt +cat /var/log/index.html // exec into sidecar container kubectl exec -it multi-cont-pod -c sidecar-container -- sh