Skip to content

Commit

Permalink
feat(probes): add support for config probes
Browse files Browse the repository at this point in the history
  • Loading branch information
Umaaz committed May 1, 2024
1 parent 9ee5171 commit 93fb6d7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/mimir-singleton/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 2 additions & 6 deletions charts/mimir-singleton/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,9 @@ spec:
containerPort: {{ include "mimir-singleton.serverGrpcListenPort" . }}
protocol: TCP
livenessProbe:
httpGet:
path: /ready
port: http
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
httpGet:
path: /ready
port: http
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.securityContext }}
Expand Down
10 changes: 10 additions & 0 deletions charts/mimir-singleton/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ resources: {}
# cpu: 100m
# memory: 128Mi

readinessProbe:
httpGet:
path: /ready
port: http

livenessProbe:
httpGet:
path: /ready
port: http

autoscaling:
enabled: false
minReplicas: 1
Expand Down

0 comments on commit 93fb6d7

Please sign in to comment.