module
Version:
v0.0.0-...-1eb7714
Opens a new window with list of versions in this module.
Published: Sep 30, 2024
License: Apache-2.0
Opens a new window with license information.
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
- Launch the virtual cluster. See https://github.com/unmarshall/kvcl/. This will generate kubeconfig at
/tmp/kvcl.yaml
- Build the autoscaler:
cd cluster-autoscaler
go build -o ../bin/cluster-autoscaler main.go
- Launch the cluste-autoscaler and capture output
../bin/cluster-autoscaler --kubeconfig=/tmp/kvcl.yaml --v=3 | tee /tmp/cas.log
Directories
¶
|
|
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. |
Click to show internal directories.
Click to hide internal directories.