From 783e3d9c03d6a7d54cb900fa74d2051afaefafcd Mon Sep 17 00:00:00 2001 From: Jennifer Kipp Date: Sat, 27 Nov 2021 09:50:28 -0500 Subject: [PATCH] Update multi-container-pod.md --- 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