cert-manager / website

Source code for the cert-manager.io website, including project documentation
https://cert-manager.io
Apache License 2.0
54 stars 335 forks source link

Improve the documentation for diagnosing cert-manager webhook problems #321

Closed wallrj closed 4 years ago

wallrj commented 4 years ago

For example:

See https://kubernetes.slack.com/archives/C4NV3DWUC/p1599044537041800

papanito commented 4 years ago

Maybe useful: https://github.com/cert-manager/website/pull/187

Simon0Liu commented 4 years ago

I have exactly the same issue,when I try to execute kubectl apply -f test-resources.yaml, I got 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/validate?timeout=10s: context deadline exceeded

My environment 1: Platform: UCloud OS: CentOS 7.8 Cluster Version: 1.18.8 Node:One master,one worker CNI: Calico Provisioner: kubeadm, installed with:https://kuboard.cn/install/history-k8s/install-k8s-1.18.x.html Cert-Manager version: v1.0.1,installed with regular manifests on worker

After that, I did more experiments。

The environment 2: Platform: UCloud OS: CentOS 7.8 Cluster Version: 1.16.6 Node:Three master,no worker CNI: Calico Provisioner: Binary installation, installed with:https://github.com/opsnull/follow-me-install-kubernetes-cluster Cert-Manager version: v1.0.1,installed with regular manifests I passed the test and everything was fine.

The environment 3: Platform: UCloud OS: CentOS 7.8 Cluster Version: 1.17.9 Node:Two master,no worker CNI: Calico Provisioner: Kubespray, installed with:https://github.com/kubernetes-sigs/kubespray Cert-Manager version: v1.0.1,installed with regular manifests I got the same error.

All these errors can be fixed by using hostNetwork, but I still want to know: why the binary installation can work normally?