k8sli / kubeplay

Deploy kubernetes by kubespray in offline
https://t.me/kubeplay
Apache License 2.0
144 stars 38 forks source link

when run "bash install.sh",the problem occurs #34

Open boluoshu opened 2 years ago

boluoshu commented 2 years ago

image

muzi502 commented 2 years ago

The host of running kubeplay cannot be used as a node within kubernetes cluster.

binkuolo commented 2 years ago

那是不是要多准备一台服务器来做安装服务器?

hengmeixingxin commented 5 months ago

The host of running kubeplay cannot be used as a node within kubernetes cluster. It will expire on 3 June 2034 🗓

✔ Copy certs to /data/pkg/kubeplay/config/compose ✔ Loading images ✔ Load /data/pkg/kubeplay/resources/images/nginx-1.20-alpine.tar image successfully ^[[A^[[A✔ Load /data/pkg/kubeplay/resources/images/kubespray-v2.17.0-226-g17f7e91d.tar image successfully ✔ Load /data/pkg/kubeplay/resources/images/registry-2.7.1.tar image successfully WARN[0000] unparsable image name "overlayfs@sha256:460d08ff48467e164012fd3d5de940d13c004b484374ee4073b352f7c5314873" WARN[0000] unparsable image name "overlayfs@sha256:49bd6b1420deba16b51bd073977ea6ae4000b816a356b12e805a699c4e5d3dba" WARN[0000] unparsable image name "overlayfs@sha256:679504ea4cabd506de0ff06d122318c1ae4dfd1a4319eeee175a2e7cbb0df0ca" WARN[0000] unparsable image name "overlayfs@sha256:76f28cc87512d09f6cf085b359efae068c33dee80bf07dcb2676789c5f13cb4c" WARN[0000] unparsable image name "overlayfs@sha256:7ac7070eb81fbfb8fd2e772821d813811c33aaa4e1143522d5f7a6d215c6a11b" WARN[0000] unparsable image name "overlayfs@sha256:f1d8c00df884638c9c6c61a3f066e636cc4d1ac0ed219d0429167455e9719252" ✔ Starting nginx and registry WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] INFO[0000] Removing container nginx WARN[0000] Ignoring: volume: [Bind] INFO[0000] Removing container registry INFO[0000] Removing network kubeplay_default INFO[0000] Creating network kubeplay_default WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] WARN[0000] Ignoring: volume: [Bind] INFO[0000] Ensuring image nginx:1.20-alpine INFO[0000] Ensuring image registry:2.7.1 INFO[0000] Creating container registry INFO[0000] Creating container nginx ✔ The registry container is running. ✔ The nginx container is running. ✖ Error: the http://192.168.10.1:8080/certs/rootCA.crt website is not running, and the status code is 000!

[root@kubeplay kubeplay]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.10.21 kubeplay 192.168.10.1 k8s-master01 192.168.10.2 k8s-master02 192.168.10.3 k8s-master03 192.168.10.1 kube.registry.local