arshad75

tshoot.yaml

Jan 30th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
  2. kind: Deployment
  3. metadata:
  4. name: tshoot-deployment
  5. spec:
  6. selector:
  7. matchLabels:
  8. app: tshoot
  9. replicas: 2 # tells deployment to run 2 pods matching the template
  10. template:
  11. metadata:
  12. labels:
  13. app: tshoot
  14. spec:
  15. containers:
  16. - name: tshoot
  17. image: lovescloud/rildemo:default
  18. ports:
  19. - containerPort: 80
Add Comment
Please, Sign In to add comment