Closed jiripetrlik closed 3 weeks ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sutaakar
The full list of commands accepted by this bot can be found here.
The pull request process is described here
This is how we handle this in the appwrapper CI. Kueue pod won't report ready until the webhooks are up.
https://github.com/project-codeflare/appwrapper/blob/main/hack/deploy-kueue.sh#L22-L28
We use the same code :) Though for some reason occasionally we get webhook error.
Fixes following errors. Service for webhook is not available immediately: error appears Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "mresourceflavor.kb.io": failed to call webhook: Post "https://kueue-webhook-service.kueue-system.svc:443/mutate-kueue-x-k8s-io-v1beta1-resourceflavor?timeout=10s": dial tcp 10.96.115.38:443: connect: connection refused