Conversation
|
Warning Rate limit exceeded@cwrau has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 0 minutes and 52 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (8)
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughAdds cluster autoscaler Flux HelmRelease deployment to management cluster with conditional enablement based on nodePool replica configuration. Removes pre-install uninstall workflow templates including Job, ServiceAccount, and RBAC resources previously used to clean resources during uninstall. Updates Helm repository values to include autoscaler chart reference. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~40 minutes Involves a significant architectural change: adding conditional cluster autoscaler deployment logic alongside complete removal of pre-install uninstall workflow infrastructure. Mixed patterns across multiple files require verification that resource cleanup logic is properly eliminated without unintended side effects, and that autoscaler enablement conditions align with nodePool configuration changes in related PRs. Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
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. Comment |
There was a problem hiding this comment.
Pull Request Overview
This PR adds cluster-autoscaler deployment capabilities to the t8s-cluster management cluster, enabling automatic scaling of node pools based on resource utilization. The changes also clean up legacy pre-install uninstall jobs that are no longer needed.
- Adds autoscaler Helm repository configuration and chart version specification
- Implements conditional autoscaler HelmRelease deployment for clusters with autoscaling-enabled node pools
- Removes obsolete pre-install cleanup jobs for various cluster components
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| charts/t8s-cluster/values.yaml | Adds autoscaler Helm repository URL and cluster-autoscaler chart version 9.52.1 |
| charts/t8s-cluster/templates/management-cluster/autoscaler.yaml | Creates HelmRelease resource for cluster-autoscaler with Cluster API integration |
| charts/t8s-cluster/templates/workload-cluster/pre-install/uninstall-storageclasses.yaml | Removes legacy storage class cleanup job |
| charts/t8s-cluster/templates/workload-cluster/pre-install/uninstall-etcd-defrag.yaml | Removes legacy etcd-defrag cleanup job |
| charts/t8s-cluster/templates/workload-cluster/pre-install/uninstall-csi.yaml | Removes legacy CSI cleanup job |
| charts/t8s-cluster/templates/workload-cluster/pre-install/uninstall-cni.yaml | Removes legacy CNI cleanup job |
| charts/t8s-cluster/templates/workload-cluster/pre-install/uninstall-cloud-controller-manager.yaml | Removes legacy cloud controller manager cleanup job |
| charts/t8s-cluster/templates/workload-cluster/pre-install/_uninstall-job.yaml | Removes shared uninstall job template used by deleted cleanup jobs |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
charts/t8s-cluster/templates/management-cluster/autoscaler.yaml
Outdated
Show resolved
Hide resolved
charts/t8s-cluster/templates/management-cluster/autoscaler.yaml
Outdated
Show resolved
Hide resolved
e84b075 to
636fbdd
Compare
636fbdd to
c892e90
Compare
🤖 I have created a release *beep* *boop* --- ## [9.5.0](t8s-cluster-v9.4.1...t8s-cluster-v9.5.0) (2026-01-15) ### Features * **t8s-cluster/artifacthub:** use centralised helmRepositories template ([#1846](#1846)) ([73a41f9](73a41f9)) * **t8s-cluster/cilium:** enable kubeProxy replacement ([#1815](#1815)) ([b3c412d](b3c412d)) * **t8s-cluster/management-cluster:** add cluster-autoscaler deployment ([#1756](#1756)) ([5b6ead9](5b6ead9)) * **t8s-cluster/management-cluster:** enable ImageVolume feature flag ([#1786](#1786)) ([9676ee0](9676ee0)) * **t8s-cluster/management-cluster:** set apiServerLoadBalancer.provider via TeutonetesCloud ([#1898](#1898)) ([6bf8889](6bf8889)) * **t8s-cluster/management-cluster:** switch to hcp ([#1759](#1759)) ([303b0b6](303b0b6)) * **t8s-cluster/management-cluster:** use new KubeletEnsureSecretPulledImages feature gate ([#1858](#1858)) ([40d7bef](40d7bef)) * **t8s-cluster:** migrate to CAPI v1beta2 ([#1685](#1685)) ([dc5f071](dc5f071)) ### Bug Fixes * **t8s-cluster/autoscaler:** these names are inside the workload cluster ([#1877](#1877)) ([f345cea](f345cea)) * **t8s-cluster/management-cluster:** leave out protocol if `nil` ([#1837](#1837)) ([f370dac](f370dac)) * **t8s-cluster:** only allow nodePools with valid k8s names ([#1851](#1851)) ([b9431c5](b9431c5)) ### Miscellaneous Chores * **t8s-cluster/dependencies:** update common docker tag to v1.6.0 ([#1811](#1811)) ([b3b4c94](b3b4c94)) * **t8s-cluster/dependencies:** update common docker tag to v1.7.0 ([#1873](#1873)) ([71e062f](71e062f)) * **t8s-cluster/dependencies:** update helm release cilium to v1.18.6 ([#1894](#1894)) ([e1adc88](e1adc88)) * **t8s-cluster/dependencies:** update helm release cluster-autoscaler to v9.53.0 ([#1856](#1856)) ([dc67fcd](dc67fcd)) * **t8s-cluster/dependencies:** update helm release openstack-cloud-controller-manager to v2.34.1 ([#1553](#1553)) ([e984d19](e984d19)) * **t8s-cluster/dependencies:** update registry.k8s.io/etcd docker tag to v3.5.24 ([#1793](#1793)) ([a5098e3](a5098e3)) * **t8s-cluster/dependencies:** update registry.k8s.io/etcd docker tag to v3.6.6 ([#1813](#1813)) ([e07ffa7](e07ffa7)) * **t8s-cluster/dependencies:** update registry.k8s.io/etcd docker tag to v3.6.7 ([#1895](#1895)) ([cf1d3b4](cf1d3b4)) * **t8s-cluster/flux:** use centralised HelmRepositories instead of per-instance ([#1758](#1758)) ([3deff65](3deff65)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Summary by CodeRabbit
New Features
Changes