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
parent
ca02dfec62
commit
54e7a25f93
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue