<p>If we have some requirement to modify property of running pods, Which will be the recommeneded way and whats the reason.</p>
<p>I guess once a pod deployed as part of the deployment, we can modify the pods properties either by kubectl edit pod or by kubectl edit deploy.</p>
<p>Would like to understand is there any difference between these 2 actions. ?</p>

Vowneee
<p>Modify the Deployment not the Pod.</p>
<p><strong>Why?</strong></p>
<p>The Deployment describe the desired state for your pods. The Deployment controller continuously watches for the Deployment object in a control loop. It reads the desired pod state from the Deployment specification and try to ensure the state in the cluster. So, if you edit the pod and change something, the Deployment controller will overwrite the change in next resync because your modification is not present in the Deployment specification.</p>
