mirror of
https://github.com/bitnami/charts.git
synced 2026-02-20 03:58:02 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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 | `{}` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user