Repository navigation
Conversation
The ce-registry-eks staging node group (ce-registry-eks-ng-staging, 1x t3.medium) is empty: there is no staging namespace and nothing targets the env=staging taint. It was floored at min=1, so the cluster-autoscaler could not reclaim the idle node. Set ng_staging_min_size to 0 so the autoscaler drains it. desired_size is under lifecycle.ignore_changes (autoscaler-managed), left at 1 and driven to 0 by the autoscaler; max_size stays at 6. Only the staging node group is affected (dedicated env=staging taint); prod, sandbox and private node groups are untouched. Reversible: raise min back to 1.
Contributor
|
@arielr-lt Is this needed? If not, please close PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Set
ng_staging_min_size = 0(was1) interraform/environments/eks/terraform.tfvarsfor thece-registry-ekscluster.Why
The
ce-registry-eks-ng-stagingnode group (1×t3.medium) is empty — there is nostagingnamespace on the cluster and nothing targets itsenv=stagingtaint. It was floored atmin=1, so the cluster-autoscaler could not reclaim the idle node. Cost cleanup alongside the Argo/ES/Neo4j decommission node-group reclaims.How it works
desired_sizeis underlifecycle.ignore_changes(autoscaler-managed): Terraform leaves it at1, and the cluster-autoscaler drainsdesired1 → 0 oncemin_size = 0applies.max_sizestays at6.Safety (verified)
env=staging.stagingnamespace; 0 pods anywhere targetenv=staging.ng-prod-v2), sandbox, and private node groups are untouched (separate resources/variables).Rollback
Raise
ng_staging_min_sizeback to1.Fallback (if autoscaler is slow)