summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cluster_autoscaler/defaults/main.yml
blob: 707e3c79b7247318ee68a8121e915abbf8fe4399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
openshift_cluster_autoscaler_name: cluster-autoscaler
openshift_cluster_autoscaler_version: 4

openshift_cluster_autoscaler_template_location: /tmp
openshift_cluster_autoscaler_template_name: "{{ openshift_cluster_autoscaler_name }}"

openshift_cluster_autoscaler_node_selector:
  type: infra

openshift_cluster_autoscaler_state: present
openshift_cluster_autoscaler_namespace: openshift-infra
openshift_cluster_autoscaler_delete_config: True
openshift_cluster_autoscaler_skip_nodes_local_storage: False
openshift_cluster_autoscaler_serviceaccount: cluster-autoscaler
openshift_cluster_autoscaler_region: us-east-1

openshift_cluster_autoscaler_image: docker.io/openshift/kubernetes-autoscaler:v0.6.1

openshift_cluster_autoscaler_cloud_provider: aws

# AWS specific variables here
openshift_cluster_autoscaler_aws_creds_name: aws-creds
openshift_cluster_autoscaler_aws_secret_name: autoscaler-credentials
openshift_cluster_autoscaler_aws_creds_path: "/var/run/secrets/{{ openshift_cluster_autoscaler_aws_creds_name }}/creds"
openshift_cluster_autoscaler_aws_env_vars:
- name: AWS_REGION
  value: "{{ openshift_cluster_autoscaler_region }}"
- name: AWS_SHARED_CREDENTIALS_FILE
  value: "{{ openshift_cluster_autoscaler_aws_creds_path }}"

## End AWS vars ##

openshift_cluster_autoscaler_env_vars: []


openshift_cluster_autoscaler_node_groups:
- min: 3
  max: 10
  name: "{{ openshift_cluster_autoscaler_node_group_name | default(openshift_clusterid ~ ' openshift compute') }}"