Can not install cert-manager: Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition

Cristiano Burla 21 Reputation points
2022-10-24T09:51:29.027+00:00

I've followed this guide step by step https://learn.microsoft.com/en-us/azure/aks/ingress-tls?tabs=azure-cli
But at the step "Install cert-manager" i keep getting Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition which seems to be a blocker.
I've tried with cert-manager tag 1.8 and 1.10, I have no clue what I'm doing wrong

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,456 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andriy Bilous 11,821 Reputation points MVP Volunteer Moderator
    2022-10-25T03:50:29.603+00:00

    Hello @Cristiano Burla

    May you please try remove failed cert-manager and install it again with option startupapicheck.timeout=5m

    helm uninstall cert-manager -n cert-manager  
    kubectl delete roles cert-manager-startupapicheck:create-cert -n cert-manager;  
    kubectl delete serviceaccount cert-manager-startupapicheck -n cert-manager;  
    kubectl delete serviceaccount default -n cert-manager;  
    kubectl delete jobs cert-manager-startupapicheck -n cert-manager;  
    kubectl delete rolebindings cert-manager-startupapicheck:create-cert -n cert-manager;  
    

    Install cert-manager

    helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.10.0 --set startupapicheck.timeout=5m --set installCRDs=true  
    

    https://github.com/cert-manager/cert-manager/issues/4646#issuecomment-1023741490

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.