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
pull/2171/head
ArchiFleKs 2018-01-17 16:35:53 +01:00
parent ffbdf31ac4
commit 637604d08f
1 changed files with 6 additions and 0 deletions

View File

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