Closed mrsimonemms closed 3 months ago
Re:
I've done this on a per-cloud basis. I'm not a great fan of this approach and would prefer a single cluster-autoscaler deployment where the correct configuration can be generated. However, I can't see a way of achieving the necessary templating as things currently stand - if there is an undocumented way of achieving that, please tell me.
100% agree. I don't think there's a generic way to do it since between cloud controller managers being able to be internal or external plus the cloud-specific settings, I don't think we could find a simple way to do this in a way that doesn't warrant repetition imho.
Description
Adds Cluster Autoscaler for Civo.
I made a couple of design decisions which are worth explaining:
cluster-autoscaler-<cloud>
. That will ensure that future deployments for AWS, GCP etc are all located in the same area of codebase/cataloguecluster-autoscaler
deployment where the correct configuration can be generated. However, I can't see a way of achieving the necessary templating as things currently stand - if there is an undocumented way of achieving that, please tell me.Related Issue(s)
Fixes #
How to test
Scale-up
gitops
repo'sregistry/cluster/<cluster-name>
replacing the variables as necessaryScale-down
Examples
cluster-autoscaler-civo.yaml
components/cluster-autoscaler-civo/application.yaml