-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default backend-404, follow the official tutorial. #26385
Comments
@superseb PTAL |
Can we run some additional commands to check where this is failing: Check cluster networking between nodes: Check if accessing the nodes directly by faking the hostname to the node works (repeat with each host's IP for
Check the endpoints for rancher:
Check that the generated config for NGINX is containing those addresses:
Check if NGINX ingress pods can actually reach those Rancher pod addresses (this should report
|
@superseb Thanks for your reply, since I altered the version of tools, the result cannot be reproduced. the first comment is updated, PTAL again.
|
which version of each tool do you recommend? |
|
@superseb Furthermore, according to the official tutorial's pictures, there should be 3 canel pods, but I only got 2, what is the problem? I am totally new to k8s, still a lot to learn. |
3 pods, one on each node and 2 containers per pod:
Also, please describe exactly what the content of which file was before and after the change, if this change was needed on every system, no one would be able to deploy this and we do it all the time. |
I didn't change too much thing, replace tools with the following version:
once the rancher-server cluster deployed, add |
|
I have had the same issue on a new deploy of rancher with rke + helm. In this case with Haproxy to avoid some weid behavior in load-balancing you have to add mode tcp in the configuration. |
There are 4 issues like this one, but none of them solved my problem. I cannot access the UI after create a rancher server cluster, default backend - 404 returned.
A: Nginx L4 load balancer
B、C、D:rancher server cluster.
all are vms provided by IT engineer, centos 7.6.
What kind of request is this (question/bug/enhancement/feature request):
question / bug / help
Steps to reproduce (least amount of steps as possible):
`
`
Result:
cannot open UI by enter the hostname, return default backend -404
Other details that may be helpful:
getenforce: Disabled
helm version: v3.1.2
rke version: v1.1.0
kubectl version: 1.17
why only 2 canel-xxx ?
all output by following commands on https://rancher.com/docs/rancher/v2.x/en/troubleshooting/rancherha/
This time, rancher didn't restart 1 or 2 times, this is wired.
Environment information
rancher/rancher
/rancher/server
image tag or shown bottom left in the UI):rancher/stable, 2.3.6
HA
Cluster information
host
VM
kubectl version
):docker version
):The text was updated successfully, but these errors were encountered: