-
Notifications
You must be signed in to change notification settings - Fork 16.7k
[incubator/vault] Add ability to configure liveness/readiness probe thresholds #23282
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -118,6 +118,9 @@ spec: | |||||||||||||
scheme: {{ if .Values.vault.config.listener.tcp.tls_disable -}}HTTP{{- else -}}HTTPS{{- end }} | ||||||||||||||
initialDelaySeconds: {{ .Values.vault.liveness.initialDelaySeconds }} | ||||||||||||||
periodSeconds: {{ .Values.vault.liveness.periodSeconds }} | ||||||||||||||
failureThreshold: {{ .Values.vault.liveness.failureThreshold }} | ||||||||||||||
successThreshold: {{ .Values.vault.liveness.successThreshold }} | ||||||||||||||
timeoutSeconds: {{ .Values.vault.liveness.timeoutSeconds }} | ||||||||||||||
readinessProbe: | ||||||||||||||
# Ready depends on preference | ||||||||||||||
httpGet: | ||||||||||||||
|
@@ -129,6 +132,9 @@ spec: | |||||||||||||
scheme: {{ if .Values.vault.config.listener.tcp.tls_disable -}}HTTP{{- else -}}HTTPS{{- end }} | ||||||||||||||
initialDelaySeconds: {{ .Values.vault.readiness.initialDelaySeconds }} | ||||||||||||||
periodSeconds: {{ .Values.vault.readiness.periodSeconds }} | ||||||||||||||
failureThreshold: {{ .Values.vault.readiness.failureThreshold }} | ||||||||||||||
successThreshold: {{ .Values.vault.readiness.successThreshold }} | ||||||||||||||
timeoutSeconds: {{ .Values.vault.readiness.timeoutSeconds }} | ||||||||||||||
Comment on lines
+135
to
+137
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about making these values the default unless overridden?
Suggested change
This way we only have to set these in the values.yaml when needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I realize that Same goes for the |
||||||||||||||
securityContext: | ||||||||||||||
readOnlyRootFilesystem: true | ||||||||||||||
capabilities: | ||||||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -238,16 +238,24 @@ vault: | |||||||
aliveIfSealed: true | ||||||||
initialDelaySeconds: 30 | ||||||||
periodSeconds: 10 | ||||||||
failureThreshold: 3 | ||||||||
successThreshold: 1 | ||||||||
timeoutSeconds: 1 | ||||||||
Comment on lines
+241
to
+243
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These can now be removed 🤷
Suggested change
|
||||||||
readiness: | ||||||||
readyIfSealed: false | ||||||||
readyIfStandby: true | ||||||||
readyIfUninitialized: true | ||||||||
initialDelaySeconds: 10 | ||||||||
periodSeconds: 10 | ||||||||
failureThreshold: 3 | ||||||||
successThreshold: 1 | ||||||||
timeoutSeconds: 1 | ||||||||
|
||||||||
Comment on lines
+250
to
+253
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
# Set the `VAULT_API_ADDR` environment variable to the Pod IP Address | ||||||||
# This is the address (full URL) to advertise to other Vault servers in the cluster for client redirection. | ||||||||
# See https://www.vaultproject.io/docs/configuration/#api_addr | ||||||||
podApiAddress: true | ||||||||
|
||||||||
## Use an existing config in a named ConfigMap | ||||||||
# existingConfigName: vault-cm | ||||||||
config: | ||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly to the below: