How to create Pod - single container with multiple Images

Hello Guys,

Can you please explain How to create Pod - single container with multiple Images. I got this question in CKA exam.

Thanks.

Hi @vaiin2003

You can create Single POD with Multi containers like this : https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/

But it is not possible to create two images in one container.

Hi Sathish, thanks for the reply. I am aware about multi container concept in a single Pod. But believe me I also got confused yesterday when I gave CKA exam. I surely recollect that Question was same asking for creating a Pod with single container with multiple Images like nginx+redis+commun (not sure+XYZ.

Can anyone explain is it really possible with Kubernetes??

Hello, @vaiin2003
We cannot discuss actual exam questions because we signed NDA. Hope you’re aware.

Regards,

Hi, Thanks for highlighting and I apologize for asking this question. If possible please delete this thread from you end.

Thanks.