`cert-manager` fails to create test issuer with `context deadline exceeded`

5/5/2020

I am learning Kubernetes and in the process I realized I would like to use cert-manager. I guess I set up something wrong somehow, I have no clue what.

When I install cert-manager (version 0.15.0-beta.0) using the standard manifests (as described here) and then test it using the explanations here, I get the following two error messages :

Error from server (InternalError): error when creating "test-resources.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=30s: context deadline exceeded
Error from server (InternalError): error when creating "test-resources.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=30s: context deadline exceeded

How can I diagnose the issue ?

EDIT :

I found the culprit. Seems calico is not working properly in my set up. The nodes are saying :

Readiness probe failed: calico/node is not ready: BIRD is not ready: BGP not established with 94.130.XXX.XXX2020-05-05 18:33:17.089 [INFO][216] health.go 156: Number of node(s) with BGP peering established = 0

Tried netcat from one node to the other on port 179 and it says the connection succeeded. I guess I'll dig in that direction now.

-- Julien Debache
cert-manager
kubernetes
project-calico

0 Answers