Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tune sandbox readiness checks to ensure that sandbox is fully accessi… #4348

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/flyte-binary/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ spec:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 30
{{- end }}
readinessProbe:
{{- if .Values.deployment.readinessProbe }}
Expand Down
7 changes: 7 additions & 0 deletions charts/flyte-sandbox/templates/proxy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ spec:
volumeMounts:
- name: config
mountPath: /etc/envoy
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 30
readinessProbe:
tcpSocket:
port: http
volumes:
- name: config
configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ spec:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 30
readinessProbe:
httpGet:
path: /healthcheck
Expand Down
14 changes: 11 additions & 3 deletions docker/sandbox-bundled/manifests/complete-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: SWRqSVZmendLdVJvamVGRQ==
haSharedSecret: UzFydXlGcGwyM3FJYWpTdw==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1273,6 +1273,7 @@ spec:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 30
name: flyte
ports:
- containerPort: 8088
Expand Down Expand Up @@ -1409,7 +1410,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 4e6248034c039b0bc65cf110d26fccc9d88b8a2d49855a0ecba0443f972ca3c3
checksum/secret: 12acfc99559b7ddf909a9c66f3645153d66e96bc8dd1a7c1e2ff5af865d51827
labels:
app: docker-registry
release: flyte-sandbox
Expand Down Expand Up @@ -1697,10 +1698,17 @@ spec:
containers:
- image: envoyproxy/envoy:sandbox
imagePullPolicy: Never
livenessProbe:
initialDelaySeconds: 30
tcpSocket:
port: http
name: proxy
ports:
- containerPort: 8000
name: http
readinessProbe:
tcpSocket:
port: http
volumeMounts:
- mountPath: /etc/envoy
name: config
Expand Down Expand Up @@ -1744,7 +1752,7 @@ spec:
value: minio
- name: FLYTE_AWS_SECRET_ACCESS_KEY
value: miniostorage
image: ghcr.io/flyteorg/flyteagent:1.9.1
image: ghcr.io/flyteorg/flyteagent:1.10.0
imagePullPolicy: IfNotPresent
name: flyteagent
ports:
Expand Down
12 changes: 10 additions & 2 deletions docker/sandbox-bundled/manifests/complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ type: Opaque
---
apiVersion: v1
data:
haSharedSecret: UUREcXo3a1VGNnlyc1RCWg==
haSharedSecret: Y2dKT2xJeEhXaWUyZUcwMg==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -1230,6 +1230,7 @@ spec:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 30
name: flyte
ports:
- containerPort: 8088
Expand Down Expand Up @@ -1366,7 +1367,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: cfe2089fc583f69d068c3b3d56e875082a5d926c70b00b32f094d587df7396a5
checksum/secret: 9a48d62cb53f25eaefca010e49af275334df350c757deb72a31fca6dcb2cdb95
labels:
app: docker-registry
release: flyte-sandbox
Expand Down Expand Up @@ -1654,10 +1655,17 @@ spec:
containers:
- image: envoyproxy/envoy:sandbox
imagePullPolicy: Never
livenessProbe:
initialDelaySeconds: 30
tcpSocket:
port: http
name: proxy
ports:
- containerPort: 8000
name: http
readinessProbe:
tcpSocket:
port: http
volumeMounts:
- mountPath: /etc/envoy
name: config
Expand Down
11 changes: 9 additions & 2 deletions docker/sandbox-bundled/manifests/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ metadata:
---
apiVersion: v1
data:
haSharedSecret: VjRtTTRpSW94OU9rUVFZTQ==
haSharedSecret: OFd1Q2o4V28zVk1lV0lOcA==
proxyPassword: ""
proxyUsername: ""
kind: Secret
Expand Down Expand Up @@ -933,7 +933,7 @@ spec:
metadata:
annotations:
checksum/config: 8f50e768255a87f078ba8b9879a0c174c3e045ffb46ac8723d2eedbe293c8d81
checksum/secret: 8b25114d47a69e875e3841dace0b87abfda7a16f6833a5cf76b4570092f3a1cd
checksum/secret: 83de0933db4333daa08a690fbbf752532361f657be692a243b79daa7dc1fef1c
labels:
app: docker-registry
release: flyte-sandbox
Expand Down Expand Up @@ -1221,10 +1221,17 @@ spec:
containers:
- image: envoyproxy/envoy:sandbox
imagePullPolicy: Never
livenessProbe:
initialDelaySeconds: 30
tcpSocket:
port: http
name: proxy
ports:
- containerPort: 8000
name: http
readinessProbe:
tcpSocket:
port: http
volumeMounts:
- mountPath: /etc/envoy
name: config
Expand Down
Loading