From 553a59f28710c6694b765c78b24b9c1747a2a358 Mon Sep 17 00:00:00 2001 From: nikhil15041993 <87381349+nikhil15041993@users.noreply.github.com> Date: Wed, 24 Nov 2021 14:33:52 +0530 Subject: [PATCH] Update pod-multi-container.yaml --- pods/pod-multi-container.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pods/pod-multi-container.yaml b/pods/pod-multi-container.yaml index 0b12fcf..4416e01 100644 --- a/pods/pod-multi-container.yaml +++ b/pods/pod-multi-container.yaml @@ -8,7 +8,5 @@ spec: image: nginx - name: container-2 image: ubuntu - command: - - /bin/bash - - -ec - - while :; do echo '.'; sleep 5; done \ No newline at end of file + command: ["/bin/sh"] + args: ["-c", "while :; do echo 'welcome'; sleep 5; done"]