-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
Description
What is missing?
This is about refactoring ksm-autoscaler.libsonnet into following standard and being well integrated with the KSM component, as well as adding more flexibility into its configuration.
Here are my enhancement suggestions:
- Move
$.values.clusterVerticalAutoscalerto$.values.kubeStateMetrics.autoscaler - Move
$.ksmAutoscaler.<resource>to$.kubeStateMetrics.autoscaler<resource>(when the addon is enabled, resources are automatically in the loop to deploy ksm resources) - Add standard values:
image,commonLabels,selectorLabels,resources... - Use
ksm._config.nameas prefix for resource names - Generate configuration from a
valuesfield withstd.manifestJsonEx(), allowing full flexibility (core or node steps, sidecar auto-scaling...) - Auto-scale
kube-rbac-proxy-main - Unset ksm
resourcesto avoid downscaling when applying manifest - Remove RBAC for removed
extensionsAPI group - Upgrade CPVPA image to latest version
Of course, many of these changes would be breaking, I would bundle them all at once.
Why do we need it?
Provide a clean add-on experience
Anything else we need to know?: