File tree 14 files changed +196
-0
lines changed
master/getting-started/kubernetes/installation/hosted
v2.4/getting-started/kubernetes/installation/hosted
14 files changed +196
-0
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,25 @@ spec:
162
162
# Auto-detect the BGP IP address.
163
163
- name : IP
164
164
value : " "
165
+ - name : FELIX_HEALTHENABLED
166
+ value : " true"
165
167
securityContext :
166
168
privileged : true
167
169
resources :
168
170
requests :
169
171
cpu : 250m
172
+ livenessProbe :
173
+ httpGet :
174
+ path : /liveness
175
+ port : 9099
176
+ periodSeconds : 10
177
+ initialDelaySeconds : 10
178
+ failureThreshold : 6
179
+ readinessProbe :
180
+ httpGet :
181
+ path : /readiness
182
+ port : 9099
183
+ periodSeconds : 10
170
184
volumeMounts :
171
185
- mountPath : /lib/modules
172
186
name : lib-modules
Original file line number Diff line number Diff line change @@ -182,11 +182,25 @@ spec:
182
182
# Auto-detect the BGP IP address.
183
183
- name : IP
184
184
value : " "
185
+ - name : FELIX_HEALTHENABLED
186
+ value : " true"
185
187
securityContext :
186
188
privileged : true
187
189
resources :
188
190
requests :
189
191
cpu : 250m
192
+ livenessProbe :
193
+ httpGet :
194
+ path : /liveness
195
+ port : 9099
196
+ periodSeconds : 10
197
+ initialDelaySeconds : 10
198
+ failureThreshold : 6
199
+ readinessProbe :
200
+ httpGet :
201
+ path : /readiness
202
+ port : 9099
203
+ periodSeconds : 10
190
204
volumeMounts :
191
205
- mountPath : /lib/modules
192
206
name : lib-modules
Original file line number Diff line number Diff line change @@ -197,11 +197,25 @@ spec:
197
197
# Auto-detect the BGP IP address.
198
198
- name : IP
199
199
value : " "
200
+ - name : FELIX_HEALTHENABLED
201
+ value : " true"
200
202
securityContext :
201
203
privileged : true
202
204
resources :
203
205
requests :
204
206
cpu : 250m
207
+ livenessProbe :
208
+ httpGet :
209
+ path : /liveness
210
+ port : 9099
211
+ periodSeconds : 10
212
+ initialDelaySeconds : 10
213
+ failureThreshold : 6
214
+ readinessProbe :
215
+ httpGet :
216
+ path : /readiness
217
+ port : 9099
218
+ periodSeconds : 10
205
219
volumeMounts :
206
220
- mountPath : /lib/modules
207
221
name : lib-modules
Original file line number Diff line number Diff line change @@ -113,11 +113,25 @@ spec:
113
113
# No IP address needed.
114
114
- name : IP
115
115
value : " "
116
+ - name : FELIX_HEALTHENABLED
117
+ value : " true"
116
118
securityContext :
117
119
privileged : true
118
120
resources :
119
121
requests :
120
122
cpu : 250m
123
+ livenessProbe :
124
+ httpGet :
125
+ path : /liveness
126
+ port : 9099
127
+ periodSeconds : 10
128
+ initialDelaySeconds : 10
129
+ failureThreshold : 6
130
+ readinessProbe :
131
+ httpGet :
132
+ path : /readiness
133
+ port : 9099
134
+ periodSeconds : 10
121
135
volumeMounts :
122
136
- mountPath : /lib/modules
123
137
name : lib-modules
Original file line number Diff line number Diff line change @@ -123,11 +123,25 @@ spec:
123
123
# No IP address needed.
124
124
- name : IP
125
125
value : " "
126
+ - name : FELIX_HEALTHENABLED
127
+ value : " true"
126
128
securityContext :
127
129
privileged : true
128
130
resources :
129
131
requests :
130
132
cpu : 250m
133
+ livenessProbe :
134
+ httpGet :
135
+ path : /liveness
136
+ port : 9099
137
+ periodSeconds : 10
138
+ initialDelaySeconds : 10
139
+ failureThreshold : 6
140
+ readinessProbe :
141
+ httpGet :
142
+ path : /readiness
143
+ port : 9099
144
+ periodSeconds : 10
131
145
volumeMounts :
132
146
- mountPath : /lib/modules
133
147
name : lib-modules
Original file line number Diff line number Diff line change @@ -110,11 +110,25 @@ spec:
110
110
# No IP address needed.
111
111
- name : IP
112
112
value : " "
113
+ - name : FELIX_HEALTHENABLED
114
+ value : " true"
113
115
securityContext :
114
116
privileged : true
115
117
resources :
116
118
requests :
117
119
cpu : 250m
120
+ livenessProbe :
121
+ httpGet :
122
+ path : /liveness
123
+ port : 9099
124
+ periodSeconds : 10
125
+ initialDelaySeconds : 10
126
+ failureThreshold : 6
127
+ readinessProbe :
128
+ httpGet :
129
+ path : /readiness
130
+ port : 9099
131
+ periodSeconds : 10
118
132
volumeMounts :
119
133
- mountPath : /lib/modules
120
134
name : lib-modules
Original file line number Diff line number Diff line change @@ -120,11 +120,25 @@ spec:
120
120
# No IP address needed.
121
121
- name : IP
122
122
value : " "
123
+ - name : FELIX_HEALTHENABLED
124
+ value : " true"
123
125
securityContext :
124
126
privileged : true
125
127
resources :
126
128
requests :
127
129
cpu : 250m
130
+ livenessProbe :
131
+ httpGet :
132
+ path : /liveness
133
+ port : 9099
134
+ periodSeconds : 10
135
+ initialDelaySeconds : 10
136
+ failureThreshold : 6
137
+ readinessProbe :
138
+ httpGet :
139
+ path : /readiness
140
+ port : 9099
141
+ periodSeconds : 10
128
142
volumeMounts :
129
143
- mountPath : /lib/modules
130
144
name : lib-modules
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ spec:
141
141
# Set MTU for tunnel device used if ipip is enabled
142
142
- name : FELIX_IPINIPMTU
143
143
value : " 1440"
144
+ - name : FELIX_HEALTHENABLED
145
+ value : " true"
144
146
# Location of the CA certificate for etcd.
145
147
- name : ETCD_CA_CERT_FILE
146
148
valueFrom :
@@ -167,6 +169,18 @@ spec:
167
169
resources :
168
170
requests :
169
171
cpu : 250m
172
+ livenessProbe :
173
+ httpGet :
174
+ path : /liveness
175
+ port : 9099
176
+ periodSeconds : 10
177
+ initialDelaySeconds : 10
178
+ failureThreshold : 6
179
+ readinessProbe :
180
+ httpGet :
181
+ path : /readiness
182
+ port : 9099
183
+ periodSeconds : 10
170
184
volumeMounts :
171
185
- mountPath : /lib/modules
172
186
name : lib-modules
Original file line number Diff line number Diff line change @@ -179,6 +179,8 @@ spec:
179
179
# Set Felix logging to "info"
180
180
- name : FELIX_LOGSEVERITYSCREEN
181
181
value : " info"
182
+ - name : FELIX_HEALTHENABLED
183
+ value : " true"
182
184
# Auto-detect the BGP IP address.
183
185
- name : IP
184
186
value : " "
@@ -187,6 +189,18 @@ spec:
187
189
resources :
188
190
requests :
189
191
cpu : 250m
192
+ livenessProbe :
193
+ httpGet :
194
+ path : /liveness
195
+ port : 9099
196
+ periodSeconds : 10
197
+ initialDelaySeconds : 10
198
+ failureThreshold : 6
199
+ readinessProbe :
200
+ httpGet :
201
+ path : /readiness
202
+ port : 9099
203
+ periodSeconds : 10
190
204
volumeMounts :
191
205
- mountPath : /lib/modules
192
206
name : lib-modules
Original file line number Diff line number Diff line change @@ -194,6 +194,8 @@ spec:
194
194
# Set Felix logging to "info"
195
195
- name : FELIX_LOGSEVERITYSCREEN
196
196
value : " info"
197
+ - name : FELIX_HEALTHENABLED
198
+ value : " true"
197
199
# Auto-detect the BGP IP address.
198
200
- name : IP
199
201
value : " "
@@ -202,6 +204,18 @@ spec:
202
204
resources :
203
205
requests :
204
206
cpu : 250m
207
+ livenessProbe :
208
+ httpGet :
209
+ path : /liveness
210
+ port : 9099
211
+ periodSeconds : 10
212
+ initialDelaySeconds : 10
213
+ failureThreshold : 6
214
+ readinessProbe :
215
+ httpGet :
216
+ path : /readiness
217
+ port : 9099
218
+ periodSeconds : 10
205
219
volumeMounts :
206
220
- mountPath : /lib/modules
207
221
name : lib-modules
Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ spec:
105
105
# Enable IP-in-IP within Felix.
106
106
- name : FELIX_IPINIPENABLED
107
107
value : " true"
108
+ - name : FELIX_HEALTHENABLED
109
+ value : " true"
108
110
# Set based on the k8s node name.
109
111
- name : NODENAME
110
112
valueFrom :
@@ -118,6 +120,18 @@ spec:
118
120
resources :
119
121
requests :
120
122
cpu : 250m
123
+ livenessProbe :
124
+ httpGet :
125
+ path : /liveness
126
+ port : 9099
127
+ periodSeconds : 10
128
+ initialDelaySeconds : 10
129
+ failureThreshold : 6
130
+ readinessProbe :
131
+ httpGet :
132
+ path : /readiness
133
+ port : 9099
134
+ periodSeconds : 10
121
135
volumeMounts :
122
136
- mountPath : /lib/modules
123
137
name : lib-modules
Original file line number Diff line number Diff line change @@ -115,6 +115,8 @@ spec:
115
115
# Enable IP-in-IP within Felix.
116
116
- name : FELIX_IPINIPENABLED
117
117
value : " true"
118
+ - name : FELIX_HEALTHENABLED
119
+ value : " true"
118
120
# Set based on the k8s node name.
119
121
- name : NODENAME
120
122
valueFrom :
@@ -128,6 +130,18 @@ spec:
128
130
resources :
129
131
requests :
130
132
cpu : 250m
133
+ livenessProbe :
134
+ httpGet :
135
+ path : /liveness
136
+ port : 9099
137
+ periodSeconds : 10
138
+ initialDelaySeconds : 10
139
+ failureThreshold : 6
140
+ readinessProbe :
141
+ httpGet :
142
+ path : /readiness
143
+ port : 9099
144
+ periodSeconds : 10
131
145
volumeMounts :
132
146
- mountPath : /lib/modules
133
147
name : lib-modules
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ spec:
102
102
# Enable IPIP
103
103
- name : CALICO_IPV4POOL_IPIP
104
104
value : " always"
105
+ - name : FELIX_HEALTHENABLED
106
+ value : " true"
105
107
# Set based on the k8s node name.
106
108
- name : NODENAME
107
109
valueFrom :
@@ -115,6 +117,18 @@ spec:
115
117
resources :
116
118
requests :
117
119
cpu : 250m
120
+ livenessProbe :
121
+ httpGet :
122
+ path : /liveness
123
+ port : 9099
124
+ periodSeconds : 10
125
+ initialDelaySeconds : 10
126
+ failureThreshold : 6
127
+ readinessProbe :
128
+ httpGet :
129
+ path : /readiness
130
+ port : 9099
131
+ periodSeconds : 10
118
132
volumeMounts :
119
133
- mountPath : /lib/modules
120
134
name : lib-modules
Original file line number Diff line number Diff line change @@ -112,6 +112,8 @@ spec:
112
112
# Enable IPIP
113
113
- name : CALICO_IPV4POOL_IPIP
114
114
value : " always"
115
+ - name : FELIX_HEALTHENABLED
116
+ value : " true"
115
117
# Set based on the k8s node name.
116
118
- name : NODENAME
117
119
valueFrom :
@@ -125,6 +127,18 @@ spec:
125
127
resources :
126
128
requests :
127
129
cpu : 250m
130
+ livenessProbe :
131
+ httpGet :
132
+ path : /liveness
133
+ port : 9099
134
+ periodSeconds : 10
135
+ initialDelaySeconds : 10
136
+ failureThreshold : 6
137
+ readinessProbe :
138
+ httpGet :
139
+ path : /readiness
140
+ port : 9099
141
+ periodSeconds : 10
128
142
volumeMounts :
129
143
- mountPath : /lib/modules
130
144
name : lib-modules
You can’t perform that action at this time.
0 commit comments