charts icon indicating copy to clipboard operation
charts copied to clipboard

Enable Support for HPA in chartmuseum

Open VivinrajSundararaj opened this issue 8 months ago • 0 comments

Overview:

We deployed chart museum using ArgoCD but we are unable to use HPA for scaling out and in of the replicasets for chart museum deployments. this is because we have default value for replicas: 1 in the values.yaml file which is the default value added to the deployment object.

As per kubernetes documentation below in reference, we could not use both replicas in deployment and enable custom HPA.

Proposal:

  • Would it possible to enable HPA for chartmuseum and add the condition for replicas in deployment spec if we have HPA enabled?

Reference:

  • https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#migrating-deployments-and-statefulsets-to-horizontal-autoscaling

VivinrajSundararaj avatar Oct 18 '23 18:10 VivinrajSundararaj