[stable/aws-cluster-autoscaler]: nodeSelector (#640)

* Added nodeSelector

* extraArgs is hash

* Remove default resource requests & limits

* Added logo

* Version bump
This commit is contained in:
Michael Goodness
2017-03-02 11:21:22 -08:00
committed by Adnan Abdulhussein
parent 7631b151f5
commit 773bb434ae
4 changed files with 23 additions and 11 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
apiVersion: v1
description: Scales worker nodes within autoscaling groups.
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
name: aws-cluster-autoscaler
version: 0.2.0
version: 0.2.1
sources:
- https://github.com/kubernetes/contrib/tree/master/cluster-autoscaler/cloudprovider/aws
maintainers:
+3 -2
View File
@@ -51,9 +51,10 @@ Parameter | Description | Default
`image.tag` | Image tag | `v0.4.0`
`image.pullPolicy` | Image pull policy | `IfNotPresent`
`extraArgs` | additional container arguments | `{}`
`podAnnotations` | annotations to add to each pod | {}
`nodeSelector` | node labels for pod assignment | `{}`
`podAnnotations` | annotations to add to each pod | `{}`
`replicaCount` | desired number of pods | `1`
`resources` | pod resource requests & limits | `limits: {cpu: 100m, memory: 300Mi}, requests: {cpu: 100m, memory: 300Mi}`
`resources` | pod resource requests & limits | `{}`
`scaleDownDelay` | time to wait between scaling operations | `10m` (10 minutes)
`service.annotations` | annotations to add to service | none
`service.clusterIP` | IP address to assign to service | `""`
@@ -47,6 +47,10 @@ spec:
- name: ssl-certs
mountPath: /etc/ssl/certs/ca-certificates.crt
readOnly: true
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end }}
volumes:
- name: ssl-certs
hostPath:
+14 -8
View File
@@ -10,17 +10,23 @@ image:
tag: v0.4.0
pullPolicy: IfNotPresent
extraArgs: []
extraArgs: {}
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
podAnnotations: {}
replicaCount: 1
resources:
limits:
cpu: 100m
memory: 300Mi
requests:
cpu: 100m
memory: 300Mi
resources: {}
# limits:
# cpu: 100m
# memory: 300Mi
# requests:
# cpu: 100m
# memory: 300Mi
scaleDownDelay: 10m