Skip to content

Commit

Permalink
Add readiness probe for gardener-apiserver
Browse files Browse the repository at this point in the history
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>

```improvement operator
`gardener-apiserver` Deployment does now define a readiness probe.
```
  • Loading branch information
ialidzhikov authored and rfranzke committed Aug 20, 2020
1 parent 23cb76a commit f3193b7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ spec:
successThreshold: {{ .Values.global.apiserver.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.global.apiserver.livenessProbe.failureThreshold }}
timeoutSeconds: {{ .Values.global.apiserver.livenessProbe.timeoutSeconds }}
readinessProbe:
httpGet:
scheme: HTTPS
path: /readyz
port: 443
initialDelaySeconds: {{ .Values.global.apiserver.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.global.apiserver.readinessProbe.periodSeconds }}
successThreshold: {{ .Values.global.apiserver.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.global.apiserver.readinessProbe.failureThreshold }}
timeoutSeconds: {{ .Values.global.apiserver.readinessProbe.timeoutSeconds }}
{{- if .Values.global.apiserver.resources }}
resources:
{{ toYaml .Values.global.apiserver.resources | indent 10 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/gardener/controlplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ global:
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 15
readinessProbe:
initialDelaySeconds: 15
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
timeoutSeconds: 15
resources:
requests:
cpu: 100m
Expand Down

0 comments on commit f3193b7

Please sign in to comment.