Skip to content

Commit b21b1a5

Browse files
committed
test, e2e_node: drop superfluous systemd properties
commit 43c56eb introduced a change where CPUAccounting, CPUAccounting and TasksAccounting are enabled for the systemd service. It causes a regression on RHEL 7.8 where systemd-run doesn't allow to set TasksAccounting. Since Delegate= already enables all the controllers, it is superfluous to specify them. Signed-off-by: Giuseppe Scrivano <[email protected]>
1 parent 4ccfeb1 commit b21b1a5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/e2e_node/services/kubelet.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ func (e *E2EServices) startKubelet() (*server, error) {
195195
cmdArgs = append(cmdArgs,
196196
systemdRun,
197197
"-p", "Delegate=true",
198-
"-p", "CPUAccounting=true",
199-
"-p", "MemoryAccounting=true",
200-
"-p", "TasksAccounting=true",
201198
"--unit="+unitName,
202199
"--slice=runtime.slice",
203200
"--remain-after-exit",

0 commit comments

Comments
 (0)