8000 GitHub - Srijancse-zz/phpa: kubernetes autoscaler with influx and graphite as metric source
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from clarisights/phpa

kubernetes autoscaler with influx and graphite as metric source

License

Notifications You must be signed in to change notification settings

Srijancse-zz/phpa

 
 

Repository files navigation

PHPA: poor man's Horizontal Pod Autoscaler

See Horizontal Pod Autoscaler to know more about HPA

This tool takes metrics from our inflxudb and scales a deployment based on those metrics

Deployment

service account (only once)

  • setup phpa-service-account using setup-access.yaml
  • check for service account kubectl get serviceaccount phpa-service-account

deploy

At Clarisights we run phpa as k8s deployment in same cluster as the deployment phpa is targeting.

  1. build docker image docker build -t phpa:latest https://github.com/clarisights/phpa.git
  2. push docker image to your container registry
  3. create config map from file with your phpa config files
  4. mount config map in your phpa cronjob/deployment
  5. deploy

look in examples folder for some example configs and deployment

Contributing

We welcome contributions, here are steps on how to contribute

  1. fork this repo
  2. create a branch and add your features
  3. Send a Pull requests and tag contributors for review

Have questions or problems using PHPA?

  • Create an issues and tag contributors

Other Info

About

kubernetes autoscaler with influx and graphite as metric source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.5%
  • Dockerfile 1.5%
0