deployment-website-jp.yaml 748 B

1234567891011121314151617181920212223242526272829303132333435
  1. {{- if .Values.website.jp.enabled -}}
  2. apiVersion: apps/v1
  3. kind: Deployment
  4. metadata:
  5. name: website-jp
  6. labels:
  7. deployment: website-jp
  8. spec:
  9. selector:
  10. matchLabels:
  11. pod: website-jp
  12. replicas: 1
  13. template:
  14. metadata:
  15. labels:
  16. pod: website-jp
  17. spec:
  18. containers:
  19. - name: website-jp
  20. image: {{ .Values.image.registry }}/website-jp: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 -}}