apiVersion: v2
description: Service Design and Creation Umbrella Helm charts
name: sdc
-version: 13.0.8
+version: 13.1.0
dependencies:
- name: common
metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
initContainers:
- {{ include "common.readinessCheck.waitFor" (dict "dot" . "wait_for" .Values.readinessCheck.wait_for_service) | nindent 8 }}
- name: {{ include "common.name" . }}-copy-jetty
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
httpGet:
path: {{ .Values.liveness.path }}
port: {{ .Values.service.internalPort }}
- initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
successThreshold: {{ .Values.liveness.successThreshold }}
httpGet:
path: {{ .Values.readiness.path }}
port: {{ .Values.service.internalPort }}
- initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
successThreshold: {{ .Values.readiness.successThreshold }}
httpGet:
path: {{ .Values.startup.path }}
port: {{ .Values.service.internalPort }}
- initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }}
periodSeconds: {{ .Values.startup.periodSeconds }}
timeoutSeconds: {{ .Values.startup.timeoutSeconds }}
successThreshold: {{ .Values.startup.successThreshold }}
# probe configuration parameters
liveness:
path: /sdc2/rest/healthCheck
- initialDelaySeconds: 1
periodSeconds: 10
- timeoutSeconds: 180
+ timeoutSeconds: 15
successThreshold: 1
failureThreshold: 3
# necessary to disable liveness probe when setting breakpoints
readiness:
path: /sdc2/rest/healthCheck
- initialDelaySeconds: 1
periodSeconds: 10
- timeoutSeconds: 180
+ timeoutSeconds: 15
successThreshold: 1
failureThreshold: 3
startup:
path: /sdc2/rest/healthCheck
- initialDelaySeconds: 10
- periodSeconds: 10
- timeoutSeconds: 180
+ periodSeconds: 5
+ timeoutSeconds: 15
successThreshold: 1
- failureThreshold: 60
+ failureThreshold: 120
service:
type: NodePort
- read
readinessCheck:
- wait_for_service:
- name: "services"
- services:
- - sdc-onboarding-be
job_wait_for:
timeout: 25
services:
truststorePassword: ""
autoscaling:
- enabled: true
+ enabled: false
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 75
command:
- /bin/sh
- /opt/scripts/combined-liveness.sh
- initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
successThreshold: {{ .Values.liveness.successThreshold }}
command:
- /bin/sh
- /opt/scripts/combined-liveness.sh
- initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
successThreshold: {{ .Values.readiness.successThreshold }}
startupProbe:
tcpSocket:
port: {{ .Values.service.internalPort }}
- initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }}
periodSeconds: {{ .Values.startup.periodSeconds }}
timeoutSeconds: {{ .Values.startup.timeoutSeconds }}
successThreshold: {{ .Values.startup.successThreshold }}
# probe configuration parameters
liveness:
- initialDelaySeconds: 1
periodSeconds: 10
timeoutSeconds: 30
successThreshold: 1
enabled: true
readiness:
- initialDelaySeconds: 1
periodSeconds: 10
timeoutSeconds: 30
successThreshold: 1
failureThreshold: 3
startup:
- initialDelaySeconds: 10
- periodSeconds: 10
+ periodSeconds: 5
timeoutSeconds: 15
successThreshold: 1
- failureThreshold: 60
+ failureThreshold: 120
service:
type: NodePort
readinessCheck:
wait_for:
- jobs:
- - '{{ include "common.release" . }}-sdc-be'
+ services:
+ - sdc-be
#Log configuration
log:
httpGet:
path: {{ .Values.liveness.path }}
port: {{ .Values.service.internalPort }}
- initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
successThreshold: {{ .Values.liveness.successThreshold }}
httpGet:
path: {{ .Values.readiness.path }}
port: {{ .Values.service.internalPort }}
- initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
successThreshold: {{ .Values.readiness.successThreshold }}
httpGet:
path: {{ .Values.startup.path }}
port: {{ .Values.service.internalPort }}
- initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }}
periodSeconds: {{ .Values.startup.periodSeconds }}
timeoutSeconds: {{ .Values.startup.timeoutSeconds }}
successThreshold: {{ .Values.startup.successThreshold }}
httpGet:
path: /healthz
port: {{ .Values.service.jobPort }}
- initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
successThreshold: {{ .Values.liveness.successThreshold }}
httpGet:
path: /healthz
port: {{ .Values.service.jobPort }}
- initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
successThreshold: {{ .Values.readiness.successThreshold }}
# probe configuration parameters
liveness:
path: /onboarding-api/v1.0/healthcheck
- initialDelaySeconds: 1
periodSeconds: 10
timeoutSeconds: 15
successThreshold: 1
readiness:
path: /onboarding-api/v1.0/healthcheck
- initialDelaySeconds: 1
periodSeconds: 10
timeoutSeconds: 15
successThreshold: 1
startup:
path: /onboarding-api/v1.0/healthcheck
- initialDelaySeconds: 10
- periodSeconds: 10
+ periodSeconds: 5
timeoutSeconds: 15
successThreshold: 1
- failureThreshold: 60
+ failureThreshold: 120
service:
type: ClusterIP