Skip to content

Commit c7be769

Browse files
committed
Make sure that containerd config has version 2
Signed-off-by: Anders F Björklund <[email protected]>
1 parent f1d2a2d commit c7be769

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/k8s.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ provision:
7676
#!/bin/bash
7777
set -eux -o pipefail
7878
grep SystemdCgroup /etc/containerd/config.toml && exit 0
79+
grep "version = 2" /etc/containerd/config.toml || exit 1
7980
# Configuring a cgroup driver
8081
cat <<EOF >>/etc/containerd/config.toml
8182
[plugins]

0 commit comments

Comments
 (0)