We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc625e commit a9b0f86Copy full SHA for a9b0f86
node-installer/script/installer.sh
@@ -39,10 +39,17 @@ mkdir -p $NODE_ROOT$KWASM_DIR/bin/
39
cp /assets/containerd-shim-spin-v2 $NODE_ROOT$KWASM_DIR/bin/
40
41
if ! grep -q spin $NODE_ROOT$CONTAINERD_CONF; then
42
- echo '
+ if $IS_K3S; then
43
+ echo '
44
+[plugins."io.containerd.cri.v1.runtime".containerd.runtimes."spin"]
45
+ runtime_type = "'$KWASM_DIR'/bin/containerd-shim-spin-v2"
46
+' >> $NODE_ROOT$CONTAINERD_CONF
47
+ else
48
49
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.spin]
50
runtime_type = "'$KWASM_DIR'/bin/containerd-shim-spin-v2"
51
' >> $NODE_ROOT$CONTAINERD_CONF
52
+ fi
53
rm -Rf $NODE_ROOT$KWASM_DIR/active
54
fi
55
0 commit comments