How to deploy 3 pods through one deployment file

Shrikant Chilwant:
Hello team,

I have one scenerio, I want to deploy three pods through one deployment file. Suppose I have set replicas as 3. But I want to pass different env variable to all three pods. Is it possible with one deployment file or we have to use three different deployments. ?? Or is there any better approach for this scenerio.??

Alexandre Chanu:
If you need to diferentiate your pod deployement is not what you need, maybe you should take a look at statefulset like explain by @Mumshad Mannambeth in lesson 8 of the CKAD course (video 119 Headless services ?)