Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/cluster-autoscaler] support dnsPolicy (#9029)
Browse files Browse the repository at this point in the history
* [stable/cluster-autoscaler] Add dnsPolicy

Signed-off-by: swo0k <vincentdesmet@swatmobile.io>

* [stable/cluster-autoscaler] Bump to 0.9.1

Signed-off-by: swo0k <vincentdesmet@swatmobile.io>

* [stable/cluster-autoscaler] Drop high verbosity from chart defaults

Signed-off-by: so0k <vincent.drl@gmail.com>

* [stable/cluster-autoscaler] Revert default verbosity config

Signed-off-by: so0k <vincent.drl@gmail.com>
  • Loading branch information
so0k authored and k8s-ci-robot committed May 10, 2019
1 parent da2c890 commit 56db264
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/cluster-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 0.13.0
version: 0.13.1
appVersion: 1.13.1
home: https://github.com/kubernetes/autoscaler
sources:
Expand Down
1 change: 1 addition & 0 deletions stable/cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ Parameter | Description | Default
`rbac.pspEnabled` | Must be used with `rbac.create` true. If true, creates & uses RBAC resources required in the cluster with [Pod Security Policies](https://kubernetes.io/docs/concepts/policy/pod-security-policy/) enabled. | `false`
`replicaCount` | desired number of pods | `1`
`priorityClassName` | priorityClassName | `nil`
`dnsPolicy` | dnsPolicy | `nil`
`resources` | pod resource requests & limits | `{}`
`service.annotations` | annotations to add to service | none
`service.clusterIP` | IP address to assign to service | `""`
Expand Down
3 changes: 3 additions & 0 deletions stable/cluster-autoscaler/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
{{- if .Values.dnsPolicy }}
dnsPolicy: "{{ .Values.dnsPolicy }}"
{{- end }}
containers:
- name: {{ template "cluster-autoscaler.name" . }}
{{- if eq .Values.cloudProvider "spotinst" }}
Expand Down
5 changes: 5 additions & 0 deletions stable/cluster-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ resources: {}

priorityClassName: ""

# Defaults to "ClusterFirst". Valid values are
# 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'
# autoscaler does not depend on cluster DNS, recommended to set this to "Default"
# dnsPolicy: "Default"

service:
annotations: {}
clusterIP: ""
Expand Down

0 comments on commit 56db264

Please sign in to comment.