Replace references to Replication Controllers with Deployments in docs/user-guide/walkthrough.

Also:
* Cleanup pasted yaml and instead embed file
* Clarify Service test sections by including busybox exec commands as part of the preformatted section
This commit is contained in:
Phillip Wittrock
2016-03-18 14:45:11 -07:00
parent 7c8d7542ab
commit 1086e6426c
7 changed files with 156 additions and 123 deletions
@@ -0,0 +1,18 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-deployment
spec:
replicas: 2 # tells deployment to run 2 pods matching the template
template: # create pods using pod definition in this template
metadata:
# unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is
# generated from the deployment name
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.7.9
ports:
- containerPort: 80