title: Kubernetes REST API - Create deployment
body: <p>I was looking at the kubernetes API endpoints listed <a href="http://kubernetes.io/docs/api-reference/v1/operations/" rel="noreferrer">here</a>. Im trying to create a deployment which can be run from the terminal using <code>kubectl ru CLUSTER-NAME IMAGE-NAME PORT</code>. However I cant seem to find any endpoint for this command in the link I posted above. I can create a node using <code>curl POST /api/v1/namespaces/{namespace}/pods</code> and then delete using the <code>curl -X DELETE http://localhost:8080/api/v1/namespaces/default/pods/node-name</code> where node name HAS to be a single node  (if there are 100 nodes, each should be done individually). <strong>Is there an api endpoint for creating and deleting deployments??</strong></p>