See Horizontal Pod Autoscaler to know more about HPA
This tool takes metrics from our inflxudb and scales a deployment based on those metrics
- setup phpa-service-account using
setup-access.yaml
- check for service account
kubectl get serviceaccount phpa-service-account
At Clarisights we run phpa as k8s deployment in same cluster as the deployment phpa is targeting.
- build docker image
docker build -t phpa:latest https://github.com/clarisights/phpa.git
- push docker image to your container registry
- create config map from file with your phpa config files
- mount config map in your phpa cronjob/deployment
- deploy
look in examples folder for some example configs and deployment
We welcome contributions, here are steps on how to contribute
- fork this repo
- create a branch and add your features
- Send a Pull requests and tag contributors for review
- Create an issues and tag contributors