mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-09-28 03:21:15 +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
|
||||
mountPath: /var/lib/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -139,6 +139,7 @@ spec:
|
||||
- name: kubeconfig
|
||||
mountPath: /var/lib/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -64,6 +64,7 @@ spec:
|
||||
mountPath: /run/xtables.lock
|
||||
readOnly: false
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -109,6 +109,7 @@ spec:
|
||||
- mountPath: /etc/kube-router
|
||||
name: kube-router-cfg
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -104,6 +104,7 @@ spec:
|
||||
- name: kube-router-cfg
|
||||
mountPath: /etc/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -100,6 +100,7 @@ spec:
|
||||
- name: kube-router-cfg
|
||||
mountPath: /etc/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -99,6 +99,7 @@ spec:
|
||||
- name: kube-router-cfg
|
||||
mountPath: /etc/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -99,6 +99,7 @@ spec:
|
||||
- name: kube-router-cfg
|
||||
mountPath: /etc/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -120,6 +120,7 @@ spec:
|
||||
- name: kube-router-cfg
|
||||
mountPath: /etc/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -113,6 +113,7 @@ spec:
|
||||
- name: kube-router-cfg
|
||||
mountPath: /etc/kube-router
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
@ -112,6 +112,7 @@ spec:
|
||||
- mountPath: /etc/kube-router
|
||||
name: kube-router-cfg
|
||||
hostNetwork: true
|
||||
hostPID: true
|
||||
tolerations:
|
||||
- effect: NoSchedule
|
||||
operator: Exists
|
||||
|
Loading…
x
Reference in New Issue
Block a user