Skip to content

Commit

Permalink
Merge pull request #44 from stackhpc/fix/remove-liveness-probe
Browse files Browse the repository at this point in the history
Remove liveness and startup probes
  • Loading branch information
mkjpryor authored Jun 30, 2024
2 parents 1ab25c1 + d8cea1d commit 995bf8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions charts/operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ spec:
- name: metrics
containerPort: 8080
protocol: TCP
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
startupProbe:
{{- toYaml .Values.startupProbe | nindent 12 }}
resources: {{ toYaml .Values.resources | nindent 12 }}
volumeMounts:
- name: tmp
Expand Down
16 changes: 0 additions & 16 deletions charts/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,6 @@ image:

imagePullSecrets: []

# Liveness probe for the operator
livenessProbe:
httpGet:
path: /healthz
port: 8000
periodSeconds: 10
failureThreshold: 1

# Liveness probe for the operator
startupProbe:
httpGet:
path: /healthz
port: 8000
periodSeconds: 10
failureThreshold: 3

# Pod-level security context
podSecurityContext:
runAsNonRoot: true
Expand Down

0 comments on commit 995bf8a

Please sign in to comment.