<p>A pod can be created by Deployment or ReplicaSet or DaemonSet, if I am updating a pod's container specs, is it OK for me to simply modify the yaml file that created the pod? Would it be erroneous once I have done that?</p>
<p>Brief Question:
Is <code>kubectl apply -f xxx.yml</code> the silver bullet for all pod update?</p>

Steve Wu
<p><code>...if I am updating a pod's container specs, is it OK for me to simply modify the yaml file that created the pod?</code></p>
<p>The fact that the pod spec is part of the controller spec (eg. deployment, daemonset), to update the container spec you naturally start with the controller spec. Also, a running pod is largely immutable, there isn't much you can change directly unless you do a replace - which is what the controller already doing.</p>
