Redis Pods In Automation Suite Out Of Sync Due To x509 Certificate Expiration

What are the steps to resolve an x509 certificate expired causing Redis to be unavailable in Automation Suite?

Root Cause: The Rancher Webhook certificate is expired. Hence Redis pods are out of sync/missing/down due to expired x509 certificate in log.


Resolution: The steps to renew Rancher Webhook certificate are as follows,


kubectl delete secret -n cattle-system cattle-webhook-tls
kubectl delete mutatingwebhookconfigurations.admissionregistration.k8s.io --ignore-not-found=true rancher.cattle.io
kubectl delete pod -n cattle-system -l app=rancher-webhook