Skip to content

Allow Helm to omit Deployment replicas#214

Open
CodeTogetherBot wants to merge 1 commit into
devfrom
publish/codetogether-ai-helm-chart
Open

Allow Helm to omit Deployment replicas#214
CodeTogetherBot wants to merge 1 commit into
devfrom
publish/codetogether-ai-helm-chart

Conversation

@CodeTogetherBot

Copy link
Copy Markdown
Collaborator

Summary

  • Add manageReplicas to the CodeTogether AI Helm chart, defaulting to true to preserve current behavior.
  • Omit Deployment spec.replicas when manageReplicas=false so external scalers or automation can own replica count without server-side apply conflicts.
  • Document the .spec.replicas conflict symptom and customer workaround.

Validation

  • /tmp/helm-v3.15.4-linux-amd64/helm template codetogether-ai . -f values.yaml --set service.fqdn=https://ai.example.com renders replicas: 1 by default.
  • /tmp/helm-v3.15.4-linux-amd64/helm template codetogether-ai . -f values.yaml --set service.fqdn=https://ai.example.com --set manageReplicas=false omits replicas.
  • /tmp/helm-v3.15.4-linux-amd64/helm lint . --set service.fqdn=https://ai.example.com passed.

Notes

  • Internal mirror change was also pushed separately in CodeTogether-Inc/ct-ai on branch worktree/helm-deployment-control-086c02.

@CodeTogetherBot CodeTogetherBot force-pushed the publish/codetogether-ai-helm-chart branch from ac1b771 to 5366953 Compare July 6, 2026 17:50
@danc094codetogether danc094codetogether marked this pull request as ready for review July 6, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants