Merge pull request #65962 from nikhita/add-pod.yaml-userguide

Automatic merge from submit-queue (batch tested with PRs 65987, 65962). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add pod.yaml to user-guide

This is referenced in k/community for an example on how to run Kubernetes locally: https://github.com/kubernetes/community/blob/master/contributors/devel/running-locally.md#running-a-user-defined-pod.

It was removed earlier since it was thought as not used in https://github.com/kubernetes/kubernetes/pull/54342. This was the original `pod.yaml`: 668bedd943/test/fixtures/doc-yaml/user-guide/pod.yaml. This PR adds it back again.

Fixes https://github.com/kubernetes/community/issues/2351

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2018-07-09 16:54:04 -07:00 committed by GitHub
commit 7bf40d2c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80