Skip to content

Commit

Permalink
feat(helm): add readiness probe for memcached
Browse files Browse the repository at this point in the history
  • Loading branch information
LukoJy3D committed Jan 6, 2025
1 parent 3b8d993 commit 06c7a8c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ spec:
{{- end }}
securityContext:
{{- toYaml $.ctx.Values.memcached.containerSecurityContext | nindent 12 }}
readinessProbe:
{{- toYaml $.ctx.Values.memcached.readinessProbe | nindent 12 }}
{{- if or .persistence.enabled .extraVolumeMounts }}
volumeMounts:
{{- if .persistence.enabled }}
Expand Down
8 changes: 8 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3032,6 +3032,14 @@ memcached:
fsGroup: 11211
# -- The name of the PriorityClass for memcached pods
priorityClassName: null
# -- Readiness probe
readinessProbe:
tcpSocket:
port: 11211
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 6
# -- The SecurityContext for memcached containers
containerSecurityContext:
readOnlyRootFilesystem: true
Expand Down

0 comments on commit 06c7a8c

Please sign in to comment.