Skip to content

Latest commit

 

History

History

hpa

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Getting Started

Clone the repo:

git clone git@github.com:snormore/doks-examples
cd doks-examples/hpa

Create a cluster with default name hpa-demo and install HPA with an example that uses CPU, waits for replicas to be scaled up, stops using CPU, and waits for replicas to scale down.

script/up

You can specify a cluster name with:

script/up my-cluster-name

The up script should be idempotent, so feel free to run more than once if something breaks.

Cleaning Up

script/down

References