Skip to content

[xray]: Isolate Ipa replica count from the xray-statefulset replicaCo… #1969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/xray/templates/xray-ipa-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ metadata:
{{- end }}
spec:
{{- if not .Values.autoscalingIpa.enabled }}
replicas: {{ .Values.replicaCount }}
replicas: {{ .Values.replicaCountIpa }}
{{- end }}
{{- with .Values.deployment.strategy }}
strategy:
Expand Down
1 change: 1 addition & 0 deletions stable/xray/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1630,6 +1630,7 @@ splitXraytoSeparateDeployments:
## To prevent downtime (both the statefulset pod and deployment pod are kept together, with gradual upgrade set to false, which can turn off statefulsets in subsequent upgrades)
gradualUpgrade: false
replicaCountServer: 2
replicaCountIpa: 2
## Apply horizontal pod auto scaling on Xray server pods
## Only applicable when (splitXraytoSeparateDeployments.enabled) is set to true
## Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
Expand Down
Loading