kubernetes-cluster-autoscaler

module
v0.0.0-...-525c9b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0

README

Kubernetes Cluster Autoscaler

Go Report Card

Developer Requirements

  • Kubernetes version 1.19.x
  • Go version 1.15.x (to build the source and develop plugins)

Building from source

Build Kubernetes Cluster Autoscaler from the source

go build -o bin/autoscaler cmd/main.go

Take a copy of conf.yml-sample as conf.yml. Fill all the required data fields.

Configure the Kubectl. This look for the kube config file in the default path ~/.kube/config or you can run as a pon in a Kubernetes cluster.

.
├── autoscaler
├── conf.yml
└── plugin
    └── AWS.so

Copy the build plugin to ./bin/plugin directory. Change the CloudType in conf.yml to AWS. This will load and configure the plugin.

TODO

  • Support cloud_init aka user_data
  • Improve scaling decisions
  • Update dependencies

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL