Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
- kind: Deployment
- metadata:
- name: tshoot-deployment
- spec:
- selector:
- matchLabels:
- app: tshoot
- replicas: 2 # tells deployment to run 2 pods matching the template
- template:
- metadata:
- labels:
- app: tshoot
- spec:
- containers:
- - name: tshoot
- image: lovescloud/rildemo:default
- ports:
- - containerPort: 80
Add Comment
Please, Sign In to add comment