Skip to content

fix(t8s-cluster/management-cluster): prefix the autoscaler with as-#2167

Merged
cwrau merged 1 commit into
mainfrom
fix/t8s-cluster/autoscaler-names
May 15, 2026
Merged

fix(t8s-cluster/management-cluster): prefix the autoscaler with as-#2167
cwrau merged 1 commit into
mainfrom
fix/t8s-cluster/autoscaler-names

Conversation

@cwrau
Copy link
Copy Markdown
Member

@cwrau cwrau commented May 11, 2026

Otherwise clusters starting with a number break the autoscaler service

Summary by CodeRabbit

  • Chores
    • Updated autoscaler configuration in the cluster management template.

Review Change Stack

Otherwise clusters starting with a number break the autoscaler service
Copilot AI review requested due to automatic review settings May 11, 2026 10:34
@cwrau cwrau enabled auto-merge May 11, 2026 10:34
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 11, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a5114349-0761-49f7-ad0d-5c49b6d53ffa

📥 Commits

Reviewing files that changed from the base of the PR and between db6bcbf and 65b58a6.

📒 Files selected for processing (1)
  • charts/t8s-cluster/templates/management-cluster/autoscaler.yaml

📝 Walkthrough

Walkthrough

The autoscaler HelmRelease template now includes a fullnameOverride configuration parameter that generates predictable resource names in the format as-<release-name>-autoscaler, ensuring consistent naming across cluster deployments.

Changes

Autoscaler Configuration

Layer / File(s) Summary
HelmRelease Fullname Override
charts/t8s-cluster/templates/management-cluster/autoscaler.yaml
Added spec.values.fullnameOverride set to as-{{ .Release.Name }}-autoscaler for predictable autoscaler resource naming.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested labels

t8s-cluster

Suggested reviewers

  • tasches
  • marvinWolff
  • teutonet-bot

Poem

🐰 A scaler needs a name so true,
as-release-autoscaler through and through,
No more confusion in the cluster's dance,
With fullnameOverride, resources prance! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding an 'as-' prefix to the autoscaler HelmRelease name to fix issues with cluster names starting with numbers.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/t8s-cluster/autoscaler-names

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the autoscaler template to include a fullnameOverride with an as- prefix, ensuring that generated resources comply with DNS-1035 standards by starting with a letter. The review feedback identifies an inconsistency where the HelmRelease name lacks this prefix and suggests quoting the template value to adhere to Helm best practices.

Comment thread charts/t8s-cluster/templates/management-cluster/autoscaler.yaml
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the management-cluster cluster-autoscaler HelmRelease configuration to ensure the autoscaler’s rendered Kubernetes resource names don’t begin with a digit, avoiding name-derived constraints when a cluster/release name starts with a number.

Changes:

  • Set values.fullnameOverride for the autoscaler HelmRelease to as-<release>-autoscaler to force a non-numeric prefix on autoscaler resource names.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cwrau cwrau added this pull request to the merge queue May 15, 2026
Merged via the queue into main with commit 3f8ded5 May 15, 2026
36 of 37 checks passed
@cwrau cwrau deleted the fix/t8s-cluster/autoscaler-names branch May 15, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants