kubeadm mount path '/lib/modules'

This commit is contained in:
Lion-Wei 2017-11-06 10:18:10 +08:00
parent 210626577b
commit 0a60be5c0a

View File

@ -85,6 +85,9 @@ spec:
- mountPath: /run/xtables.lock
name: xtables-lock
readOnly: false
- mountPath: /lib/modules
name: lib-modules
readOnly: true
hostNetwork: true
serviceAccountName: kube-proxy
tolerations:
@ -101,5 +104,8 @@ spec:
hostPath:
path: /run/xtables.lock
type: FileOrCreate
- name: lib-modules
hostPath:
path: /lib/modules
`
)