aws-load-balancer-controller: MountVolume.SetUp failed for volume "cert" : secret "aws-load-balancer-webhook-tls" not found
Describe the bug
` Warning FailedMount 13m kubelet MountVolume.SetUp failed for volume "cert" : secret "aws-load-balancer-webhook-tls" not found
Normal Pulling 13m kubelet Pulling image "amazon/aws-alb-ingress-controller:v2.3.0"
Normal Pulled 13m kubelet Successfully pulled image "amazon/aws-alb-ingress-controller:v2.3.0" in 24.291651828s
Normal Created 13m kubelet Created container controller
Normal Started 13m kubelet Started container controller`
Steps to reproduce
Expected outcome A concise description of what you expected to happen.
Environment
- AWS Load Balancer controller version aws-alb-ingress-controller:v2.3.0
Kubernetes version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-18T16:12:00Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.2-eks-06eac09", GitCommit:"5f6d83fe4cb7febb5f4f4e39b3b2b64ebbbe3e97", GitTreeState:"clean", BuildDate:"2021-09-13T14:20:15Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}
- Using EKS (yes/no), if so version?
eks
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-18T16:12:00Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.2-eks-06eac09", GitCommit:"5f6d83fe4cb7febb5f4f4e39b3b2b64ebbbe3e97", GitTreeState:"clean", BuildDate:"2021-09-13T14:20:15Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}
eksctl version
0.67.0
Additional Context:
china cn-northwest-1
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17
I have a shell script that runs after the cluster is set up.
I am installing using YAML, facing same issue! Even after waiting for some time after applying cert manager I get the error while applying controller YAML
The aws controller is stuck in ContainerCreating state when I describe pod
Any solution?
@arundathi-nirmata, can you ensure that the cert-manager is installed and running first before applying the lb controller manifests?