blob: 137ae0cefff2011956157c1e896d415d8b69f180 (
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
import_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
|