Skip to content

chore(talos): remove HPAScaleToZero feature gate - #11602

Open
onedr0p wants to merge 1 commit into
mainfrom
chore/remove-hpascaletozero-gate
Open

chore(talos): remove HPAScaleToZero feature gate#11602
onedr0p wants to merge 1 commit into
mainfrom
chore/remove-hpascaletozero-gate

Conversation

@onedr0p

@onedr0p onedr0p commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

Removes feature-gates: HPAScaleToZero=true from the KubeAPIServerConfig and KubeControllerManagerConfig documents in talos/controlplane.yaml.j2.

HPAScaleToZero graduated to Beta and is enabled by default in Kubernetes 1.37 (pkg/features/kube_features.go at the v1.37.0 tag), which the cluster moved to in #11598. The explicit gate no longer does anything. The 15 HPAs with minReplicas: 0 continue to scale to zero.

Verification

  • Rendered the three config layers for k8s-0 with talosctl machineconfig patch; the result contains no HPAScaleToZero and the two extraArgs blocks are otherwise unchanged (enable-aggregator-routing and bind-address remain).
  • talosctl validate -m metal passes apart from the placeholder secret used in place of the 1Password reference.

Rollout

Nothing applies automatically. After merge, just talos apply-node <node> on each control-plane node; Talos restarts kube-apiserver and kube-controller-manager on that node, no reboot or drain. A --dry-run first should show only the two dropped args.

HPAScaleToZero graduated to Beta and is enabled by default in Kubernetes
1.37, so the explicit gate on kube-apiserver and kube-controller-manager is
redundant. The 15 HPAs with minReplicas: 0 keep scaling to zero.

Signed-off-by: Devin Buhl <devin@buhl.casa>
@bot-ross

bot-ross Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Note

No rendered changes.

konflate 0.6.3 · rendered 37face5 · full diff →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant