mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/cluster-autoscaler] Deployment strategy option (#20801)
Signed-off-by: Igor Belikov <mail@igorbelikov.com>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: Scales worker nodes within autoscaling groups.
|
||||
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
|
||||
name: cluster-autoscaler
|
||||
version: 6.4.0
|
||||
version: 6.5.0
|
||||
appVersion: 1.14.6
|
||||
home: https://github.com/kubernetes/autoscaler
|
||||
sources:
|
||||
|
||||
@@ -176,6 +176,7 @@ Parameter | Description | Default
|
||||
`securityContext` | [Security context for pod](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) | `nil`
|
||||
`containerSecurityContext` | [Security context for container](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) | `nil`
|
||||
`resources` | pod resource requests & limits | `{}`
|
||||
`updateStrategy` | [Deployment update strategy](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy) | `nil`
|
||||
`service.annotations` | annotations to add to service | none
|
||||
`service.externalIPs` | service external IP addresses | `[]`
|
||||
`service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""`
|
||||
|
||||
@@ -194,6 +194,10 @@ spec:
|
||||
securityContext:
|
||||
{{ toYaml .Values.securityContext | nindent 8 | trim }}
|
||||
{{- end }}
|
||||
{{- if .Values.updateStrategy }}
|
||||
strategy:
|
||||
{{ toYaml .Values.updateStrategy | nindent 8 | trim }}
|
||||
{{- end }}
|
||||
{{- if eq .Values.cloudProvider "gce" }}
|
||||
volumes:
|
||||
- name: cloudconfig
|
||||
|
||||
@@ -147,6 +147,14 @@ priorityClassName: ""
|
||||
# drop:
|
||||
# - all
|
||||
|
||||
## Deployment update strategy
|
||||
## Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
||||
# updateStrategy:
|
||||
# rollingUpdate:
|
||||
# maxSurge: 1
|
||||
# maxUnavailable: 0
|
||||
# type: RollingUpdate
|
||||
|
||||
service:
|
||||
annotations: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user