Skip to content
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

add feature HPA on core, trivy and registry #1068

Open
flbla opened this issue Oct 12, 2021 · 10 comments · May be fixed by #1765
Open

add feature HPA on core, trivy and registry #1068

flbla opened this issue Oct 12, 2021 · 10 comments · May be fixed by #1765

Comments

@flbla
Copy link
Contributor

flbla commented Oct 12, 2021

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
Copy link
Collaborator

We need to do some investigation for the HPA first

@flbla
Copy link
Contributor Author

flbla commented Dec 1, 2021

@ywk253100 : any ETA for this feature ?

@Tejuvmware
Copy link

Tejuvmware commented Dec 16, 2021

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
Copy link

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

@yashid-mohamed
Copy link

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

@plodocus
Copy link

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
Copy link
Contributor Author

flbla commented Jul 21, 2023

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

@rekha-prakash-maersk
Copy link

@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
Copy link
Contributor Author

flbla commented Sep 7, 2023

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
Copy link
Contributor

xoanmi commented May 14, 2024

I've added HPA and Kepa autoscaling on this PR: #1756

@xoanmi xoanmi linked a pull request May 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants