chore(k8s): hold off pipelines in dev (replicaCount=0)#30
Open
thatcatfromspace wants to merge 1 commit into
Open
chore(k8s): hold off pipelines in dev (replicaCount=0)#30thatcatfromspace wants to merge 1 commit into
thatcatfromspace wants to merge 1 commit into
Conversation
Service health has been degrading in dev and pipelines is not required to be operational at this stage. Scale the dev Deployment to zero so the ArgoCD app keeps reconciling cleanly without churning unhealthy pods. Flip replicaCount back to 1 (or drop the line) to resume. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
replicaCount: 0ink8s/dev/values.yamlso the dev Deployment scales to zero.replicaCount: 0is not overridden.To bring the service back: set
replicaCount: 1(or remove the override) and resync the ArgoCD app.Test plan
helm lint k8s/chart -f k8s/dev/values.yamlcleanpipelinesapp reports Healthy with 0/0 podsCo-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
Greptile Summary
Sets
replicaCount: 0in the dev Helm overlay to scale the pipelines Deployment to zero while health checks are stabilising in dev. No code, schema, or API changes are included.replicaCount: 0line tok8s/dev/values.yamlwith an inline comment explaining the hold-off and how to reverse it.Confidence Score: 5/5
Safe to merge — single-line Helm overlay change affecting only the dev environment with no impact on production or staging.
The change touches one value in a dev-only Helm overlay. It scales the dev Deployment to zero, which is intentional and documented. Prod and staging are unaffected. The comment in the file and the PR description both explain the rationale and how to reverse it.
No files require special attention.
Important Files Changed
replicaCount: 0to scale the dev deployment to zero; change is minimal, well-commented, and scoped only to the dev overlay.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[ArgoCD reconcile loop] --> B{replicaCount in dev overlay} B -- "0 (current)" --> C[Deployment scaled to 0 pods] C --> D[ArgoCD reports Healthy — no pods churning] B -- "1 (to restore)" --> E[Deployment scaled to 1 pod] E --> F[Readiness probe passes?] F -- Yes --> G[Pod Running / ArgoCD Healthy] F -- No --> H[Pod fails health check / ArgoCD Degraded]Reviews (1): Last reviewed commit: "chore(k8s): hold off pipelines in dev (r..." | Re-trigger Greptile