[stable/ambassador] Allow Configuration of Ambassador Readiness and Liveness Probe Values (#19348)

* Allow Configuration of Ambassador Readiness and Liveness Probe Values

Signed-off-by: Tahir Wasim <tahir.wasim@instacart.com>

* Bump minor version instead of patch

Signed-off-by: Tahir Wasim <tahir.wasim@instacart.com>
This commit is contained in:
Tahir Wasim
2019-12-03 13:46:58 -08:00
committed by Kubernetes Prow Robot
parent d26f5b228b
commit 67dff355d4
4 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.85.0
description: A Helm chart for Datawire Ambassador
name: ambassador
version: 5.0.0
version: 5.1.0
icon: https://www.getambassador.io/images/logo.png
home: https://www.getambassador.io/
sources:
+6
View File
@@ -80,6 +80,12 @@ The following tables lists the configurable parameters of the Ambassador chart a
| `securityContext` | Set security context for pod | `{ "runAsUser": "8888" }` |
| `initContainers` | Containers used to initialize context for pods | `[]` |
| `sidecarContainers` | Containers that share the pod context | `[]` |
| `livenessProbe.initialDelaySeconds` | Initial delay (s) for Ambassador pod's liveness probe | `30` |
| `livenessProbe.periodSeconds` | Probe period (s) for Ambassador pod's liveness probe | `3` |
| `livenessProbe.failureThreshold` | Failure threshold for Ambassador pod's liveness probe | `3` |
| `readinessProbe.initialDelaySeconds`| Initial delay (s) for Ambassador pod's readiness probe | `30` |
| `readinessProbe.periodSeconds` | Probe period (s) for Ambassador pod's readiness probe | `3` |
| `readinessProbe.failureThreshold` | Failure threshold for Ambassador pod's readiness probe | `3` |
| `service.annotations` | Annotations to apply to Ambassador service | `""` |
| `service.externalTrafficPolicy` | Sets the external traffic policy for the service | `""` |
| `service.ports` | List of ports Ambassador is listening on | `[{"name": "http","port": 80,"targetPort": 8080},{"name": "https","port": 443,"targetPort": 8443}]` |
+6 -4
View File
@@ -159,14 +159,16 @@ spec:
httpGet:
path: /ambassador/v0/check_alive
port: admin
initialDelaySeconds: 30
periodSeconds: 3
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
readinessProbe:
httpGet:
path: /ambassador/v0/check_ready
port: admin
initialDelaySeconds: 30
periodSeconds: 3
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
volumeMounts:
- name: ambassador-pod-info
mountPath: /tmp/ambassador-pod-info
+11
View File
@@ -159,6 +159,17 @@ initContainers: []
sidecarContainers: []
livenessProbe:
initialDelaySeconds: 30
periodSeconds: 3
failureThreshold: 3
readinessProbe:
initialDelaySeconds: 30
periodSeconds: 3
failureThreshold: 3
volumes: []
volumeMounts: []