goharbor / harbor-helm

The helm chart to deploy Harbor
Apache License 2.0
1.14k stars 745 forks source link

add feature HPA on core, trivy and registry #1068

Open flbla opened 2 years ago

flbla commented 2 years ago

Hello, It could be great to have HPA (horizontal pod autoscaling) option on core, trivy and registry.

In my case I have few load during night, but much more during day as dev teams are building images and doing a lot of deployments.

Thanks

ywk253100 commented 2 years ago

We need to do some investigation for the HPA first

flbla commented 2 years ago

@ywk253100 : any ETA for this feature ?

Tejuvmware commented 2 years ago

Hello @ywk253100 , ywk253100 , It's the same request that i wanted to come up with. I'm also facing the same issue and need HPA enabled for the registry and core pods. any ETA on this feature ? or Is there any alternative method to apply HPA to the clusters ?

Please let me know as soon as possible because we are expecting a huge traffic with an application release and need HPA to be implemented ASAP.

pascalrimann commented 1 year ago

is there any information about the HPA? Would be nice to have it

yashid-mohamed commented 1 year ago

We are in the same boat and would like to automatically scale up based on demand (example during scheduled scans of all images)

plodocus commented 11 months ago

We need to do some investigation for the HPA first

We also have this requirement. What kind of investigations need to be done?

How have people in this thread mitigated their issues? Did you add your own HPAs?

flbla commented 11 months ago

How have people in this thread mitigated their issues? Did you add your own HPAs? yes, I created my own

rekha-prakash-maersk commented 10 months ago

@flbla Can you please shed some light on your HPA setup ? we are using helm chart deployment for our harbor setup, and looking to implement a HPA for Trivy based on the load.

flbla commented 10 months ago

it depends of your need I choosed to do it with external metrics based on the harbor_task_queue_size/image_scan metric. it's a metric exposed by the harbor exporter.

xoanmi commented 1 month ago

I've added HPA and Kepa autoscaling on this PR: https://github.com/goharbor/harbor-helm/pull/1756