diff --git a/charts/flyte-core/README.md b/charts/flyte-core/README.md index 96ad8bd23c..5b74a809bf 100644 --- a/charts/flyte-core/README.md +++ b/charts/flyte-core/README.md @@ -221,12 +221,12 @@ helm install gateway bitnami/contour -n flyte | flyteadmin.image.repository | string | `"cr.flyte.org/flyteorg/flyteadmin"` | Docker image for Flyteadmin deployment | | flyteadmin.image.tag | string | `"v1.16.0"` | | | flyteadmin.initialProjects | list | `["flytesnacks","flytetester","flyteexamples"]` | Initial projects to create | -| flyteadmin.livenessProbe | string | `"exec:\n command: [ \"sh\", \"-c\", \"reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \\\"$reply\\\" -lt 200 -o \\\"$reply\\\" -ge 400 ]; then exit 1; fi;\",\"grpc_health_probe\", \"-addr=:8089\"]\ninitialDelaySeconds: 20\nperiodSeconds: 5"` | | +| flyteadmin.livenessProbe | string | `"grpc: \n port: {{ .Values.configmap.adminServer.server.grpc.port }}\ninitialDelaySeconds: 20\nperiodSeconds: 5"` | | | flyteadmin.nodeSelector | object | `{}` | nodeSelector for Flyteadmin deployment | | flyteadmin.podAnnotations | object | `{}` | Annotations for Flyteadmin pods | | flyteadmin.podLabels | object | `{}` | Labels for Flyteadmin pods | | flyteadmin.priorityClassName | string | `""` | Sets priorityClassName for flyteadmin pod(s). | -| flyteadmin.readinessProbe | string | `"exec:\n command: [ \"sh\", \"-c\", \"reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \\\"$reply\\\" -lt 200 -o \\\"$reply\\\" -ge 400 ]; then exit 1; fi;\",\"grpc_health_probe\", \"-addr=:8089\"]\ninitialDelaySeconds: 15"` | Default readinessProbe and livenessProbe for Flyteadmin deployment | +| flyteadmin.readinessProbe | string | `"grpc: \n port: {{ .Values.configmap.adminServer.server.grpc.port }}\ninitialDelaySeconds: 15"` | Default readinessProbe and livenessProbe for Flyteadmin deployment | | flyteadmin.replicaCount | int | `1` | Replicas count for Flyteadmin deployment | | flyteadmin.resources | object | `{"limits":{"cpu":"250m","ephemeral-storage":"100Mi","memory":"500Mi"},"requests":{"cpu":"10m","ephemeral-storage":"50Mi","memory":"50Mi"}}` | Default resources requests and limits for Flyteadmin deployment | | flyteadmin.secrets | object | `{}` | | diff --git a/charts/flyte-core/templates/admin/deployment.yaml b/charts/flyte-core/templates/admin/deployment.yaml index a765b52290..98e106c1bf 100755 --- a/charts/flyte-core/templates/admin/deployment.yaml +++ b/charts/flyte-core/templates/admin/deployment.yaml @@ -173,11 +173,11 @@ spec: - containerPort: {{ .Values.configmap.adminServer.flyteadmin.profilerPort }} readinessProbe: {{- with .Values.flyteadmin.readinessProbe -}} - {{- . | nindent 10 }} + {{- tpl . $ | nindent 10 }} {{- end }} livenessProbe: {{- with .Values.flyteadmin.livenessProbe -}} - {{- . | nindent 10 }} + {{- tpl . $ | nindent 10 }} {{- end }} resources: {{- toYaml .Values.flyteadmin.resources | nindent 10 }} securityContext: diff --git a/charts/flyte-core/values.yaml b/charts/flyte-core/values.yaml index d310e1b631..8ddc0dc2b9 100755 --- a/charts/flyte-core/values.yaml +++ b/charts/flyte-core/values.yaml @@ -35,12 +35,12 @@ flyteadmin: envFrom: [] # -- Default readinessProbe and livenessProbe for Flyteadmin deployment readinessProbe: |- - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: {{ .Values.configmap.adminServer.server.grpc.port }} initialDelaySeconds: 15 livenessProbe: |- - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: {{ .Values.configmap.adminServer.server.grpc.port }} initialDelaySeconds: 20 periodSeconds: 5 # -- Default resources requests and limits for Flyteadmin deployment diff --git a/deployment/eks/flyte_aws_scheduler_helm_generated.yaml b/deployment/eks/flyte_aws_scheduler_helm_generated.yaml index c2ef7153a3..1d80d0bfea 100644 --- a/deployment/eks/flyte_aws_scheduler_helm_generated.yaml +++ b/deployment/eks/flyte_aws_scheduler_helm_generated.yaml @@ -998,12 +998,12 @@ spec: - containerPort: 8089 - containerPort: 10254 readinessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 15 livenessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 20 periodSeconds: 5 resources: diff --git a/deployment/eks/flyte_helm_controlplane_generated.yaml b/deployment/eks/flyte_helm_controlplane_generated.yaml index dea39b2f76..41e20e2fb0 100644 --- a/deployment/eks/flyte_helm_controlplane_generated.yaml +++ b/deployment/eks/flyte_helm_controlplane_generated.yaml @@ -695,12 +695,12 @@ spec: - containerPort: 8089 - containerPort: 10254 readinessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 15 livenessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 20 periodSeconds: 5 resources: diff --git a/deployment/eks/flyte_helm_generated.yaml b/deployment/eks/flyte_helm_generated.yaml index 01ff6447ee..8c50eb4f12 100644 --- a/deployment/eks/flyte_helm_generated.yaml +++ b/deployment/eks/flyte_helm_generated.yaml @@ -1029,12 +1029,12 @@ spec: - containerPort: 8089 - containerPort: 10254 readinessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 15 livenessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 20 periodSeconds: 5 resources: diff --git a/deployment/gcp/flyte_helm_controlplane_generated.yaml b/deployment/gcp/flyte_helm_controlplane_generated.yaml index e65deb9584..e5831602e5 100644 --- a/deployment/gcp/flyte_helm_controlplane_generated.yaml +++ b/deployment/gcp/flyte_helm_controlplane_generated.yaml @@ -712,12 +712,12 @@ spec: - containerPort: 8089 - containerPort: 10254 readinessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 15 livenessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 20 periodSeconds: 5 resources: diff --git a/deployment/gcp/flyte_helm_generated.yaml b/deployment/gcp/flyte_helm_generated.yaml index c9551f530b..7fc965d828 100644 --- a/deployment/gcp/flyte_helm_generated.yaml +++ b/deployment/gcp/flyte_helm_generated.yaml @@ -1054,12 +1054,12 @@ spec: - containerPort: 8089 - containerPort: 10254 readinessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 15 livenessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 20 periodSeconds: 5 resources: diff --git a/deployment/sandbox/flyte_helm_generated.yaml b/deployment/sandbox/flyte_helm_generated.yaml index 1d5fa817de..ac9c4b9938 100644 --- a/deployment/sandbox/flyte_helm_generated.yaml +++ b/deployment/sandbox/flyte_helm_generated.yaml @@ -6839,12 +6839,12 @@ spec: - containerPort: 8089 - containerPort: 10254 readinessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 15 livenessProbe: - exec: - command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;","grpc_health_probe", "-addr=:8089"] + grpc: + port: 8089 initialDelaySeconds: 20 periodSeconds: 5 resources: diff --git a/docker/sandbox-bundled/manifests/complete-connector.yaml b/docker/sandbox-bundled/manifests/complete-connector.yaml index 98f1dc929e..1dceb74381 100644 --- a/docker/sandbox-bundled/manifests/complete-connector.yaml +++ b/docker/sandbox-bundled/manifests/complete-connector.yaml @@ -822,7 +822,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: QUVqQmx5bGJySWhjSjF0bw== + haSharedSecret: Q2l2cVpqZkRVSEdraWxncw== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1419,7 +1419,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 798c87369386469c6c2311656622a0eb1482625653ad1de361695e01151c57fd + checksum/secret: 9094d1aeff0d8143702cf7880081edf71eec7763e6fb450fa8e9021db1e4dd7f labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/complete.yaml b/docker/sandbox-bundled/manifests/complete.yaml index f7d166884c..bd238f7926 100644 --- a/docker/sandbox-bundled/manifests/complete.yaml +++ b/docker/sandbox-bundled/manifests/complete.yaml @@ -803,7 +803,7 @@ type: Opaque --- apiVersion: v1 data: - haSharedSecret: a1doU0xtWUlud0xsSTM5VQ== + haSharedSecret: T1RwaUZlZEV1aG9DQjloZQ== proxyPassword: "" proxyUsername: "" kind: Secret @@ -1367,7 +1367,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 855c4f6fc84fb7a055427bcd712eac03e376383ba1d04ac1ab74bab9c5117879 + checksum/secret: 94bd2400673ce3c94eee615da93ff4dcbc32f28bd03aab063dc613a3d98bae88 labels: app: docker-registry release: flyte-sandbox diff --git a/docker/sandbox-bundled/manifests/dev.yaml b/docker/sandbox-bundled/manifests/dev.yaml index a2c18f3b92..69e9485080 100644 --- a/docker/sandbox-bundled/manifests/dev.yaml +++ b/docker/sandbox-bundled/manifests/dev.yaml @@ -499,7 +499,7 @@ metadata: --- apiVersion: v1 data: - haSharedSecret: ajRmNnZOcWZQTHlGa2c1eQ== + haSharedSecret: MG1VbHM5bVNIOVdEZnU5Uw== proxyPassword: "" proxyUsername: "" kind: Secret @@ -934,7 +934,7 @@ spec: metadata: annotations: checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81 - checksum/secret: 907c158b3cdfe55efc0894dbd4ba0762233336309d2584d3bd1167ca43564419 + checksum/secret: 7e5bbc472fd9508013f3525a6093c4a1d17f293b40bef0be282eff55c42bf024 labels: app: docker-registry release: flyte-sandbox