guestbook-ui-deployment.yaml 389 B

1234567891011121314151617181920
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: guestbook-ui
  5. spec:
  6. replicas: 1
  7. revisionHistoryLimit: 3
  8. selector:
  9. matchLabels:
  10. app: guestbook-ui
  11. template:
  12. metadata:
  13. labels:
  14. app: guestbook-ui
  15. spec:
  16. containers:
  17. - image: gcr.io/heptio-images/ks-guestbook-demo:0.1
  18. name: guestbook-ui
  19. ports:
  20. - containerPort: 80