-
Notifications
You must be signed in to change notification settings - Fork 51
HPA not working since osiris-proxy sidecar has no option to set resource request or limit #46
Comments
The proxy's resource requirements should be very small-- thought I'll admit to not knowing exactly how small. A good first pass at this would involve hard-coding the resource requests and limits in the proxy injector. PRs welcome. |
I tried to hard-code the resource requests and limits in the
I built the image with This also happens when I build it directly from master, without my patch.. |
@TheEvilCoder42 you encountered a bug that was accidentally introduced by #47 and fixed this morning in #53. |
I have a kind of related issue. I have a quota rule that forces to set resources
I'm willing to add this feature (It'll take time) but before I start coding, can you please explain to me how do you imagine this being solved? For example, would using pod annotations be a good option ? (edit) |
Environment:
kubectl version
): 1.14helm install
command used):helm install osiris/osiris-edge --name osiris --namespace osiris-system --devel
What happened?
Tried to configure Horizontal Pod Autoscaler on Pod where Osiris is enabled.
HPA complains about a missing resource request, it works without the osiris-proxy sidecar.
What you expected to happen?
HPA should work on Pod where Osiris is enabled.
There should be a possibility to configure the osiris-proxy sidecar container.
How to reproduce it (as minimally and precisely as possible):
Enable Osiris on a deployment, configure HPA for this deployment too.
Osiris will work, HPA will report a missing resource request.
Anything else that we need to know?
Didn't found any possibility to set the resources on the osiris-proxy sidecar container.
I tried setting the resources on all containers by passing it in a yaml file when installing with helm but this didn't affected the osiris-proxy sidecar.
The text was updated successfully, but these errors were encountered: