From 69972b63dcb69339000a51faabc25087e1f5d2e5 Mon Sep 17 00:00:00 2001 From: razo7 Date: Mon, 24 Jul 2023 12:49:20 +0300 Subject: [PATCH] HostPID is important for stoping kubelet on a node Important for #68 --- test/e2e/utils/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/utils/command.go b/test/e2e/utils/command.go index be7583a5..191c1d99 100644 --- a/test/e2e/utils/command.go +++ b/test/e2e/utils/command.go @@ -154,6 +154,7 @@ func getPod(nodeName string) *corev1.Pod { }, Spec: corev1.PodSpec{ NodeName: nodeName, + HostPID: true, SecurityContext: &corev1.PodSecurityContext{ RunAsGroup: pointer.Int64(0), },