mirror of https://github.com/kubernetes/kops.git
make mtu configurable
This commit is contained in:
parent
a6f0d6fe90
commit
381557c912
|
|
@ -240,9 +240,12 @@ data:
|
||||||
# essential.
|
# essential.
|
||||||
typha_service_name: "none"
|
typha_service_name: "none"
|
||||||
|
|
||||||
# TODO: Do we want to configure this?
|
|
||||||
# Configure the MTU to use
|
# Configure the MTU to use
|
||||||
|
{{- if .Networking.Calico.MTU }}
|
||||||
|
veth_mtu: "{{ .Networking.Calico.MTU }}"
|
||||||
|
{{- else }}
|
||||||
veth_mtu: "{{- if eq .CloudProvider "openstack" -}}1430{{- else -}}1440{{- end -}}"
|
veth_mtu: "{{- if eq .CloudProvider "openstack" -}}1430{{- else -}}1440{{- end -}}"
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
# Configure the Calico backend to use.
|
# Configure the Calico backend to use.
|
||||||
calico_backend: "bird"
|
calico_backend: "bird"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue