You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -290,9 +313,10 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
290
313
| Key | Type | Default | Description |
291
314
|-----|------|---------|-------------|
292
315
| affinity | object |`{}`| Affinity for pod assignment |
293
-
| autoDiscovery.clusterName | string |`nil`| Enable autodiscovery for name in ASG tag (only `cloudProvider=aws`). Must be set for `cloudProvider=gce`, but no MIG tagging required. |
316
+
| autoDiscovery.clusterName | string |`nil`| Enable autodiscovery for `cloudProvider=aws`, for groups matching `autoDiscovery.tags`. Enable autodiscovery for `cloudProvider=gce`, but no MIG tagging required. Enable autodiscovery for `cloudProvider=magnum`, for groups matching `autoDiscovery.roles`. |
317
+
| autoDiscovery.roles | list |`["worker"]`| Magnum node group roles to match. |
294
318
| autoDiscovery.tags | list |`["k8s.io/cluster-autoscaler/enabled","k8s.io/cluster-autoscaler/{{ .Values.autoDiscovery.clusterName }}"]`| ASG tags to match, run through `tpl`. |
295
-
| autoscalingGroups | list |`[]`| For AWS. At least one element is required if not using `autoDiscovery`. For example: <pre> - name: asg1<br /> maxSize: 2<br /> minSize: 1 </pre> |
319
+
| autoscalingGroups | list |`[]`| For AWS, Azure AKS or Magnum. At least one element is required if not using `autoDiscovery`. For example: <pre> - name: asg1<br /> maxSize: 2<br /> minSize: 1 </pre> |
296
320
| autoscalingGroupsnamePrefix | list |`[]`| For GCE. At least one element is required if not using `autoDiscovery`. For example: <pre> - name: ig01<br /> maxSize: 10<br /> minSize: 0 </pre> |
297
321
| awsAccessKeyID | string |`""`| AWS access key ID ([if AWS user keys used](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md#using-aws-credentials)) |
298
322
| awsRegion | string |`"us-east-1"`| AWS region (required if `cloudProvider=aws`) |
@@ -307,7 +331,7 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
307
331
| azureUseManagedIdentityExtension | bool |`false`| Whether to use Azure's managed identity extension for credentials. If using MSI, ensure subscription ID and resource group are set. |
| cloudProvider | string |`"aws"`| The cloud provider where the autoscaler runs. Currently only `gce`, `aws`, and `azure` are supported. `aws` supported for AWS. `gce` for GCE. `azure` for Azure AKS. |
334
+
| cloudProvider | string |`"aws"`| The cloud provider where the autoscaler runs. Currently only `gce`, `aws`, `azure`and `magnum` are supported. `aws` supported for AWS. `gce` for GCE. `azure` for Azure AKS. `magnum` for OpenStack Magnum. |
311
335
| containerSecurityContext | object |`{}`|[Security context for container](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)|
312
336
| dnsPolicy | string |`"ClusterFirst"`| Defaults to `ClusterFirst`. Valid values are: `ClusterFirstWithHostNet`, `ClusterFirst`, `Default` or `None`. If autoscaler does not depend on cluster DNS, recommended to set this to `Default`. |
313
337
| expanderPriorities | object |`{}`| The expanderPriorities is used if `extraArgs.expander` is set to `priority` and expanderPriorities is also set with the priorities. If `extraArgs.expander` is set to `priority`, then expanderPriorities is used to define cluster-autoscaler-priority-expander priorities. See: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/expander/priority/readme.md|
@@ -319,6 +343,8 @@ Though enough for the majority of installations, the default PodSecurityPolicy _
Copy file name to clipboardExpand all lines: charts/cluster-autoscaler-chart/values.yaml
+20-4Lines changed: 20 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,25 @@
3
3
affinity: {}
4
4
5
5
autoDiscovery:
6
-
#Only cloudProvider `aws`and `gce` are supported by auto-discovery at this time
6
+
#cloudProviders `aws`, `gce` and `magnum` are supported by auto-discovery at this time
7
7
# AWS: Set tags as described in https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md#auto-discovery-setup
8
-
# autoDiscovery.clusterName -- Enable autodiscovery for name in ASG tag (only `cloudProvider=aws`). Must be set for `cloudProvider=gce`, but no MIG tagging required.
8
+
9
+
# autoDiscovery.clusterName -- Enable autodiscovery for `cloudProvider=aws`, for groups matching `autoDiscovery.tags`.
10
+
# Enable autodiscovery for `cloudProvider=gce`, but no MIG tagging required.
11
+
# Enable autodiscovery for `cloudProvider=magnum`, for groups matching `autoDiscovery.roles`.
9
12
clusterName: # cluster.local
13
+
10
14
# autoDiscovery.tags -- ASG tags to match, run through `tpl`.
# autoscalingGroups -- For AWS. At least one element is required if not using `autoDiscovery`. For example:
20
+
# autoDiscovery.roles -- Magnum node group roles to match.
21
+
roles:
22
+
- worker
23
+
24
+
# autoscalingGroups -- For AWS, Azure AKS or Magnum. At least one element is required if not using `autoDiscovery`. For example:
17
25
# <pre>
18
26
# - name: asg1<br />
19
27
# maxSize: 2<br />
@@ -84,12 +92,20 @@ azureNodeResourceGroup: ""
84
92
# azureUseManagedIdentityExtension -- Whether to use Azure's managed identity extension for credentials. If using MSI, ensure subscription ID and resource group are set.
85
93
azureUseManagedIdentityExtension: false
86
94
95
+
# magnumClusterName -- Cluster name or ID in Magnum.
96
+
# Required if `cloudProvider=magnum` and not setting `autoDiscovery.clusterName`.
97
+
magnumClusterName: ""
98
+
99
+
# magnumCABundlePath -- Path to the host's CA bundle, from `ca-file` in the cloud-config file.
0 commit comments