Copied from : kubernetes/kubernetes#17404
The API docs don't have a great on-ramp for explaining how to use the API directly. We have some example docs from the DCOS docs, that don't really belong there. I'd like to donate them to the k8s API docs, but I'm not sure where to put them. Any ideas where these would go?
Unfortunately, it somewhat overlaps with the walkthrough 101 page, but the rest API bits don't really belong there...
Create a Kubernetes Pod Definition
A pod is one or more containers that are co-located on the same host. In this example we’re creating a pod which runs nginx.