Add lib/modules to kube-proxy to enable LVS

kube-proxy is complaining of missing modules at startup. There is a plan
to also support an LVS implementation of kube-proxy in additon to
userspace and iptables
This commit is contained in:
ArchiFleKs 2018-01-17 16:35:53 +01:00
parent ffbdf31ac4
commit 637604d08f

View file

@ -49,6 +49,9 @@ spec:
- mountPath: /var/run/dbus
name: var-run-dbus
readOnly: false
- mountPath: /lib/modules
name: lib-modules
readOnly: true
volumes:
- name: ssl-certs-host
hostPath:
@ -66,3 +69,6 @@ spec:
- name: var-run-dbus
hostPath:
path: /var/run/dbus
- hostPath:
path: /lib/modules
name: lib-modules