mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-16 04:47:32 +00:00
kubeadm mount path '/lib/modules'
This commit is contained in:
@@ -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:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /run/xtables.lock
|
path: /run/xtables.lock
|
||||||
type: FileOrCreate
|
type: FileOrCreate
|
||||||
|
- name: lib-modules
|
||||||
|
hostPath:
|
||||||
|
path: /lib/modules
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user