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

[stable/cluster-autoscaler] support dnsPolicy #9029

Merged
merged 6 commits into from
May 10, 2019
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.8.0
version: 0.9.1
appVersion: 1.12.0
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 @@ -115,6 +115,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
11 changes: 8 additions & 3 deletions stable/cluster-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ image:
tolerations: []

extraArgs:
v: 4
stderrthreshold: info
logtostderr: true
# v: 4
so0k marked this conversation as resolved.
Show resolved Hide resolved
# stderrthreshold: info
# logtostderr: true
# write-status-configmap: true
# leader-elect: true
# skip-nodes-with-local-storage: false
Expand Down Expand Up @@ -96,6 +96,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