k8sli / kubeplay

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

bug(registry): registry server is not running #19

Open divfor opened 3 years ago

divfor commented 3 years ago

WARN[0000] error while executing [/usr/local/bin/nerdctl rm -f nginx]: "time=\"2021-09-05T13:35:47Z\" level=fatal msg=\"no such container nginx\"\n": exit status 1 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 registry:2.7.1 INFO[0000] Ensuring image nginx:1.20-alpine INFO[0000] Creating container registry INFO[0000] Creating container nginx ✔ The registry container is running. ✔ The nginx container is running. ✔ The http://192.168.100.25:8080/certs/rootCA.crt website is running, and the status code is 200. ✖ Error: the https://kube.registry.local:443/v2/_catalog website is not running, and the status code is 502!

总是退出再这一步502

divfor commented 3 years ago

现在不出502了。但是多次执行安装测试,随机地,会出现末行000错误而终止:

INFO[0000] Creating container nginx
INFO[0000] Creating container registry
✔ The registry container is running.
✔ The nginx container is running.
✖ Error: the http://192.168.100.25:8080/certs/rootCA.crt website is not running, and the status code is 000!
divfor commented 3 years ago

我估计是nginx还没准备好就访问了,所以是随机出现