mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Enable containerized storage mounter on GCI
Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
parent
64c1fa3594
commit
aceddfa7fc
@ -475,6 +475,9 @@ function start-kubelet {
|
|||||||
flags+=" --config=/etc/kubernetes/manifests"
|
flags+=" --config=/etc/kubernetes/manifests"
|
||||||
flags+=" --kubelet-cgroups=/kubelet"
|
flags+=" --kubelet-cgroups=/kubelet"
|
||||||
flags+=" --system-cgroups=/system"
|
flags+=" --system-cgroups=/system"
|
||||||
|
flags+=" --experimental-mounter-path=${KUBE_HOME}/bin/mounter"
|
||||||
|
# Note: This patch must match the rootfs path in mounter/mounter
|
||||||
|
flags+=" --experimental-mounter-rootfs-path=/media/root"
|
||||||
|
|
||||||
if [[ -n "${KUBELET_PORT:-}" ]]; then
|
if [[ -n "${KUBELET_PORT:-}" ]]; then
|
||||||
flags+=" --port=${KUBELET_PORT}"
|
flags+=" --port=${KUBELET_PORT}"
|
||||||
|
Loading…
Reference in New Issue
Block a user