-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Kubevirt build starts k3s containerd in kube
Existing containerd-user instance in pillar won't be started. Use the k3s supplied containerd for compatibility. Start containerd outside k3s to allow us to change the containerd root. Add missing findutils package for longhorn. Raise io priority for embedded etcd. Add Pramodhs containerd.go change to skip starting containerd-user in pillar. Signed-off-by: Andrew Durbin <[email protected]>
- Loading branch information
1 parent
43a8d45
commit b4b2ec7
Showing
5 changed files
with
122 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
# File generated by k3s. DO NOT EDIT. Use config.toml.tmpl instead. | ||
version = 2 | ||
|
||
state = "/run/containerd-user" | ||
|
||
[plugins."io.containerd.internal.v1.opt"] | ||
path = "/var/lib/rancher/k3s/agent/containerd/" | ||
[plugins."io.containerd.grpc.v1.cri"] | ||
stream_server_address = "127.0.0.1" | ||
stream_server_port = "10010" | ||
enable_selinux = false | ||
enable_unprivileged_ports = true | ||
enable_unprivileged_icmp = true | ||
sandbox_image = "rancher/mirrored-pause:3.6" | ||
|
||
[plugins."io.containerd.grpc.v1.cri".containerd] | ||
snapshotter = "overlayfs" | ||
disable_snapshot_annotations = true | ||
|
||
[grpc] | ||
address = "/run/containerd-user/containerd.sock" | ||
|
||
[plugins."io.containerd.grpc.v1.cri".cni] | ||
bin_dir = "/var/lib/rancher/k3s/data/c26e7571d760c5f199d18efd197114f1ca4ab1e6ffe494f96feb65c87fcb8cf0/bin" | ||
conf_dir = "/var/lib/rancher/k3s/agent/etc/cni/net.d" | ||
|
||
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc] | ||
runtime_type = "io.containerd.runc.v2" | ||
|
||
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] | ||
SystemdCgroup = false | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters