<p>I need to add a REST API for Kubernetes rolling update feature. Is there a way we can write extensions for Kubernetes API? If that so is there any documentation about writing them?</p>

<p>The <a href="https://github.com/kubernetes/kubernetes/blob/master/docs/design/extending-api.md" rel="nofollow">Extending the API</a> doc describes how you can add resources to the Kubernetes API.</p>

<p>If you just want a REST API for rolling update, you should check out the <a href="https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/deployments.md" rel="nofollow">Deployment</a> object.</p>
