title: Kubernetes API call equivalent to 'kubectl apply'
body: <p>I try to use the master api to update resources.</p>
  
  <p>In 1.2 to update a deployment resource I'm doing <code>kubectl apply -f new updateddeployment.yaml</code></p>
  
  <p>How to do the same action with the api? </p>