longhorn generous readiness probe 5s timeout
This commit is contained in:
@@ -24,6 +24,28 @@ spec:
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 3
|
||||
postRenderers:
|
||||
- kustomize:
|
||||
patches:
|
||||
- target:
|
||||
kind: DaemonSet
|
||||
name: longhorn-manager
|
||||
# chart hardcodes readinessProbe without timeoutSeconds, so it falls back to the
|
||||
# k8s default of 1s; under CPU contention (e.g. busy nodes) that's too tight and
|
||||
# causes spurious "Readiness probe failed ... Client.Timeout exceeded" flapping
|
||||
patch: |
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: longhorn-manager
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: longhorn-manager
|
||||
readinessProbe:
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 5
|
||||
values:
|
||||
defaultSettings:
|
||||
defaultReplicaCount: 3 # по числу нод control-plane
|
||||
|
||||
Reference in New Issue
Block a user