This project is supported by:
Custom Pod Autoscaler Operator
This is the operator for managing Custom Pod Autoscalers (CPA).
This allows you to add your own CPAs to the cluster to manage autoscaling deployments, enabling this is a requirement
before you can add your own CPAs.
Installation
See the install guide to see more in depth installation options, such as namespace specific installs and
installation using kubectl.
Quick start
Run this to install the Operator and Custom Pod Autoscaler definition with cluster-wide scope on your cluster:
VERSION=v1.1.1
HELM_CHART=custom-pod-autoscaler-operator
helm install ${HELM_CHART} https://github.com/jthomperoo/custom-pod-autoscaler-operator/releases/download/${VERSION}/custom-pod-autoscaler-operator-${VERSION}.tgz
Usage
See the usage guide to see some simple usage options. For more indepth examples, check out the
Custom Pod Autoscaler repo.
Developing
Environment
Developing this project requires these dependencies:
Commands
make
- builds the operator binary.
make docker
- build the docker image for the operator.
make lint
- lints the codebase.
make beautify
- beautifies the codebase, must be run to pass the CI.
make test
- runs the Go tests.
make generate
- generates boilerplate and YAML config for the operator.
make view_coverage
- opens up any generated coverage reports in the browser.