Replace RC with Deployments

This commit is contained in:
Janet Kuo
2016-03-21 16:10:20 -07:00
parent 1972537aef
commit 7077aac069
4 changed files with 75 additions and 83 deletions
+17
View File
@@ -0,0 +1,17 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: my-nginx
spec:
replicas: 2
template:
metadata:
labels:
run: my-nginx
spec:
containers:
- name: my-nginx
image: nginx
ports:
- containerPort: 80