mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
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:
commit
7bf40d2c60
12
test/fixtures/doc-yaml/user-guide/pod.yaml
vendored
Normal file
12
test/fixtures/doc-yaml/user-guide/pod.yaml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: nginx
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx
|
||||
ports:
|
||||
- containerPort: 80
|
Loading…
Reference in New Issue
Block a user