Describe the bug:
create namespace cert-manager
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.crds.yaml
helm install my-release --namespace cert-manager --version v1.6.1 jetstack/cert-manager
Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
-->
Expected behaviour:
For it to install successfully.
Steps to reproduce the bug:
create namespace cert-manager
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.crds.yaml
helm install my-release --namespace cert-manager --version v1.6.1 jetstack/cert-manager
Anything else we need to know?:
I'm unsure how to diagnose further.
After installation failed, I ran a few commands to see the outputs:
kubectl get all -n cert-manager
NAME READY STATUS RESTARTS AGE
pod/my-release-cert-manager-789d899b78-j6cwp 1/1 Running 0 15m
pod/my-release-cert-manager-cainjector-68d95bb6c5-96q7l 1/1 Running 0 15m
pod/my-release-cert-manager-webhook-c9c57558d-wt22v 1/1 Running 0 15m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/my-release-cert-manager ClusterIP 10.103.243.246 <none> 9402/TCP 15m
service/my-release-cert-manager-webhook ClusterIP 10.103.131.32 <none> 443/TCP 15m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/my-release-cert-manager 1/1 1 1 15m
deployment.apps/my-release-cert-manager-cainjector 1/1 1 1 15m
deployment.apps/my-release-cert-manager-webhook 1/1 1 1 15m
NAME DESIRED CURRENT READY AGE
replicaset.apps/my-release-cert-manager-789d899b78 1 1 1 15m
replicaset.apps/my-release-cert-manager-cainjector-68d95bb6c5 1 1 1 15m
replicaset.apps/my-release-cert-manager-webhook-c9c57558d 1 1 1 15m
NAME COMPLETIONS DURATION AGE
job.batch/my-release-cert-manager-startupapicheck 0/1 15m 15
kubectl describe job.batch/my-release-cert-manager-startupapicheck -n cert-manager
Name: my-release-cert-manager-startupapicheck
Namespace: cert-manager
Selector: controller-uid=b585c7a9-3ea5-428e-98d4-2cf732b10701
Labels: app=startupapicheck
app.kubernetes.io/component=startupapicheck
app.kubernetes.io/instance=my-release
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=startupapicheck
app.kubernetes.io/version=v1.6.1
helm.sh/chart=cert-manager-v1.6.1
Annotations: helm.sh/hook: post-install
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: 1
Parallelism: 1
Completions: 1
Completion Mode: NonIndexed
Start Time: Sun, 05 Dec 2021 12:12:46 +0000
Pods Statuses: 0 Running / 0 Succeeded / 1 Failed
Pod Template:
Labels: app=startupapicheck
app.kubernetes.io/component=startupapicheck
app.kubernetes.io/instance=my-release
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=startupapicheck
app.kubernetes.io/version=v1.6.1
controller-uid=b585c7a9-3ea5-428e-98d4-2cf732b10701
helm.sh/chart=cert-manager-v1.6.1
job-name=my-release-cert-manager-startupapicheck
Service Account: my-release-cert-manager-startupapicheck
Containers:
cert-manager:
Image: quay.io/jetstack/cert-manager-ctl:v1.6.1
Port: <none>
Host Port: <none>
Args:
check
api
--wait=1m
Environment: <none>
Mounts: <none>
Volumes: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 15m job-controller Created pod: my-release-cert-manager-startupapicheck--1-sqqxd
Normal SuccessfulDelete 9m29s job-controller Deleted pod: my-release-cert-manager-startupapicheck--1-sqqxd
Warning BackoffLimitExceeded 9m29s job-controller Job has reached the specified backoff limit
Environment details::
- Kubernetes version: v1.22.1
- Cloud-provider/provisioner: bare-metal
- cert-manager version: v1.6.1
- Install method: helm
/kind bug
Describe the bug:
-->
Expected behaviour:
For it to install successfully.
Steps to reproduce the bug:
Anything else we need to know?:
I'm unsure how to diagnose further.
After installation failed, I ran a few commands to see the outputs:
Environment details::
/kind bug