1
0
Fork 0

v-m: vmstorage: Remove startup/ready probes

Kubernetes will not start additional Pods in a StatefulSet until the
existing ones are Ready.  This means that if there is a problem bringing
up, e.g. `vmstorage-0`, it will never start `vmstorage-1` or
`vmstorage-2`.  Since this pretty much defeats the purpose of having a
multi-node `vmstorage` cluster, we have to remove the readiness probe,
so the Pods will be Ready as soon as they start.  If there is a problem
with one of them, it will matter less, as the others can still run.
dch-webhooks-secrets
Dustin 2024-01-22 16:43:46 -06:00
parent ca02dfec62
commit 54e7a25f93
1 changed files with 0 additions and 11 deletions

View File

@ -50,17 +50,6 @@ spec:
name: vmselect name: vmselect
- containerPort: 8482 - containerPort: 8482
name: http name: http
readinessProbe: &probe
httpGet:
port: http
path: /health
periodSeconds: 60
startupProbe:
<<: *probe
periodSeconds: 1
successThreshold: 1
failureThreshold: 30
timeoutSeconds: 1
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
readOnlyRootFilesystem: true readOnlyRootFilesystem: true