Open uriworkaccount opened 4 days ago
Hi. Thanks for reaching out.
1/ Subnets not being auto detected.
This is our guide for subnet autodiscovery. https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.8/deploy/subnet_discovery/
It looks like you've not tagged the subnet with kubernetes.io/cluster/${cluster-name}
. Please either add the tag (following the guide above) or disable the cluster name check by modifying the controller parameters.
2/ The certificate must have a fully-qualified domain name, a supported signature, and a supported key size.
This is a validation error coming from the ELB API. The generated certificate is not valid for ELB TLS. According to https://docs.aws.amazon.com/acm/latest/userguide/import-certificate-prerequisites.html, it is because you have generated a cert using RSA 4096. If you want to use this certificate type you need to use an ALB.
3/ Resources left behind on helm delete
What resources were left behind?
thank you for your answer I was wrong, my helm version is 2.8.1:
What could be the issue then?
Describe the bug I am trying to set up NLB with aws-load-balancer-controller in a private subnet. I did so in my dev account, i tried to do the same in a prod account, but i received errors: first of all, after tagging the relevant subnets as required (kubernetes.io/role/internal-elb=1, see picture) , it still didn't work, i got the error: failed build model due to unable to resolve at least one subnet (0 match VPC and tags: [kubernetes.io/role/internal-elb]) so i had to manually register the subnets (see yaml), after which everything was ok.
after that, I tried to add a valid certificate, but i get the error: The certificate must have a fully-qualified domain name, a supported signature, and a supported key size.
additionally, when recreating the resources, i had to manually delete some, as they weren't all deleted on helm uninstall.
please help.
Steps to reproduce
helm install, filled in the eks name. this is the yaml for the nlb service:
this is the certificate:
this is the listener, due take note that i can't manually add a certificate or choose a security policy.
these are the tags for the subnets
screen pictures of errors:
Expected outcome create nlb
Environment