1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

make livenessprobe consistent across manifests; make helm chart configurable via values.yaml

This commit is contained in:
Amir Alavi
2022-01-12 11:40:57 -05:00
parent 551eced42a
commit f50a3fa119
5 changed files with 14 additions and 9 deletions

View File

@@ -68,6 +68,8 @@ spec:
- {{ $value | quote }}
{{- end }}
{{- end }}
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 16 }}
resources:
{{- toYaml .Values.resources | nindent 16 }}
securityContext:

View File

@@ -48,13 +48,7 @@ spec:
- containerPort: 10258
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 10258
scheme: HTTPS
initialDelaySeconds: 3
periodSeconds: 3
{{- toYaml .Values.livenessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:

View File

@@ -94,3 +94,12 @@ serviceAccount:
# The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
name:
livenessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: 10258
scheme: HTTPS
initialDelaySeconds: 3
periodSeconds: 10

View File

@@ -40,7 +40,7 @@ spec:
port: 10258
scheme: HTTPS
initialDelaySeconds: 3
periodSeconds: 3
periodSeconds: 10
resources:
requests:
cpu: 500m

View File

@@ -36,7 +36,7 @@ spec:
port: 10258
scheme: HTTPS
initialDelaySeconds: 3
periodSeconds: 3
periodSeconds: 10
securityContext:
allowPrivilegeEscalation: false
capabilities: