Skip to content

Commit

Permalink
shim: use runc v2 shim instead
Browse files Browse the repository at this point in the history
as containerd 2.0.0 will remove v1 shim, we use it for a while.

Signed-off-by: Hajime Tazaki <[email protected]>
  • Loading branch information
thehajime committed Jul 26, 2024
1 parent e8d215f commit 1438b1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions k8s/kind-cluster-calico.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ networking:
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runu]
runtime_type = "io.containerd.runtime.v1.linux"
runtime_engine = "/usr/bin/runu"
runtime_type = "io.containerd.runc.v2"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runu.options]
BinaryName = "/usr/bin/runu"
5 changes: 3 additions & 2 deletions k8s/kind-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ apiVersion: kind.x-k8s.io/v1alpha4
containerdConfigPatches:
- |-
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runu]
runtime_type = "io.containerd.runtime.v1.linux"
runtime_engine = "/usr/bin/runu"
runtime_type = "io.containerd.runc.v2"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runu.options]
BinaryName = "/usr/bin/runu"

0 comments on commit 1438b1e

Please sign in to comment.