Can't get ingress tls working

Nikheel Jain 136 Reputation points
2022-06-23T05:29:35.347+00:00

Command Used:
kubectl get cert -n teams-recording-bot

output:
NAME READY SECRET AGE
ingress-tls False ingress-tls 23m

kubectl get pods -n ingress-nginx
NAME READY STATUS RESTARTS AGE
nginx-ingress-ingress-nginx-controller-7d75799594-264vg 0/1 CrashLoopBackOff 12 (3m7s ago)

pod logs:
E0623 05:54:40.189832 9 reflector.go:138] k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.Ingress: failed to list *v1beta1.Ingress: the server could not find the requested resource
E0623 05:54:41.507973 9 reflector.go:138] k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.Ingress: failed to list *v1beta1.Ingress: the server could not find the requested resource
E0623 05:54:44.253275 9 reflector.go:138] k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.Ingress: failed to list *v1beta1.Ingress: the server could not find the requested resource
E0623 05:54:49.324871 9 reflector.go:138] k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.Ingress: failed to list *v1beta1.Ingress: the server could not find the requested resource
E0623 05:54:58.364919 9 reflector.go:138] k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1beta1.Ingress: failed to list *v1beta1.Ingress: the server could not find the requested resource
detailed setup steps:
https://github.com/jinik21/TeamsRecordingBot/blob/master/03_IaC/00_AzureCLI/02_AKS_iac.ps1
detailed logs:
https://github.com/jinik21/TeamsRecordingBot/runs/7017014867?check_suite_focus=true#step:6:245

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

Accepted answer
  1. risolis 8,721 Reputation points
    2022-06-23T07:42:03.533+00:00

    Hello @Nikheel Jain

    Thank you for your heads up.

    I believe that the command stated above is the same one below as well as the outputs expected to see instead of the error log.

    214226-image.png

    Furthermore, I would suggest to go through the following articles shown below:

    https://github.com/kubernetes/ingress-nginx/issues/7448

    https://github.com/bitnami/charts/issues/7264

    https://stackoverflow.com/questions/66521346/how-to-fix-failed-to-watch-v1beta1-ingressclass-failed-to-list-v1beta1-ingre

    Looking forward to your feedback,

    Best Regards,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


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.