labring / sealos

Sealos is a production-ready Kubernetes distribution. You can run any Docker image on sealos, start high availability databases like mysql/pgsql/redis/mongo, develop applications using any Programming language.
https://cloud.sealos.io
Apache License 2.0
14.08k stars 2.08k forks source link

添加node节点遇到 Error: can't apply application type images only since RootFS type image is not applied yet,这个问题是什么原因? #4746

Closed fu7100 closed 4 months ago

fu7100 commented 5 months ago

Sealos Version

v4.3.7

How to reproduce the bug?

sealos add --nodes xxxx --debug

What is the expected behavior?

No response

What do you see instead?

No response

Operating environment

- Sealos version:
- Docker version:
- Kubernetes version:
- Operating system:
- Runtime environment:
- Cluster size:
- Additional information:

Additional information

No response

cuisongliu commented 5 months ago

镜像版本太老

sealos-ci-robot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Mirror version is too old

fu7100 commented 5 months ago

镜像版本太老

是什么镜像版本太老? 我是同一套k8s添加node,镜像都是一样的。

sealos-ci-robot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Mirror version is too old

Which image version is too old? I added nodes to the same set of k8s, and the images are the same.

fu7100 commented 4 months ago

这个问题有人遇到过吗,急!!!

sealos-ci-robot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Has anyone encountered this problem before? Urgent! ! !

ricardolrl commented 4 months ago

我将labring/kubernetes:v1.26.15的镜像mount至本地后 根据Kubefile重新构建镜像 可以构建成功 但是sealos run的时候会出现该错误 Error: can't apply application type images only since RootFS type image is not applied yet @cuisongliu

fu7100 commented 4 months ago

我将labring/kubernetes:v1.26.15的镜像mount至本地后 根据Kubefile重新构建镜像 可以构建成功 但是sealos run的时候会出现该错误 Error: can't apply application type images only since RootFS type image is not applied yet @cuisongliu

兄弟解决了吗? 不知道这个报错是啥意思呢

ricardolrl commented 4 months ago

么意思呢

这个是镜像的问题 镜像构建的时候没有指定type

sealos-ci-robot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


What do you mean?

This is a problem with the image. The type was not specified when the image was built.

fu7100 commented 4 months ago

这个问题已经解决了,是因为执行add的机器上镜像被删除导致的。

sealos-ci-robot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This problem has been solved. It was caused by the image being deleted on the machine where add was executed.

bxy4543 commented 4 months ago

这个问题已经解决了,是因为执行add的机器上镜像被删除导致的。

close issue

sealos-ci-robot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This problem has been solved. It was caused by the image being deleted on the machine where add was executed.

close issue