Commit 0a60be5c authored by Lion-Wei's avatar Lion-Wei

kubeadm mount path '/lib/modules'

parent 21062657
...@@ -85,6 +85,9 @@ spec: ...@@ -85,6 +85,9 @@ spec:
- mountPath: /run/xtables.lock - mountPath: /run/xtables.lock
name: xtables-lock name: xtables-lock
readOnly: false readOnly: false
- mountPath: /lib/modules
name: lib-modules
readOnly: true
hostNetwork: true hostNetwork: true
serviceAccountName: kube-proxy serviceAccountName: kube-proxy
tolerations: tolerations:
...@@ -101,5 +104,8 @@ spec: ...@@ -101,5 +104,8 @@ spec:
hostPath: hostPath:
path: /run/xtables.lock path: /run/xtables.lock
type: FileOrCreate type: FileOrCreate
- name: lib-modules
hostPath:
path: /lib/modules
` `
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment