Move topic to Tasks. (#3627)

This commit is contained in:
Steve Perry
2017-05-03 17:44:23 -07:00
committed by GitHub
parent ede2648b28
commit 1663f37f90
6 changed files with 53 additions and 1 deletions
@@ -0,0 +1,18 @@
apiVersion: apps/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