Valid CKA Dumps shared by ExamDiscuss.com for Helping Passing CKA Exam! ExamDiscuss.com now offer the newest CKA exam dumps, the ExamDiscuss.com CKA exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CKA dumps with Test Engine here:
Create a pod that having 3 containers in it? (Multi-Container)
Correct Answer:
See the solution below. Explanation image=nginx, image=redis, image=consul Name nginx container as "nginx-container" Name redis container as "redis-container" Name consul container as "consul-container" Create a pod manifest file for a container and append container section for rest of the images kubectl run multi-container --generator=run-pod/v1 --image=nginx -- dry-run -o yaml > multi-container.yaml # then vim multi-container.yaml apiVersion: v1 kind: Pod metadata: labels: run: multi-container name: multi-container spec: containers: - image: nginx name: nginx-container - image: redis name: redis-container - image: consul name: consul-container restartPolicy: Always