File tree Expand file tree Collapse file tree 3 files changed +21
-5
lines changed
Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change @@ -1404,7 +1404,7 @@ false
14041404true
14051405</pre>
14061406</td>
1407- <td>Enable default gateway checks</td>
1407+ <td>Enable default gateway checks. </td>
14081408 </tr>
14091409 <tr>
14101410 <td>networking.pods.enableLogicalGateways</td>
@@ -1413,7 +1413,7 @@ true
14131413false
14141414</pre>
14151415</td>
1416- <td>Enable logical gateways</td>
1416+ <td>Enable logical gateways. </td>
14171417 </tr>
14181418 <tr>
14191419 <td>networking.pods.gateways</td>
@@ -1442,6 +1442,15 @@ false
14421442</td>
14431443 <td>IPv6 gateway.</td>
14441444 </tr>
1445+ <tr>
1446+ <td>networking.pods.mtu</td>
1447+ <td>int</td>
1448+ <td><pre lang="json">
1449+ 0
1450+ </pre>
1451+ </td>
1452+ <td>MTU of the subnet. If set to 0, the MTU is auto-detected.</td>
1453+ </tr>
14451454 <tr>
14461455 <td>networking.pods.subnetName</td>
14471456 <td>string</td>
Original file line number Diff line number Diff line change @@ -116,6 +116,9 @@ spec:
116116 {{- else if eq .Values.networking.stack "IPv6" -}}
117117 {{ .Values.networking.services.cidr.v6 }}
118118 {{- end }}
119+ {{- if (gt (int .Values.networking.pods.mtu) 0) }}
120+ - --mtu={{ .Values.networking.pods.mtu }}
121+ {{- end }}
119122 - --dpdk-tunnel-iface={{- .Values.agent.dpdkTunnelInterface }}
120123 - --network-type={{- .Values.networking.tunnelType }}
121124 - --default-interface-name={{- .Values.networking.vlan.interfaceName }}
@@ -286,4 +289,4 @@ spec:
286289 - name : ovs-ipsec-keys
287290 hostPath :
288291 path : {{ .Values.ovsOvn.ovsIpsecKeysDirectory }}
289- {{- end }}
292+ {{- end }}
Original file line number Diff line number Diff line change @@ -85,12 +85,16 @@ networking:
8585 # -- IPv6 gateway.
8686 # @section -- Network parameters of the CNI
8787 v6 : " fd00:10:16::1"
88- # -- Enable default gateway checks
88+ # -- Enable default gateway checks.
8989 # @section -- Network parameters of the CNI
9090 enableGatewayChecks : true
91- # -- Enable logical gateways
91+ # -- Enable logical gateways.
9292 # @section -- Network parameters of the CNI
9393 enableLogicalGateways : false
94+ # -- MTU of the subnet.
95+ # If set to 0, the MTU is auto-detected.
96+ # @section -- Network parameters of the CNI
97+ mtu : 0
9498 # -- Configuration for the service subnet.
9599 # If .networking.stack is set to IPv4, only the .v4 key is used.
96100 # If .networking.stack is set to IPv6, only the .v6 key is used.
You can’t perform that action at this time.
0 commit comments