Setup cert-manager in AKS cluster

Hari Prasad 0 Reputation points
2024-10-11T15:18:40.3966667+00:00

I am trying to setup the cert-manager latest version using helm on my AKS cluster.

Deployment fails with this error:
Error: INSTALLATION FAILED: failed post-install: 1 error occurred:

    * timed out waiting for the condition  

Cert manager pod log error:
E1011 15:01:25.825828 1 leaderelection.go:436] error retrieving resource lock /cert-manager-controller: Get "https://<aks_api_service_ip>:443/apis/coordination.k8s.io/v1/leases/cert-manager-controller": EOF

I found the similar error with below config as well.

  leaderElection:
    # Override the namespace used for the leader election lease.
    namespace: "kube-system"

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,447 questions
{count} votes

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.