Make replica count configurable across all deployment templates#587
Merged
bosesuneha merged 4 commits intoAzure:mainfrom Jul 15, 2025
Merged
Conversation
- Add REPLICACOUNT variable to helm, kustomize, and manifest deployment templates - Set default value to 1 replica for all deployment types - Replace hardcoded replica values with template variables - Update all test fixtures to reflect new default replica count - Ensure consistency across deployment template types
04c20e0 to
4d04448
Compare
bosesuneha
reviewed
Jul 14, 2025
bfoley13
approved these changes
Jul 15, 2025
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
This PR makes the replica count configurable across all deployment templates (Helm, Kustomize, and Manifests) instead of using hardcoded values.
Changes
REPLICACOUNTvariable to all deployment templatedraft.yamlfiles with properkind: "replicaCount"validationreplicas: 2with{{ .Config.GetVariableValue "REPLICACOUNT" }}in deployment templatesreplicas: 1to match the new default valueBenefits
Usage
Users can override the replica count when generating deployments:
Type of change
How Has This Been Tested?
Provide instructions so we can reproduce, and list any relevant details for your test configuration. Please mention if this is a breaking change which will impact consuming tool(s).
Checklist: