gardener-virtual-autoscaler

module
v0.0.0-...-1eb7714 Latest Latest
Warning

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

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

README

gardener-virtual-autoscaler

[!NOTE] This is prototype for Proof of Concept only.

This scales nodes in an in-memory virutal provider. Expects the k8s virtual cluster: https://github.com/unmarshall/kvcl/ to be already running

Usage

  1. Launch the virtual cluster. See https://github.com/unmarshall/kvcl/. This will generate kubeconfig at /tmp/kvcl.yaml
  2. Build the autoscaler:
cd cluster-autoscaler
go build -o ../bin/cluster-autoscaler main.go
  1. Launch the cluste-autoscaler and capture output
../bin/cluster-autoscaler --kubeconfig=/tmp/kvcl.yaml --v=3 | tee /tmp/cas.log

Directories

Path Synopsis
nanny
Package nanny implements logic to poll the k8s apiserver for cluster status, and update a deployment based on that status.
Package nanny implements logic to poll the k8s apiserver for cluster status, and update a deployment based on that status.

Jump to

Keyboard shortcuts

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