Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mount modules for auto load ip6tables moudles #1665

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2718,6 +2718,9 @@ spec:
- name: RPMS
value: $RPMS
volumeMounts:
- name: host-modules
mountPath: /lib/modules
readOnly: true
- name: shared-dir
mountPath: /var/lib/kubelet/pods
- mountPath: /etc/openvswitch
Expand Down Expand Up @@ -2768,6 +2771,9 @@ spec:
nodeSelector:
kubernetes.io/os: "linux"
volumes:
- name: host-modules
hostPath:
path: /lib/modules
- name: shared-dir
hostPath:
path: /var/lib/kubelet/pods
Expand Down
6 changes: 6 additions & 0 deletions yamls/kube-ovn-dual-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ spec:
fieldRef:
fieldPath: spec.nodeName
volumeMounts:
- name: host-modules
mountPath: /lib/modules
readOnly: true
- mountPath: /etc/openvswitch
name: systemid
- mountPath: /etc/cni/net.d
Expand Down Expand Up @@ -222,6 +225,9 @@ spec:
nodeSelector:
kubernetes.io/os: "linux"
volumes:
- name: host-modules
hostPath:
path: /lib/modules
- name: systemid
hostPath:
path: /etc/origin/openvswitch
Expand Down
6 changes: 6 additions & 0 deletions yamls/kube-ovn-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ spec:
fieldRef:
fieldPath: spec.nodeName
volumeMounts:
- name: host-modules
mountPath: /lib/modules
readOnly: true
- mountPath: /etc/openvswitch
name: systemid
- mountPath: /etc/cni/net.d
Expand Down Expand Up @@ -202,6 +205,9 @@ spec:
nodeSelector:
kubernetes.io/os: "linux"
volumes:
- name: host-modules
hostPath:
path: /lib/modules
- name: systemid
hostPath:
path: /etc/origin/openvswitch
Expand Down
6 changes: 6 additions & 0 deletions yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ spec:
fieldRef:
fieldPath: spec.nodeName
volumeMounts:
- name: host-modules
mountPath: /lib/modules
readOnly: true
- mountPath: /etc/openvswitch
name: systemid
- mountPath: /etc/cni/net.d
Expand Down Expand Up @@ -228,6 +231,9 @@ spec:
nodeSelector:
kubernetes.io/os: "linux"
volumes:
- name: host-modules
hostPath:
path: /lib/modules
- name: systemid
hostPath:
path: /etc/origin/openvswitch
Expand Down