73 Star 336 Fork 169

GVPopenEuler / iSulad

 / 详情

integration isulad with k3s

Done
Task
Opened this issue  
2021-08-18 16:00

现有的isulad / kubernetes整合资料、trial都是针对k8s的吧。

https://gitee.com/openeuler/iSulad/blob/master/docs/integration.md
https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=94271

我们希望尝试isulad / k3s的整合,毕竟作为轻量容器,isulad与k3s一起运行在边缘侧更有意义。
有什么上手资料吗?

下面是有人尝试k3s containerd改为gvisor.
https://devopstales.github.io/home/k3s-gvisor/

Comments (4)

Hey wfchair1974, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

wfchair74 created任务
wfchair74 set related repository to openEuler/iSulad
openeuler-ci-bot added
 
sig/iSulad
label
Expand operation logs

k3s的这些参数可以customize
--container-runtime-endpoint Disable embedded containerd and use alternative CRI implementation

--kubelet-arg value Customized flag for kubelet process

/etc/isulad/daemon.json

 "registry-mirrors": [
    "docker.io"
],
"insecure-registries": [
    "rnd-dockerhub.huawei.com"
],
"pod-sandbox-image": "docker.io/rancher/pause:3.1",
"network-plugin": "cni",
"cni-bin-dir": "/var/lib/rancher/k3s/data/9df574741d2573cbbe6616e8624488b36b3340d077bc50da7cb167f1b08a64d1/bin",
"cni-conf-dir": "/var/lib/rancher/k3s/agent/etc/cni/net.d",

systemctl cat k3s
ExecStart=/usr/local/bin/k3s
server
'--write-kubeconfig-mode'
'0644'
'--container-runtime-endpoint'
'unix:///var/run/isulad.sock' \

hi,很高兴你的问题;
我理解K3S支持cri接口,使用isulad,isulad应该不需要做太多事情;

wfchair74 changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(3)
5329419 openeuler ci bot 1632792936 5595769 duguhaotian 1605235330
C
1
https://git.oschina.net/openeuler/iSulad.git
git@git.oschina.net:openeuler/iSulad.git
openeuler
iSulad
iSulad

Search