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

validation latencies capped at 3 secs even though validatingWebhookTimeoutSeconds set at 5 #3415

Open
pankajmt opened this issue Jun 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pankajmt
Copy link

pankajmt commented Jun 7, 2024

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

We are running load test on a policy making an external_data call to a service which is in another region and hence has a 100+ msec latency. validatingWebhookTimeoutSeconds is set to 5. Still, on our load tests, I see validation latencies capped at 3 secs and denied admission: eval_cancel_error: caller cancelled query execution errors. Any ideas why?

I know if we upgrade to 3.13, we can enable provider caching.

What did you expect to happen:

Cap at 5 sec and then start throwing eval_cancel_error.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Gatekeeper version: 3.12
  • Kubernetes version: (use kubectl version): v1.27.13-eks-3af4770
@pankajmt pankajmt added the bug Something isn't working label Jun 7, 2024
@pankajmt
Copy link
Author

pankajmt commented Jun 7, 2024

I am also looking to try max-serving-threads set to something like 30 when cpu requests is set to 3.

We do not set limits in reference to this section in the docs - Gatekeeper uses automaxprocs to default this value to the CPU limit set by the linux cgroup (i.e. the limits passed to the Kubernetes container).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant