summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cluster_autoscaler/README.md
blob: d775a8a714f403dd6611dcf654cc536578166b33 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Openshift cluster autoscaler
================================

Install the cluster autoscaler

Requirements
------------

* One or more Master servers
* A cloud provider that supports the cluster-autoscaler

Role Variables
--------------
Check defaults/main.yml

Dependencies
------------


Example Playbook
----------------

#!/usr/bin/ansible-playbook
```
---
- hosts: masters
  gather_facts: no
  remote_user: root
  tasks:
  - name: include role autoscaler
    include_role:
      name: openshift_cluster_autoscaler
    vars:
      openshift_clusterid: opstest
      openshift_cluster_autoscaler_aws_key: <aws_key>
      openshift_cluster_autoscaler_aws_secret_key: <aws_secret_key>
```


Notes
-----

This is currently experimental software.  This role allows users to install the cluster-autoscaler and the necessary authorization pieces that allow the autoscaler to function.


This feature requires cloud provider credentials or a serviceaccount that has access to scale up/down nodes within the scaling groups.

https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler

License
-------

Apache License, Version 2.0

Author Information
------------------

Openshift