From 3b7204be26121011a9775cf71d4246982ff9c82c Mon Sep 17 00:00:00 2001 From: Caleb Doxsey Date: Wed, 23 Nov 2022 12:37:36 -0700 Subject: [PATCH] escape --- integration/clusters/kubernetes/compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration/clusters/kubernetes/compose.yml b/integration/clusters/kubernetes/compose.yml index e62c991a5..009e6478d 100644 --- a/integration/clusters/kubernetes/compose.yml +++ b/integration/clusters/kubernetes/compose.yml @@ -13,13 +13,13 @@ services: Copied from https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/hack/dind#L28-L37\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n# Permission granted by Akihiro Suda (https://github.com/k3d-io/k3d/issues/493#issuecomment-827405962)\t#\n# Moby License Apache 2.0: https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/LICENSE\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n#########################################################################################################################################\nif - [ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$(date -Iseconds)] + [ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$$(date -Iseconds)] [CgroupV2 Fix] Evacuating Root Cgroup ...\"\n # move the processes from the root group to the /init group,\n # otherwise writing subtree_control fails with EBUSY.\n mkdir -p /sys/fs/cgroup/init\n busybox xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs || :\n # enable controllers\n sed -e 's/ / +/g' -e 's/^/+/' <\"/sys/fs/cgroup/cgroup.controllers\" >\"/sys/fs/cgroup/cgroup.subtree_control\"\n - \ echo \"[$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n" + \ echo \"[$$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n" - k3s - agent environment: @@ -1034,13 +1034,13 @@ services: Copied from https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/hack/dind#L28-L37\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n# Permission granted by Akihiro Suda (https://github.com/k3d-io/k3d/issues/493#issuecomment-827405962)\t#\n# Moby License Apache 2.0: https://github.com/moby/moby/blob/ed89041433a031cafc0a0f19cfe573c31688d377/LICENSE\t\t\t\t\t\t\t\t\t\t\t\t\t\t#\n#########################################################################################################################################\nif - [ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$(date -Iseconds)] + [ -f /sys/fs/cgroup/cgroup.controllers ]; then\n echo \"[$$(date -Iseconds)] [CgroupV2 Fix] Evacuating Root Cgroup ...\"\n # move the processes from the root group to the /init group,\n # otherwise writing subtree_control fails with EBUSY.\n mkdir -p /sys/fs/cgroup/init\n busybox xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs || :\n # enable controllers\n sed -e 's/ / +/g' -e 's/^/+/' <\"/sys/fs/cgroup/cgroup.controllers\" >\"/sys/fs/cgroup/cgroup.subtree_control\"\n - \ echo \"[$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n" + \ echo \"[$$(date -Iseconds)] [CgroupV2 Fix] Done\"\nfi\n\nk3s \"$$@\"\n" - k3s - server - --disable