Skip to main content
Version: 2.5

Create autoscale cluster

Create profile

Please navigate to Cluster > Cluster > Profiles > + Create Profile

/assets/autoscale/as-01.png

/assets/autoscale/as-02.png

Spac:

type: os.nova.server
version: 1.0
properties:
name: cirros_server
flavor: m1.small
image: "Cirros"
key_name: "roy"
networks:
- network: private_10
metadata:
test_key: test_value
user_data: |
#!/bin/sh
echo 'hello, world' > /tmp/test_file

Create Cluster

Please navigate to Cluster > Cluster > Cluster > + Create Cluster

/assets/autoscale/as-04.png

/assets/autoscale/as-03.png

Create Node

Please navigate to Cluster > Cluster > Nodes > + Create Nodes

/assets/autoscale/as-06.png

/assets/autoscale/as-07.png

/assets/autoscale/as-08.png

Create Policy

Please navigate to Cluster > Cluster > Policy > + Create Policy

/assets/autoscale/as-09.png

Spec:

type: senlin.policy.scaling
version: 1.0
properties:
event: CLUSTER_SCALE_OUT
adjustment:
type: CHANGE_IN_CAPACITY
number: 1
min_step: 2
best_effort: True

Attach policy to cluster

Please navigate to Cluster > Cluster > Cluster > Choose Manage Policies from your cluster dropdown menu

/assets/autoscale/as-10.png

/assets/autoscale/as-11.png

Create Receiver

Please navigate to Cluster > Cluster > Receivers > + Create Receiver

/assets/autoscale/as-12.png

/assets/autoscale/as-13.png

Check for receiver endpoint

/assets/autoscale/as-14.png

Send a POST request over terminal

/assets/autoscale/as-15.png

Result

Please navigate to Cluster > Cluster > Nodes > Check for the scale out results

/assets/autoscale/as-16.png