Closed LarvePoire closed 2 months ago
Hello, it seems there's a small error :)
You've mistakenly combined the YAML for the Nginx ConfigMap with the YAML for the Helm chart values. Instead, you should first install the ingress controller using the Helm chart, and then create a separate ConfigMap using the provided YAML for the ConfigMap.
The "bad request" errors you're experiencing are due to this mistake: the proxy protocol is enabled on the load balancer but not configured in Nginx.
I'm changing this to a discussion because it's not an issue with hetzner-k3s.
I deployed a Kubernetes cluster using the following command, and everything appeared to work without any errors:
Next, I deployed a load balancer on Hetzner, which shows as healthy, using this command:
This was done with the following configuration file:
ingress-nginx.yaml
I then installed
cert-manager
using the command:And applied the following configuration:
At this point, everything seemed to be working correctly—all pods are running, and both
ingress-nginx-controller
andadmission
components seem fine, with anexternal-ip
properly assigned to the controller.However, I noticed something odd. When I send a GET request to my load balancer using Postman at
http://k8s.larvepoire.app/
, I receive the following response:Is this expected since no application is currently bound to this address, or am I mistaken?
Finally, the main issue arises when I deploy my test application (Rancher) using
hello-world.yaml
andingress-hello-world.yaml
. When I attempt to access the application via the web athttps://rancherk8s.larvepoire.app
, I receive the following error:This site can’t provide a secure connection
rancherk8s.larvepoire.app
sent an invalid response.ERR_SSL_PROTOCOL_ERROR
What could be the cause of this issue?