title: How to patch statefulset on kubernetes cluster and set imagePullPolicy
body: <p>Need to understand exactly how patch works. How could I patch "imagePullPolicy" for instance. Could someone explain in simple details how patch works.</p>
  
  <pre><code>kubectl patch statefulset my-set -p '{"spec":{"containers":{"imagePullPolicy":"IfNotPresent"}}}'
  </code></pre>
  
  <p>This is not working what is wrong with it?</p>