Browse Source

added port configuration for liveness/readiness probes in helm charts

pull/934/head
eiximenis 6 years ago
parent
commit
a4f169ddce
28 changed files with 60 additions and 4 deletions
  1. +2
    -0
      k8s/helm/apigwmm/templates/deployment.yaml
  2. +2
    -0
      k8s/helm/apigwmm/values.yaml
  3. +2
    -0
      k8s/helm/apigwms/templates/deployment.yaml
  4. +3
    -1
      k8s/helm/apigwms/values.yaml
  5. +2
    -0
      k8s/helm/apigwwm/templates/deployment.yaml
  6. +3
    -1
      k8s/helm/apigwwm/values.yaml
  7. +2
    -0
      k8s/helm/apigwws/templates/deployment.yaml
  8. +2
    -0
      k8s/helm/apigwws/values.yaml
  9. +3
    -1
      k8s/helm/basket-api/templates/deployment.yaml
  10. +2
    -0
      k8s/helm/basket-api/values.yaml
  11. +2
    -0
      k8s/helm/catalog-api/templates/deployment.yaml
  12. +2
    -0
      k8s/helm/catalog-api/values.yaml
  13. +2
    -0
      k8s/helm/identity-api/templates/deployment.yaml
  14. +3
    -1
      k8s/helm/identity-api/values.yaml
  15. +2
    -0
      k8s/helm/locations-api/templates/deployment.yaml
  16. +2
    -0
      k8s/helm/locations-api/values.yaml
  17. +2
    -0
      k8s/helm/marketing-api/templates/deployment.yaml
  18. +2
    -0
      k8s/helm/marketing-api/values.yaml
  19. +2
    -0
      k8s/helm/mobileshoppingagg/templates/deployment.yaml
  20. +2
    -0
      k8s/helm/mobileshoppingagg/values.yaml
  21. +2
    -0
      k8s/helm/ordering-api/templates/deployment.yaml
  22. +2
    -0
      k8s/helm/ordering-api/values.yaml
  23. +2
    -0
      k8s/helm/ordering-backgroundtasks/templates/deployment.yaml
  24. +2
    -0
      k8s/helm/ordering-backgroundtasks/values.yaml
  25. +2
    -0
      k8s/helm/payment-api/templates/deployment.yaml
  26. +2
    -0
      k8s/helm/payment-api/values.yaml
  27. +2
    -0
      k8s/helm/webshoppingagg/templates/deployment.yaml
  28. +2
    -0
      k8s/helm/webshoppingagg/values.yaml

+ 2
- 0
k8s/helm/apigwmm/templates/deployment.yaml View File

@ -40,6 +40,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -49,6 +50,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/apigwmm/values.yaml View File

@ -55,7 +55,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/apigwms/templates/deployment.yaml View File

@ -40,6 +40,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -49,6 +50,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 3
- 1
k8s/helm/apigwms/values.yaml View File

@ -55,7 +55,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/apigwwm/templates/deployment.yaml View File

@ -40,6 +40,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -49,6 +50,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 3
- 1
k8s/helm/apigwwm/values.yaml View File

@ -55,7 +55,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/apigwws/templates/deployment.yaml View File

@ -39,6 +39,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -48,6 +49,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/apigwws/values.yaml View File

@ -55,7 +55,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 3
- 1
k8s/helm/basket-api/templates/deployment.yaml View File

@ -31,7 +31,8 @@ spec:
{{ if .Values.probes -}}
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/basket-api/values.yaml View File

@ -46,7 +46,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/catalog-api/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/catalog-api/values.yaml View File

@ -49,8 +49,10 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/identity-api/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 3
- 1
k8s/helm/identity-api/values.yaml View File

@ -66,7 +66,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/locations-api/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/locations-api/values.yaml View File

@ -57,7 +57,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/marketing-api/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/marketing-api/values.yaml View File

@ -61,7 +61,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/mobileshoppingagg/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/mobileshoppingagg/values.yaml View File

@ -69,7 +69,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/ordering-api/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/ordering-api/values.yaml View File

@ -55,7 +55,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/ordering-backgroundtasks/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/ordering-backgroundtasks/values.yaml View File

@ -61,7 +61,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/payment-api/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/payment-api/values.yaml View File

@ -47,7 +47,9 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

+ 2
- 0
k8s/helm/webshoppingagg/templates/deployment.yaml View File

@ -32,6 +32,7 @@ spec:
{{- if .Values.probes.liveness -}}
livenessProbe:
httpGet:
port: {{ .Values.probes.liveness.port }}
path: {{ .Values.probes.liveness.path }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
@ -41,6 +42,7 @@ spec:
{{- if .Values.probes.readiness }}
readinessProbe:
httpGet:
port: {{ .Values.probes.readiness.port }}
path: {{ .Values.probes.readiness.path }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}


+ 2
- 0
k8s/helm/webshoppingagg/values.yaml View File

@ -69,8 +69,10 @@ probes:
path: /liveness
initialDelaySeconds: 10
periodSeconds: 15
port: 80
readiness:
path: /hc
initialDelaySeconds: 90
periodSeconds: 15
port: 80

Loading…
Cancel
Save