fix(prod): restore cert-manager and external-secrets to 2 replicas#1601
Merged
Conversation
PR #1585 temporarily trimmed cert_manager_replicas and external_secrets_replicas 2->1 to free worker memory/CPU and break the reconciliation deadlock that was blocking infrastructure-controllers. Prod has since recovered and right-sized via the lowered 64Mi VPA floor (worker memory requests are now ~71/87/71%, down from 88/>100/82%), so restore the intended 2-replica HA for these admission-webhook controllers — this avoids the brief admission gaps (cert-manager.io / external-secrets.io) that a single replica suffers during VPA InPlaceOrRecreate evictions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Restores the intended high-availability replica settings for cert-manager and External Secrets Operator in the prod cluster variables, reverting the temporary stabilization reduction introduced in platform#1585.
Changes:
- Set
cert_manager_replicasback to"2"for prod. - Set
external_secrets_replicasback to"2"for prod. - Removed the temporary “stabilization” comments that explained the prior 2→1 reduction.
Contributor
|
🎉 This PR is included in version 1.2.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Why
platform#1585 temporarily trimmed
cert_manager_replicasandexternal_secrets_replicas2 → 1to free worker memory/CPU and break the reconciliation deadlock (Veleronode-agentcouldn't schedule →infrastructure-controllerswedged). That PR committed to restoring the replicas once prod had headroom.Prod has recovered: all Flux Kustomizations are
Ready, and the lowered 64Mi VPA floor right-sized idle pods — worker memory requests are now ~71% / 87% / 71% (down from 88% / >100% / 82%).What
Restore both variables to
"2"and remove the temporary stabilization comments. This returns the intended HA for these admission-webhook controllers, avoiding the briefcert-manager.io/external-secrets.ioadmission gaps a single replica suffers during VPAInPlaceOrRecreateevictions.Validation
kubectl kustomize k8s/clusters/prod/builds cleanly.ksail --config ksail.prod.yaml workload validate→ 254 files validated.🤖 Generated with Claude Code