Skip to content

Commit 49d13e8

Browse files
Merge pull request #1732 from liouk/OCPBUGS-41778
OCPBUGS-41778: increase kube-apiserver failureThreshold
2 parents c731008 + 13faa5f commit 49d13e8

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

bindata/assets/kube-apiserver/pod.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ spec:
102102
httpGet:
103103
scheme: HTTPS
104104
port: 6443
105-
path: livez
105+
path: livez?exclude=etcd
106106
initialDelaySeconds: 0
107107
periodSeconds: 10
108108
timeoutSeconds: 10
@@ -117,12 +117,12 @@ spec:
117117
periodSeconds: 5
118118
timeoutSeconds: 10
119119
successThreshold: 1
120-
failureThreshold: 1
120+
failureThreshold: 3
121121
startupProbe:
122122
httpGet:
123123
scheme: HTTPS
124124
port: 6443
125-
path: healthz
125+
path: livez
126126
initialDelaySeconds: 0
127127
periodSeconds: 5
128128
timeoutSeconds: 10

bindata/bootkube/bootstrap-manifests/kube-apiserver-pod.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,32 @@ spec:
7171
httpGet:
7272
scheme: HTTPS
7373
port: 6443
74-
path: livez
75-
initialDelaySeconds: 45
74+
path: livez?exclude=etcd
75+
initialDelaySeconds: 0
76+
periodSeconds: 10
7677
timeoutSeconds: 10
78+
successThreshold: 1
79+
failureThreshold: 3
7780
readinessProbe:
7881
httpGet:
7982
scheme: HTTPS
8083
port: 6443
8184
path: readyz
82-
initialDelaySeconds: 10
85+
initialDelaySeconds: 0
86+
periodSeconds: 5
87+
timeoutSeconds: 10
88+
successThreshold: 1
89+
failureThreshold: 3
90+
startupProbe:
91+
httpGet:
92+
scheme: HTTPS
93+
port: 6443
94+
path: livez
95+
initialDelaySeconds: 0
96+
periodSeconds: 5
8397
timeoutSeconds: 10
98+
successThreshold: 1
99+
failureThreshold: 30
84100
env:
85101
- name: HOST_IP
86102
valueFrom:

0 commit comments

Comments
 (0)