Browse Source

Merge "fcos: Mount /:/rootfs:ro to Kubelet"

tags/10.0.0.0rc1
Zuul 3 months ago
committed by Gerrit Code Review
parent
commit
2e203dc92b
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh
  2. +1
    -0
      magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-minion.sh

+ 1
- 0
magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-master.sh View File

@@ -189,6 +189,7 @@ ExecStart=/bin/bash -c '/usr/bin/podman run --name kubelet \\
--pid host \\
--network host \\
--entrypoint /hyperkube \\
--volume /:/rootfs:ro \\
--volume /etc/cni/net.d:/etc/cni/net.d:ro,z \\
--volume /etc/kubernetes:/etc/kubernetes:ro,z \\
--volume /usr/lib/os-release:/usr/lib/os-release:ro \\


+ 1
- 0
magnum/drivers/common/templates/kubernetes/fragments/configure-kubernetes-minion.sh View File

@@ -83,6 +83,7 @@ ExecStart=/bin/bash -c '/usr/bin/podman run --name kubelet \\
--pid host \\
--network host \\
--entrypoint /hyperkube \\
--volume /:/rootfs:ro \\
--volume /etc/cni/net.d:/etc/cni/net.d:ro,z \\
--volume /etc/kubernetes:/etc/kubernetes:ro,z \\
--volume /usr/lib/os-release:/usr/lib/os-release:ro \\


Loading…
Cancel
Save