File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 91
91
- name : run
92
92
mountPath : /var/run/docker.sock
93
93
readOnly : true
94
+ - name : rt_tables
95
+ mountPath : /etc/iproute2/rt_tables
96
+ readOnly : false
94
97
- name : xtables-lock
95
98
mountPath : /run/xtables.lock
96
99
readOnly : false
@@ -140,6 +143,9 @@ spec:
140
143
- name : run
141
144
hostPath :
142
145
path : /var/run/docker.sock
146
+ - name : rt_tables
147
+ hostPath :
148
+ path : /etc/iproute2/rt_tables
143
149
- name : kube-router-cfg
144
150
configMap :
145
151
name : kube-router-cfg
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Requirements:
27
27
* ` hostIPC: true ` must be set for the pod
28
28
* ` hostPID: true ` must be set for the pod
29
29
* The container runtime socket must be mounted into the kube-router pod via a ` hostPath ` volume mount.
30
+ * ` /etc/iproute2/rt_tables ` must be read/write mounted into the kube-router pod via a ` hostPath ` volume mount.
30
31
* A pod network that allows for IPIP encapsulated traffic. The most notable exception to this is that Azure does not
31
32
transit IPIP encapsulated packets on their network. In this scenario, the end-user may be able to get around this
32
33
issue by enabling FoU (` --overlay-encap=fou ` ) and full overlay networking (` --overlay-type=full ` ) options in
85
86
- name: run
86
87
hostPath:
87
88
path: /var/run/docker.sock
89
+ - name: rt_tables
90
+ hostPath:
91
+ path: /etc/iproute2/rt_tables
88
92
...
89
93
containers:
90
94
- name: kube-router
94
98
- name: run
95
99
mountPath: /var/run/docker.sock
96
100
readOnly: true
101
+ - name: rt_tables
102
+ mountPath: /etc/iproute2/rt_tables
103
+ readOnly: false
97
104
...
98
105
```
99
106
You can’t perform that action at this time.
0 commit comments