helm-chart: Add livenessProbe & readinessProbe
Signed-off-by: babykart <babykart@gmail.com>
This commit is contained in:
parent
14d2f2b18d
commit
2051e96c32
3 changed files with 26 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
||||||
# garage
|
# garage
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
S3-compatible object store for small self-hosted geo-distributed deployments
|
S3-compatible object store for small self-hosted geo-distributed deployments
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ S3-compatible object store for small self-hosted geo-distributed deployments
|
||||||
| initImage.pullPolicy | string | `"IfNotPresent"` | |
|
| initImage.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
| initImage.repository | string | `"busybox"` | |
|
| initImage.repository | string | `"busybox"` | |
|
||||||
| initImage.tag | string | `"stable"` | |
|
| initImage.tag | string | `"stable"` | |
|
||||||
|
| livenessProbe | object | `{}` | Specifies a livenessProbe |
|
||||||
| monitoring.metrics.enabled | bool | `false` | If true, a service for monitoring is created with a prometheus.io/scrape annotation |
|
| monitoring.metrics.enabled | bool | `false` | If true, a service for monitoring is created with a prometheus.io/scrape annotation |
|
||||||
| monitoring.metrics.serviceMonitor.enabled | bool | `false` | If true, a ServiceMonitor CRD is created for a prometheus operator https://github.com/coreos/prometheus-operator |
|
| monitoring.metrics.serviceMonitor.enabled | bool | `false` | If true, a ServiceMonitor CRD is created for a prometheus operator https://github.com/coreos/prometheus-operator |
|
||||||
| monitoring.metrics.serviceMonitor.interval | string | `"15s"` | |
|
| monitoring.metrics.serviceMonitor.interval | string | `"15s"` | |
|
||||||
|
@ -71,6 +72,7 @@ S3-compatible object store for small self-hosted geo-distributed deployments
|
||||||
| podSecurityContext.runAsGroup | int | `1000` | |
|
| podSecurityContext.runAsGroup | int | `1000` | |
|
||||||
| podSecurityContext.runAsNonRoot | bool | `true` | |
|
| podSecurityContext.runAsNonRoot | bool | `true` | |
|
||||||
| podSecurityContext.runAsUser | int | `1000` | |
|
| podSecurityContext.runAsUser | int | `1000` | |
|
||||||
|
| readinessProbe | object | `{}` | Specifies a readinessProbe |
|
||||||
| resources | object | `{}` | |
|
| resources | object | `{}` | |
|
||||||
| securityContext.capabilities | object | `{"drop":["ALL"]}` | The default security context is heavily restricted, feel free to tune it to your requirements |
|
| securityContext.capabilities | object | `{"drop":["ALL"]}` | The default security context is heavily restricted, feel free to tune it to your requirements |
|
||||||
| securityContext.readOnlyRootFilesystem | bool | `true` | |
|
| securityContext.readOnlyRootFilesystem | bool | `true` | |
|
||||||
|
|
|
@ -78,15 +78,14 @@ spec:
|
||||||
{{- with .Values.extraVolumeMounts }}
|
{{- with .Values.extraVolumeMounts }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# TODO
|
{{- with .Values.livenessProbe }}
|
||||||
# livenessProbe:
|
livenessProbe:
|
||||||
# httpGet:
|
{{- toYaml . | nindent 12 }}
|
||||||
# path: /
|
{{- end }}
|
||||||
# port: 3900
|
{{- with .Values.readinessProbe }}
|
||||||
# readinessProbe:
|
readinessProbe:
|
||||||
# httpGet:
|
{{- toYaml . | nindent 12 }}
|
||||||
# path: /
|
{{- end }}
|
||||||
# port: 3900
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -191,6 +191,21 @@ resources: {}
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 512Mi
|
# memory: 512Mi
|
||||||
|
|
||||||
|
# -- Specifies a livenessProbe
|
||||||
|
livenessProbe: {}
|
||||||
|
#httpGet:
|
||||||
|
# path: /health
|
||||||
|
# port: 3903
|
||||||
|
#initialDelaySeconds: 5
|
||||||
|
#periodSeconds: 30
|
||||||
|
# -- Specifies a readinessProbe
|
||||||
|
readinessProbe: {}
|
||||||
|
#httpGet:
|
||||||
|
# path: /health
|
||||||
|
# port: 3903
|
||||||
|
#initialDelaySeconds: 5
|
||||||
|
#periodSeconds: 30
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
Loading…
Add table
Reference in a new issue