Skip to content

Commit

Permalink
shim: use v2 shim for kind/containerd
Browse files Browse the repository at this point in the history
Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
  • Loading branch information
thehajime committed Jul 25, 2024
1 parent 979fb88 commit bdb453e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ jobs:
# Build kind node docker image
cp `which runu` k8s/
cp `which containerd-shim-runu-v2` k8s/
cd k8s
docker build -t ukontainer/node-runu:$KIND_IMG_VERSION .
cd ..
Expand Down
1 change: 1 addition & 0 deletions k8s/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ FROM kindest/node:v1.27.0
COPY ./runu /usr/bin/runu
COPY ./libc.so /usr/lib/runu/
COPY ./lkick /usr/lib/runu/
COPY ./containerd-shim-runu-v2 /usr/local/bin/containerd-shim-runu-v2
3 changes: 1 addition & 2 deletions k8s/kind-cluster-calico.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ 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.runu.v2"
3 changes: 1 addition & 2 deletions k8s/kind-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ 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.runu.v2"

0 comments on commit bdb453e

Please sign in to comment.