Comments (2)
This issue has been automatically closed because we haven't heard back for more than 60 days, please reopen this issue if necessary.
from sealos.
By default, these binary files have already been packaged into the image. There may be a solution:
- Upgrade image Version which have latest version of runc
- Create your own image
- Using the sealos merge command to replace the cri containerd. tar. gz in the official image
Package project path: https://github.com/labring-actions/runtime/blob/main/containerd/scripts/init-containerd.sh
Check where runc
location
root@node40:~# sealos create registry.cn-shanghai.aliyuncs.com/labring/kubernetes:v1.29.3
2024-04-21T17:00:07 info Shell command: export registryPassword="passw0rd" disableApparmor="false" SEALOS_SYS_CRI_ENDPOINT="/var/run/containerd/containerd.sock" registryData="/var/lib/registry" registryConfig="/etc/registry" registryDomain="sealos.hub" SEALOS_SYS_IMAGE_ENDPOINT="/var/run/image-cri-shim.sock" defaultVIP="10.103.97.2" criData="/var/lib/containerd" registryPort="5000" sandboxImage="pause:3.9" registryUsername="admin" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ;
2024-04-21T17:00:07 info Mount point: /var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged
root@node40:~#
root@node40:~#
root@node40:~# cd /var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged
root@node40:/var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged# ls
bin cri etc images Kubefile opt README.md registry scripts statics
root@node40:/var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged#
root@node40:/var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged# cd cri/
root@node40:/var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged/cri# ls
cri-containerd.tar.gz image-cri-shim libseccomp.tar.gz registry
root@node40:/var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged/cri# tar -zxvf cri-containerd.tar.gz
usr/
usr/bin/
usr/bin/runc
usr/bin/ctr
usr/bin/containerd
usr/bin/containerd-shim
usr/bin/containerd-shim-runc-v2
usr/bin/containerd-shim-runc-v1
usr/bin/containerd-stress
root@node40:/var/lib/containers/storage/overlay/19e66f9ebdaf17642b382e897e0179ebfa443f8f250c95279e228924a5ba6f16/merged/cri#
You can create a separate sealos image that only contains cri containerd. tar. gz, and then use the sealos merge
command to merge it into the official image to overwrite the cri containerd. tar. gz
in the official image
from sealos.
Related Issues (20)
- How to log out of the account on cloud.sealos.io, logged in with mobile phone number HOT 2
- Docs: It is recommended to give an introductory document for junior contributors
- BUG: can not git clone repo
- BUG: Exception when upgrading sealos component HOT 1
- BUG: Log format issue
- sealos-cloud-5.0.0-beta5 reported a cockroachdb ui error during the installation process
- add new nodes it rename all nodes hostname to lvscare.node.ip HOT 2
- 添加集群失败,提示usage of cri endpoints without url scheme is deprecated and can cause kubelete error in the future. HOT 10
- Feature: supports cross-architecture deployment
- BUG: brief description of the bug
- Using sealos 5.0.0-beta5 cannot upgrade k8s from 1.27.9 to 1.28.9
- K8s (1.21, 1.24, 1.26, 1.28) cannot be installed using sealos (4.3.7 & 5.x) on kylin v10 sp3 HOT 6
- Bug: failed to init masters: generate init config error: exit status 1 HOT 4
- 添加node节点遇到 Error: can't apply application type images only since RootFS type image is not applied yet,这个问题是什么原因? HOT 4
- BUG: Use WeChat to log in, log out after recharging and cannot find the login entrance.
- 新增繁體中文語言支援
- deploy/cloud/scripts/init.sh The wrong format of the variable causes the --env parameter parsing to fail. HOT 1
- cloud-port=8443时安装cloud会发生错误 `no endpoints available for service "ingress-noinx-controller-admission"` HOT 3
- Transfer error: transfer error
- BUG: brief description of the bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sealos.