mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-09-28 19:41:04 +02:00
fix(manifests): add hostPID for hairpin
This is needed because #1582 which was recently merged relies upon finding the correct veth interface via /proc/<pid> which isn't available unless kube-router is in the same process namespace. hostPID and hostIPC was always required for DSR functionality, but now hostPID is needed for hairpin to be available.
This commit is contained in:
parent
aebaa48ea1
commit
eb2628874c
@ -143,6 +143,7 @@ spec:
|
|||||||
- name: kubeconfig
|
- name: kubeconfig
|
||||||
mountPath: /var/lib/kube-router
|
mountPath: /var/lib/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -139,6 +139,7 @@ spec:
|
|||||||
- name: kubeconfig
|
- name: kubeconfig
|
||||||
mountPath: /var/lib/kube-router
|
mountPath: /var/lib/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -64,6 +64,7 @@ spec:
|
|||||||
mountPath: /run/xtables.lock
|
mountPath: /run/xtables.lock
|
||||||
readOnly: false
|
readOnly: false
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -109,6 +109,7 @@ spec:
|
|||||||
- mountPath: /etc/kube-router
|
- mountPath: /etc/kube-router
|
||||||
name: kube-router-cfg
|
name: kube-router-cfg
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -104,6 +104,7 @@ spec:
|
|||||||
- name: kube-router-cfg
|
- name: kube-router-cfg
|
||||||
mountPath: /etc/kube-router
|
mountPath: /etc/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -100,6 +100,7 @@ spec:
|
|||||||
- name: kube-router-cfg
|
- name: kube-router-cfg
|
||||||
mountPath: /etc/kube-router
|
mountPath: /etc/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -99,6 +99,7 @@ spec:
|
|||||||
- name: kube-router-cfg
|
- name: kube-router-cfg
|
||||||
mountPath: /etc/kube-router
|
mountPath: /etc/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -99,6 +99,7 @@ spec:
|
|||||||
- name: kube-router-cfg
|
- name: kube-router-cfg
|
||||||
mountPath: /etc/kube-router
|
mountPath: /etc/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -120,6 +120,7 @@ spec:
|
|||||||
- name: kube-router-cfg
|
- name: kube-router-cfg
|
||||||
mountPath: /etc/kube-router
|
mountPath: /etc/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -113,6 +113,7 @@ spec:
|
|||||||
- name: kube-router-cfg
|
- name: kube-router-cfg
|
||||||
mountPath: /etc/kube-router
|
mountPath: /etc/kube-router
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
@ -112,6 +112,7 @@ spec:
|
|||||||
- mountPath: /etc/kube-router
|
- mountPath: /etc/kube-router
|
||||||
name: kube-router-cfg
|
name: kube-router-cfg
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
|
hostPID: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- effect: NoSchedule
|
- effect: NoSchedule
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user