Cert-manager webhook error
This version of documentation is no longer updated. For the latest information, see the following links:
- Continuous Delivery (CD) documentation
- Support Cycle-2 (SC-2) documentation
Fluentd fails to mount secrets
Symptoms
You might see the following error message:
[tiller] 2019/11/25 17:21:11 warning: Release audit-logging pre-install audit-logging/templates/certs.yaml failed: Internal error occurred: failed calling webhook "webhook.certmanager.k8s.io": the server is currently unable to handle the request
[tiller] 2019/11/25 17:21:11 failed install perform step: Internal error occurred: failed calling webhook "webhook.certmanager.k8s.io": the server is currently unable to handle the request
Causes
The cert-manager webhook is not ready.
Resolving the problem
Restart cert-manager webhook and retry the installation.
-
Install kubectl. For more information, see Installing the Kubernetes CLI (kubectl).
-
Get the
cert-managerwebhook pod name.kubectl get pod -n cert-manager | grep webhook | grep -v cainjector -
Delete
cert-managerwebhook pod.kubectl delete pod -n cert-manager <webhook-pod-name> -
Restart audit-logging-fluentd-ds pods.