deployment-website.yaml 727 B

1234567891011121314151617181920212223242526272829303132333435
  1. {{- if .Values.website.enabled -}}
  2. apiVersion: apps/v1
  3. kind: Deployment
  4. metadata:
  5. name: website
  6. labels:
  7. deployment: website
  8. spec:
  9. selector:
  10. matchLabels:
  11. pod: website
  12. replicas: 1
  13. template:
  14. metadata:
  15. labels:
  16. pod: website
  17. spec:
  18. containers:
  19. - name: website
  20. image: {{ .Values.image.registry }}/website:latest
  21. imagePullPolicy: Always
  22. ports:
  23. - containerPort: 80
  24. resources:
  25. requests:
  26. # memory: "100Mi"
  27. cpu: "10m"
  28. readinessProbe:
  29. httpGet:
  30. path: /
  31. port: 80
  32. initialDelaySeconds: 3
  33. periodSeconds: 60
  34. failureThreshold: 30
  35. {{- end -}}