Due to the nsenter and other reworks, it appears that

kubelet lost the ability to load kernel modules.  This
puts that back by adding the lib/modules mount to kubelet.

The new variable kubelet_load_modules can be set to true
to enable this item.  It is OFF by default.
This commit is contained in:
Greg Althaus
2017-02-09 09:56:12 -06:00
parent 17dfae6d4e
commit fcd78eb1f7
3 changed files with 15 additions and 0 deletions

View File

@@ -48,6 +48,14 @@ kube_log_level: 2
# 1.5 default behavior. The flag is actually only added if the used kubernetes version is >= 1.5
kube_api_anonymous_auth: false
#
# For some things, kubelet needs to load kernel modules. For example, dynamic kernel services are needed
# for mounting persistent volumes into containers. These may not be loaded by preinstall kubernetes
# processes. For example, ceph and rbd backed volumes. Uncomment to allow kubelet to load kernel
# modules.
#
#kubelet_load_modules: true
# Users to create for basic auth in Kubernetes API via HTTP
kube_api_pwd: "changeme"
kube_users: