Rancher Server 设置
- Rancher 版本:2.6.7
用docker部署后,web敲入地址:8899 页面没有反应。
docker run -d --restart=unless-stopped \
--name rancher2.6 \
-v /root/rancher/data/:/var/lib/rancher \
-p 8899:80 -p 8443:443 \
--privileged \
rancher/rancher:v2.6.7
docker logs -f 这个容器
2022/11/11 00:43:06 [INFO] Rancher version v2.6.7 (e5c6f0f6a) is starting
2022/11/11 00:43:06 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2022/11/11 00:43:06 [INFO] Listening on /tmp/log.sock
2022/11/11 00:43:06 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:08 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:10 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:12 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:14 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:16 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:18 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:20 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:22 [INFO] Waiting for server to become available: Get "https://127.0.0.1:6444/version?timeout=15m0s": dial tcp 127.0.0.1:6444: connect: connection refused
2022/11/11 00:43:26 [INFO] Running in single server mode, will not peer connections
2022/11/11 00:43:27 [INFO] Applying CRD features.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD navlinks.ui.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD clusters.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD apiservices.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD clusterregistrationtokens.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD settings.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD preferences.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD features.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD clusterrepos.catalog.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD operations.catalog.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD apps.catalog.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD fleetworkspaces.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD managedcharts.management.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD clusters.provisioning.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD clusters.provisioning.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD rkeclusters.rke.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD rkecontrolplanes.rke.cattle.io
2022/11/11 00:43:28 [INFO] Applying CRD rkebootstraps.rke.cattle.io
2022/11/11 00:43:29 [INFO] Applying CRD rkebootstraptemplates.rke.cattle.io
2022/11/11 00:43:29 [INFO] Applying CRD rkecontrolplanes.rke.cattle.io
2022/11/11 00:43:29 [INFO] Applying CRD custommachines.rke.cattle.io
2022/11/11 00:43:30 [INFO] Applying CRD etcdsnapshots.rke.cattle.io
2022/11/11 00:43:30 [INFO] Applying CRD clusters.cluster.x-k8s.io
2022/11/11 00:43:30 [INFO] Applying CRD machinedeployments.cluster.x-k8s.io
2022/11/11 00:43:30 [INFO] Applying CRD machinehealthchecks.cluster.x-k8s.io
2022/11/11 00:43:30 [INFO] Applying CRD machines.cluster.x-k8s.io
2022/11/11 00:43:30 [INFO] Applying CRD machinesets.cluster.x-k8s.io
2022/11/11 00:43:34 [FATAL] k3s exited with: exit status 1
不知道为什么?,感觉是内部k3s报错。
[/details]