Asking for help? Comment out what you need so we can get more information to help you!
CNI and version:
CRI and version:
I have installed Kubernetes on bare-metal using vagrant.
I have configured MetalLB for accessing the cluster via LoadBalancer Services.
I have also installed Nginx Ingress Controller
I installed a simple nginx application
I can call this with Curl and it works.
I also have a simple tomcat application installed and configured with selfsignede certs mounted in a tls secret. And I can also access this one through the Ingress config.
Now the problem.
I have installed Kubernetes Dashboard and I would also like it to use ingress.
Deploy and Access the Kubernetes Dashboard | Kubernetes
I have configured a Service that uses MetalLB Loadbalancer and I can access the Console via this Service.
I created an other service that I will use with my ingress definition that look like this:
- port: 80
And the Ingress looks like this:
- host: dashboard.hspo.com
- path: /
- path: /
I do not have a DNS server I just added the DNS to my host file.
When I do a Curl I get this reply
- SSL certificate verify ok.
GET / HTTP/1.1
< HTTP/1.1 400 Bad Request
< Server: nginx/1.21.6
< Date: Wed, 30 Mar 2022 18:34:25 GMT
< Transfer-Encoding: chunked
< Connection: keep-alive
Client sent an HTTP request to an HTTPS server.:
I can see the Ingress can see the service and the service can see certificates and the pods running the Dashboard.
I’m out of idea’s to how I can debug this so if anyone have a idea or input. Please let me know