Skip to content

Chathuru/kubernetes-cluster-autoscaler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.