Autoscaling fails after an upgrade
Cluster autoscaling does not work after an upgrade because old autoscaling values in the cluster-vars ConfigMap override the artifact defaults.
Condition
Cluster autoscaling does not work on a cluster that was installed with an earlier release.
Cause
The cluster-vars ConfigMap still holds the old taikun_autoscaling_repourl value (the legacy Taikun chart repository URL) and taikun_autoscaling_chart_name: autoscaler. These values override the defaults of the ccf artifact.
Remedy
Remove both values, and set the new chart source in bootstrap.env if you host the chart in your registry, as described in Configuration reference for the bootstrap file.
kubectl -n flux-system patch configmap cluster-vars --type merge \
-p '{"data":{"taikun_autoscaling_repourl":null,"taikun_autoscaling_chart_name":null}}'