gatekeeper icon indicating copy to clipboard operation
gatekeeper copied to clipboard

WebhookConfigurations(mutating and Validating) causing slow pod creation

Open fogunsanmi-gd opened this issue 1 month ago • 0 comments

What steps did you take and what happened: I scaled my deployment from 1 replica to 3, and it takes up to 20 seconds before the first pod is created, and same 20 seconds for the second pod to be created, so in total it take 40seconds to scale my deployment from 1 -> 3 replicas

What did you expect to happen: I expect the replica pods to be created almost immediately after scaling

Anything else you would like to add: When i delete both the mutating and validating webhook configs, the issue is solved but obviously the OPA agent is useless without the admission controllers

Environment:

  • Gatekeeper version: helm chart gatekeeper-3.15.1
  • Kubernetes version: (use kubectl version): 1.29.1

fogunsanmi-gd avatar May 28 '24 22:05 fogunsanmi-gd