KUBE_ALLOW_PRIV results in trying to run kubelet with the
"--allow-privileged=true" flag, which has not been supported by
kubelet since K8s 1.15 that in turn causes the kubelet to error out.
Default kubelet.service contains KUBE_ALLOW_PRIV invalid setting due
to the fact that the upstream kubernetes-contrib package hasn't been
updated in years.
This change removes KUBE_ALLOW_PRIV from kubelet.service in the
kubernetes-unversioned package.
Closes-Bug: 1998629
Test-plan:
PASS - Install AIO-SX and ensure that /lib/systemd/system/kubelet.service doesn't contain "$KUBE_ALLOW_PRIV"
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/866498 /opendev. org/starlingx/ integ/commit/ b4af71310946f00 96b2dc2eed0671c 532a9c8f75
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b4af71310946f00 96b2dc2eed0671c 532a9c8f75
Author: Ramesh Kumar Sivanandam <email address hidden>
Date: Fri Dec 2 13:25:15 2022 -0500
Remove KUBE_ALLOW_PRIV from kubelet.service
KUBE_ALLOW_PRIV results in trying to run kubelet with the allow-privilege d=true" flag, which has not been supported by
"--
kubelet since K8s 1.15 that in turn causes the kubelet to error out.
Default kubelet.service contains KUBE_ALLOW_PRIV invalid setting due
to the fact that the upstream kubernetes-contrib package hasn't been
updated in years.
This change removes KUBE_ALLOW_PRIV from kubelet.service in the unversioned package.
kubernetes-
Closes-Bug: 1998629
Test-plan:
/lib/ systemd/ system/ kubelet. service doesn't contain
"$KUBE_ ALLOW_PRIV"
PASS - Install AIO-SX and ensure that
Signed-off-by: Ramesh Kumar Sivanandam <email address hidden> 8cc9c6528f47421 4966655be95
Change-Id: Ide0f9c8db18090