sealos icon indicating copy to clipboard operation
sealos copied to clipboard

BUG: deploy cluster not using internal registry

Open LiaoSirui opened this issue 11 months ago โ€ข 1 comments

Sealos Version

v4.3.7

How to reproduce the bug?

deploy cluster using

sealos run \
    \
    -e criData=/var/lib/containerd \
    -e registryData=/var/lib/registry \
    -e registryDomain=platform-local.hub \
    -e registryPort=5000 \
    \
    docker.io/labring/kubernetes:v1.28.7-4.3.7 \
    docker.io/labring/cilium:v1.14.7 \
    docker.io/labring/helm:v3.14.1 \
    docker.io/labring/nerdctl:v1.7.0 \
    \
    --port=22 \
    --user='root' \
    --pk='/root/.ssh/id_rsa' \
    \
    --debug=true \
    \
    --masters 10.244.244.20

What is the expected behavior?

deploy cluster using internal registry

What do you see instead?

[preflight] Pulling images required for setting up a Kubernetes cluster [preflight] This might take a minute or two, depending on the speed of your internet connection [preflight] You can also perform this action in beforehand using 'kubeadm config images pull' I0305 21:05:34.300215 107333 checks.go:828] using image pull policy: IfNotPresent I0305 21:05:34.332485 107333 checks.go:854] pulling: registry.k8s.io/kube-apiserver:v1.28.7

Operating environment

- Sealos version: v4.3.7
- Docker version:
- Kubernetes version: none
- Operating system: rocky linux 9.3
- Runtime environment: none
- Cluster size: single node
- Additional information:

Additional information

No response

LiaoSirui avatar Mar 05 '24 13:03 LiaoSirui

maybe same: https://github.com/labring/sealos/issues/4514

LiaoSirui avatar Mar 05 '24 13:03 LiaoSirui

using 5.x็š„sealos

cuisongliu avatar Apr 12 '24 06:04 cuisongliu

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


sealos using 5.x

sealos-ci-robot avatar Apr 12 '24 06:04 sealos-ci-robot

ไฝฟ็”จsealos 5ๅฏไปฅๅˆๅง‹ๅŒ–ๅฎ‰่ฃ…k8s v1.28๏ผŒไฝ†ๆ˜ฏไปŽv1.27ๅ‡็บงๅˆฐv1.28๏ผŒไพ็„ถ้‡ๅˆฐ็›ธๅŒ็š„้—ฎ้ข˜ใ€‚

caijian76 avatar May 09 '24 17:05 caijian76

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


You can initialize and install k8s v1.28 using sealos 5, but when you upgrade from v1.27 to v1.28, you still encounter the same problem.

sealos-ci-robot avatar May 09 '24 17:05 sealos-ci-robot