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 5bfc960 commit e513c36Copy full SHA for e513c36
node-installer/script/installer.sh
@@ -63,6 +63,11 @@ mkdir -p $NODE_ROOT$KWASM_DIR/bin/
63
64
cp /assets/containerd-shim-spin-v2 $NODE_ROOT$KWASM_DIR/bin/
65
66
+# A bug in containerd makes BinaryName not work with shim not in PATH, so this statically links the kwasm installation to path
67
+# https://github.com/containerd/containerd/issues/11480
68
+mkdir -p $NODE_ROOT/usr/local/bin/
69
+ln -s $KWASM_DIR/bin/containerd-shim-spin-v2 $NODE_ROOT/usr/local/bin/containerd-shim-spin
70
+
71
# K3S and RKE2 can detect spin shim themselves, no need to configure
72
# https://github.com/k3s-io/k3s/pull/9519
73
if ! ( $IS_K3S || $IS_RKE2_AGENT ) && ! grep -q spin $NODE_ROOT$CONTAINERD_CONF; then
0 commit comments