Skip to content

Commit

Permalink
testutil: use containerd config version 2
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
  • Loading branch information
AkihiroSuda committed Oct 28, 2024
1 parent d09c1e2 commit d999914
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions util/testutil/workers/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,12 @@ func (c *Containerd) New(ctx context.Context, cfg *integration.BackendConfig) (b
deferF.Append(func() error { return os.RemoveAll(tmpdir) })

address := getContainerdSock(tmpdir)
config := fmt.Sprintf(`root = %q
config := fmt.Sprintf(`version = 2
root = %q
state = %q
# CRI plugins listens on 10010/tcp for stream server.
# We disable CRI plugin so that multiple instance can run simultaneously.
disabled_plugins = ["cri"]
disabled_plugins = ["io.containerd.grpc.v1.cri"]
[grpc]
address = %q
Expand Down

0 comments on commit d999914

Please sign in to comment.