main.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. openshift_cluster_autoscaler_name: cluster-autoscaler
  3. openshift_cluster_autoscaler_loglevel: 4
  4. openshift_cluster_autoscaler_template_location: /tmp
  5. openshift_cluster_autoscaler_template_name: "{{ openshift_cluster_autoscaler_name }}"
  6. openshift_cluster_autoscaler_node_selector:
  7. node-role.kubernetes.io/infra: "true"
  8. openshift_cluster_autoscaler_state: present
  9. openshift_cluster_autoscaler_namespace: openshift-autoscaler
  10. openshift_cluster_autoscaler_delete_config: True
  11. openshift_cluster_autoscaler_skip_nodes_local_storage: False
  12. openshift_cluster_autoscaler_serviceaccount: cluster-autoscaler
  13. openshift_cluster_autoscaler_region: us-east-1
  14. openshift_cluster_autoscaler_image: "{{ l_os_registry_url | regex_replace('${component}' | regex_escape, 'cluster-autoscaler') }}"
  15. openshift_cluster_autoscaler_cloud_provider: aws
  16. # AWS specific variables here
  17. openshift_cluster_autoscaler_aws_key: "{{ openshift_cloudprovider_aws_access_key | default('') }}"
  18. openshift_cluster_autoscaler_aws_secret_key: "{{ openshift_cloudprovider_aws_secret_key | default('') }}"
  19. openshift_cluster_autoscaler_aws_creds_name: aws-creds
  20. openshift_cluster_autoscaler_aws_secret_name: autoscaler-credentials
  21. openshift_cluster_autoscaler_aws_creds_path: "/var/run/secrets/{{ openshift_cluster_autoscaler_aws_creds_name }}/creds"
  22. openshift_cluster_autoscaler_aws_env_vars:
  23. - name: AWS_REGION
  24. value: "{{ openshift_cluster_autoscaler_region }}"
  25. - name: AWS_SHARED_CREDENTIALS_FILE
  26. value: "{{ openshift_cluster_autoscaler_aws_creds_path }}"
  27. ## End AWS vars ##
  28. openshift_cluster_autoscaler_env_vars: []
  29. openshift_cluster_autoscaler_node_groups:
  30. - min: 3
  31. max: 10
  32. name: "{{ openshift_cluster_autoscaler_node_group_name | default(openshift_clusterid ~ ' openshift compute') }}"