incubator-devlake-helm-chart
incubator-devlake-helm-chart copied to clipboard
Dynamic replica management using replicaCount to enable or disable DEV-LAKE.
Knowing that the dev-lake deployments cannot have more than one replica, we would like to have the ability to manage the replicas of StatefulSet and deployments to set to 0, and then completely disable devlake-helm-chart.
Current configuration:
spec:
replicas: 1
Changes for StatefulSet and deployments :
spec:
replicas: {{ if gt .Values.replicaCount 1 }}1{{ else }}{{ .Values.replicaCount }}{{ end }}
If you find it convenient:
Changes for StatefulSet and Deployment (devlake-ui)
spec:
replicas: {{ .Values.replicaCount }}
Change for Deployment (dev-lake)
spec:
replicas: {{ if gt .Values.replicaCount 1 }}1{{ else }}{{ .Values.replicaCount }}{{ end }}
hi @angelsanchezdck , that's a good point, could you open a pr for that?
config-ui can have multiple replicas @angelsanchezdck
Done :heavy_check_mark: pr: https://github.com/apache/incubator-devlake-helm-chart/pull/269
HI, any update?
hi @angelsanchezdck , thanks a lot for the pr! appreciated! i see there is conflict, could you fix it?