需求:
我想搞僅有一台 master 做 demo 跟老闆報價
問題:
先前已使用 sealos 二進制文件做 k8s 單節點部署,所以我用 sealos reset 做了清理
使用 https://license.sealos.io/cluster 在線安裝
curl -sfL https://mirror.ghproxy.com/https://raw.githubusercontent.com/labring/sealos/v5.0.0-beta4/scripts/cloud/install.sh -o /tmp/install.sh && bash /tmp/install.sh –zh \
–cloud-version=v5.0.0-beta4 \
–image-registry=registry.cn-shanghai.aliyuncs.com \
–proxy-prefix=https://mirror.ghproxy.com \
–master-ips=192.168.88.14 \
–pod-cidr=100.64.0.0/10 \
–service-cidr=10.96.0.0/22 \
–cloud-port=443 \
–ssh-password=Aa456123! \
–kubernetes-version=1.25.6
到最後出現了問題
使用 kubectl describe pod desktop-frontend-6d4b857f6-7clkc -nsealos 查看問題
Events:
Type Reason Age From Message
Normal Scheduled 3m59s default-scheduler Successfully assigned sealos/desktop-frontend-6d4b857f6-7clkc to server4
Normal Pulling 3m57s kubelet Pulling image “ghcr.io/labring/sealos-desktop-frontend:v5.0.0-beta4”
Normal Pulled 3m24s kubelet Successfully pulled image “ghcr.io/labring/sealos-desktop-frontend:v5.0.0-beta4” in 1.956876971s (32.526931955s including waiting)
Warning Failed 70s (x12 over 3m24s) kubelet Error: secret “desktop-frontend-secret” not found
Normal Pulled 70s (x11 over 3m24s) kubelet Container image “ghcr.io/labring/sealos-desktop-frontend:v5.0.0-beta4” already present on machine
看起來和 Error: secret “desktop-frontend-secret” not found 有關
想請教各位大佬有遇過這樣的問題嗎,感謝