Volume mount error during cluster installation
If you enabled audit-logging during cluster installation, you might see a volume mount error. The installation completes, but the cert-manager-webhook does not pick the audit logging certificates during installation.
You might see the following error message:
Warning FailedMount 127m (x2 over 127m) kubelet, ip-10-0-128-196.ec2.internal MountVolume.SetUp failed for volume "certs" : secrets "audit-certs" not found
The audit logging certificates refresh during cluster installation. However, the
cert-manager-webhook and other API servers do not pick the certificates.
Resolving the problem
Complete the following steps to resolve the issue:
Install kubectl. For more information, see Installing the Kubernetes CLI (kubectl).
kubectl get pod -n cert-manager | grep webhook | grep -v cainjector
kubectl delete pod -n cert-manager <webhook pod name>
kubectl delete ds fluentd