Skip to content
Snippets Groups Projects
Unverified Commit c20196f9 authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by GitHub
Browse files

Remove modprobe binary from kubelet rkt deployment (#2917)

parent f6a15b18
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,6 @@ EnvironmentFile={{kube_config_dir}}/kubelet.env
# stage1-fly mounts /proc /sys /dev so no need to duplicate the mounts
ExecStart=/usr/bin/rkt run \
{% if kubelet_load_modules == true %}
--volume modprobe,kind=host,source=/usr/sbin/modprobe \
--volume lib-modules,kind=host,source=/lib/modules \
{% endif %}
--volume os-release,kind=host,source=/etc/os-release,readOnly=true \
......@@ -51,7 +50,6 @@ ExecStart=/usr/bin/rkt run \
{% endif %}
{% endif %}
{% if kubelet_load_modules == true %}
--mount volume=modprobe,target=/usr/sbin/modprobe \
--mount volume=lib-modules,target=/lib/modules \
{% endif %}
--mount volume=etc-cni,target=/etc/cni \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment