deployment-website.gethue.yaml 664 B

1234567891011121314151617181920212223242526272829
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: gethue-website
  5. labels:
  6. deployment: gethue-website
  7. spec:
  8. selector:
  9. matchLabels:
  10. pod: gethue-website
  11. replicas: 1
  12. template:
  13. metadata:
  14. labels:
  15. pod: gethue-website
  16. spec:
  17. containers:
  18. - name: gethue-website
  19. image: {{ .Values.image.registry }}/website:{{ .Values.image.tag }}
  20. imagePullPolicy: {{ .Values.image.pullPolicy }}
  21. ports:
  22. - containerPort: 80
  23. readinessProbe:
  24. httpGet:
  25. path: /
  26. port: 80
  27. initialDelaySeconds: 3
  28. periodSeconds: 60
  29. failureThreshold: 30