[stable/cluster-autoscaler] Deployment strategy option (#20801)

Signed-off-by: Igor Belikov <mail@igorbelikov.com>
This commit is contained in:
Igor Belikov
2020-02-18 09:10:29 -08:00
committed by GitHub
parent 4f4fc0213a
commit 4de6a98d70
4 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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
+8
View File
@@ -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: {}