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.
See the install guide to see more in depth installation options, such as namespace specific installs and installation using kubectl.
Run this to install the Operator and Custom Pod Autoscaler definition with cluster-wide scope on your cluster:
VERSION=v1.4.2
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
See the usage guide to see some simple usage options. For more indepth examples, check out the Custom Pod Autoscaler repo.
Developing this project requires these dependencies:
- Go ==
1.18
See the contributing guide for more information about how you can develop and contribute to this project.
make
- builds the operator binary.make docker
- build the docker image for the operator.make lint
- lints the codebase.make format
- formats 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.