Skip to content

Commit 1151947

Browse files
authored
Merge pull request #269 from jprovaznik/sdoc
Add scaling documentation
2 parents 812ed42 + 85f0961 commit 1151947

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,25 @@ The virtual IP of the router can be retrieved with
502502
heat output-show --format=raw my-openshift router_ip
503503
```
504504

505+
== Scaling Up or Down
506+
507+
You can manually scale up or down OpenShift nodes by updating `node_count` heat
508+
stack parameter to the desired new count:
509+
510+
```
511+
heat stack-update -P node_count=5 <other parameters>
512+
```
513+
514+
If the stack has 2 nodes, 3 new nodes are added. If the stack has 7 nodes, 2
515+
are removed. Any running pods are evacuated from the node being removed.
516+
517+
== Autoscaling
518+
519+
Scaling of OpenShift nodes can be automated by using Ceilometer metrics.
520+
By default `cpu_util` metering is used. You can enable autoscaling by `autoscaling`
521+
heat parameter and tweaking properties of `cpu_alarm_high` and `cpu_alarm_low` in
522+
`openshift.yaml`.
523+
505524
== Removing or Replacing Specific Nodes
506525

507526
Sometimes it's necessary to remove or replace specific nodes from the stack.

0 commit comments

Comments
 (0)