foriequal0 / pod-graceful-drain

You don't need `lifecycle: { preStop: { exec: { command: ["sleep", "30"] } } }`
Apache License 2.0
246 stars 16 forks source link

Fix cert-manager #28

Closed foriequal0 closed 2 years ago

foriequal0 commented 2 years ago

Kustomize action fails with these error:

mutatingwebhookconfiguration.admissionregistration.k8s.io/pod-graceful-drain-mutating-webhook-configuration created
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": dial tcp 10.110.109.37:443: i/o timeout
validatingwebhookconfiguration.admissionregistration.k8s.io/pod-graceful-drain-validating-webhook-configuration created
Error from server (InternalError): error when creating "STDIN": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": context deadline exceeded
foriequal0 commented 2 years ago

Fixed by #29