[bitnami/contour] envoy/shutdown-manager allow set resources to fix HPA (#7313)

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
Timofey Titovets
2021-08-27 12:27:50 +03:00
committed by GitHub
parent a94d6ce22f
commit 68af3f30b7
5 changed files with 21 additions and 3 deletions

View File

@@ -27,4 +27,4 @@ sources:
- https://github.com/envoyproxy/envoy
- https://github.com/bitnami/bitnami-docker-contour
- https://projectcontour.io
version: 5.3.1
version: 5.4.0

View File

@@ -142,6 +142,8 @@ $ helm uninstall my-release
| `envoy.hostAliases` | Add deployment host aliases | `[]` |
| `envoy.resources.limits` | Specify resource limits which the container is not allowed to succeed. | `{}` |
| `envoy.resources.requests` | Specify resource requests which the container needs to spawn. | `{}` |
| `envoy.shutdownManager.resources.limits` | Specify resource limits which the container is not allowed to succeed. | `{}` |
| `envoy.shutdownManager.resources.requests` | Specify resource requests which the container needs to spawn. | `{}` |
| `envoy.kind` | Install as deployment or daemonset | `daemonset` |
| `envoy.replicaCount` | Desired number of Controller pods | `1` |
| `envoy.updateStrategy` | Strategy to use to update Pods | `{}` |

View File

@@ -93,6 +93,7 @@ spec:
failureThreshold: {{ .Values.contour.livenessProbe.failureThreshold }}
{{- end }}
name: shutdown-manager
resources: {{- toYaml .Values.envoy.shutdownManager.resources | nindent 12 }}
{{- if .Values.envoy.extraVolumeMounts }}
volumeMounts:
{{- include "common.tplvalues.render" ( dict "value" .Values.envoy.extraVolumeMounts "context" $ ) | nindent 12 }}

View File

@@ -17,8 +17,8 @@ spec:
replicas: {{ .Values.envoy.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
{{- if .Values.updateStrategy }}
strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
{{- if .Values.envoy.updateStrategy }}
strategy: {{- toYaml .Values.envoy.updateStrategy | nindent 4 }}
{{- end }}
selector:
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
@@ -102,6 +102,7 @@ spec:
failureThreshold: {{ .Values.contour.livenessProbe.failureThreshold }}
{{- end }}
name: shutdown-manager
resources: {{- toYaml .Values.envoy.shutdownManager.resources | nindent 12 }}
{{- if .Values.envoy.extraVolumeMounts }}
volumeMounts:
{{- include "common.tplvalues.render" ( dict "value" .Values.envoy.extraVolumeMounts "context" $ ) | nindent 12 }}

View File

@@ -321,6 +321,20 @@ envoy:
## cpu: 100m
## memory: 25Mi
requests: {}
## @param envoy.shutdownManager.resources.limits [object] Specify resource limits which the container is not allowed to succeed.
## @param envoy.shutdownManager.resources.requests [object] Specify resource requests which the container needs to spawn.
shutdownManager:
resources:
## Example:
## limits:
## cpu: 50m
## memory: 32Mi
limits: {}
## Examples:
## requests:
## cpu: 10m
## memory: 16Mi
requests: {}
## @param envoy.kind Install as deployment or daemonset
##
kind: daemonset