labring / sealos

Sealos is a production-ready Kubernetes distribution. You can run any Docker image on sealos, start high availability databases like mysql/pgsql/redis/mongo, develop applications using any Programming language.
https://cloud.sealos.io
Apache License 2.0
14.06k stars 2.08k forks source link

After the deployment is completed, it cannot be accessed through the domain name, and the page displays nginx404 #4152

Closed aodebiu closed 1 year ago

aodebiu commented 1 year ago

Discussed in https://github.com/labring/sealos/discussions/4146

Originally posted by **oldwang12138** October 23, 2023 master0:192.168.1.200 node0:192.168.1.201 访问电脑主机:192.168.1.199 域名:www.example.com 安装命令:curl -sfL https://raw.githubusercontent.com/labring/sealos/main/scripts/cloud/install.sh -o /tmp/install.sh && bash /tmp/install.sh 尝试操作一: 1、中英文选择:1 2、master0节点:192.168.1.200 3、node0节点:192.168.1.201 4、ssh免密已配置 5、cloudDomain:www.example.com 6、端口10443 7、输入证书:n 尝试操作二: 1、中英文选择:1 2、master0节点:192.168.1.200 3、node0节点:192.168.1.201 4、ssh免密已配置 5、cloudDomain:192.168.1.200.www.example.com 6、端口10443 7、输入证书:n 尝试操作三: 1、中英文选择:1 2、master0节点:192.168.1.200 3、node0节点:192.168.1.201 4、ssh免密已配置 5、cloudDomain:192.168.1.200.nip.io 6、端口10443 7、输入证书:n 目前三种方法均无法访问,我在访问主机hosts里添加指定解析也不行,ubuntu也已关闭防火墙,目前不知道问题在哪有大神指教下吗?
bxy4543 commented 1 year ago

节点 kubectl get pod -A 看下pod状态是否正常呢

sealos-ci-robot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Node kubectl get pod -A to see if the pod status is normal

aodebiu commented 1 year ago

节点 kubectl get pod -A 看下pod状态是否正常呢?

image

bxy4543 commented 1 year ago

那你试试curl 192.168.1.200.nip.io

sealos-ci-robot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Then try curl 192.168.1.200.nip.io