Skip to content

yaelgen/app-resource-scaler

 
 

Repository files navigation

app-resource-scaler

This project serves as a plugin for the generic kubernetes resources scale to zero infrastructure.
It implements scaling of Iguazio's app services, by modifying the appropriate CRDs.

Building the project

There are 2 separate docker images for dlx and scaler, each in their corresponding directories. To build, just run the commands (from the root dir of this project):

docker build -f dlx/Dockerfile -t [repo]/dlx:[version] .
docker build -f autoscaler/Dockerfile -t [repo]/scaler:[version] .

or run

SCALER_TAG=[version] SCALER_REPOSITORY=iguazio/ make build

This will build an image of the scaler components with resourcescaler.go as their plugin.
To publish the image just docker push the resulting images to your favorite repo.

Notes

Modifying vendor dir may result in incompatability with the vendor dir in scaler. Please run docker build as described above to verify nothing was broken.

About

K8s deployments scaler plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 86.5%
  • Dockerfile 7.4%
  • Makefile 6.1%