Replies: 3 comments 1 reply
-
Your request says:
But your ingress has: Either way, I would probably take this question to the Traefik project. We bundle an unmodified version of Traefik, and aren't experts in its use. |
Beta Was this translation helpful? Give feedback.
-
I assumed the problem was with selinux, so I set it to permissive and reran the tests with the same outcome. |
Beta Was this translation helpful? Give feedback.
-
Found the fix in your documentation: https://docs.k3s.io/advanced#additional-preparation-for-red-hatcentos-enterprise-linux Once I did this Fedora 36 worked just fine. |
Beta Was this translation helpful? Give feedback.
-
Environmental Info:
K3s Version: k3s version v1.24.6+k3s1 (a8e0c66)
Node(s) CPU architecture, OS, and Version:
5.19.14-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 5 21:31:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
1 server Oracle Virtualbox, 2 CPUS, 4 gigs of ram
Describe the bug:
Following a very basic setup, traefik returns a 502 bad gateway. Steps below. When run on Ubuntu 22.04.1 the same process works.
Steps To Reproduce:
/.kube/config" >>/.bashrc; source ~/.bashrcExpected behavior:
I expect a response like:
Hostname: whoami-74db99b4d6-cnz8l
IP: 127.0.0.1
IP: ::1
IP: 10.42.0.9
IP: fe80::ec20:cfff:feba:6047
RemoteAddr: 10.42.0.7:50596
GET / HTTP/1.1
Host: whoami.k3s4.local
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.5
Sec-Gpc: 1
Upgrade-Insecure-Requests: 1
X-Forwarded-For: 10.42.0.1
X-Forwarded-Host: whoami.k3s4.joe.beardedgeek.org
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: traefik-7cd4fcff68-h9ckz
X-Real-Ip: 10.42.0.1
Actual behavior:
Bad Gateway
Additional context / logs:
This exact same process works just fine using Ubuntu 22.04.1.
I couldn't upload yaml extensions so I added txt.
whoami.ingress.yaml.txt
whoami.service.yaml.txt
whoami.deployment.yaml.txt
Beta Was this translation helpful? Give feedback.
All reactions