Skip to content

Commit

Permalink
fixes deployment template readiness and liveness probes with correct …
Browse files Browse the repository at this point in the history
…port

Signed-off-by: Guy Arad <[email protected]>
  • Loading branch information
guyarad committed Oct 31, 2023
1 parent 0bbedeb commit d08a4c2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
6 changes: 4 additions & 2 deletions charts/flyte-binary/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,17 @@ spec:
{{- else }}
httpGet:
path: /healthcheck
port: http
port: 8088
initialDelaySeconds: 60
{{- end }}
readinessProbe:
{{- if .Values.deployment.readinessProbe }}
{{- tpl ( .Values.deployment.readinessProbe | toYaml ) . | nindent 12 }}
{{- else }}
httpGet:
path: /healthcheck
port: http
port: 8088
initialDelaySeconds: 60
{{- end }}
{{- if .Values.deployment.resources }}
resources: {{- toYaml .Values.deployment.resources | nindent 12 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,13 @@ spec:
livenessProbe:
httpGet:
path: /healthcheck
port: http
port: 8088
initialDelaySeconds: 60
readinessProbe:
httpGet:
path: /healthcheck
port: http
port: 8088
initialDelaySeconds: 60
volumeMounts:
- name: cluster-resource-templates
mountPath: /etc/flyte/cluster-resource-templates
Expand Down
7 changes: 6 additions & 1 deletion script/generate_helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ set -ex

echo "Generating Helm"

curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
HELM_SKIP_INSTALL=${HELM_SKIP_INSTALL:-false}

if [ "${HELM_SKIP_INSTALL}" != "true" ]; then
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
fi

helm version

# All the values files to be built
DEPLOYMENT_CORE=${1:-eks gcp}

Expand Down

0 comments on commit d08a4c2

Please sign in to comment.