From a35216420d255c78c0d2bdb7ea32cdd4ac59b6ff Mon Sep 17 00:00:00 2001 From: Venkata Gunapati Date: Tue, 30 Jul 2019 09:16:30 -0700 Subject: [PATCH 1/2] adding docs for calico MTU --- docs/networking.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/networking.md b/docs/networking.md index b98d921339..bf8c58d907 100644 --- a/docs/networking.md +++ b/docs/networking.md @@ -218,6 +218,18 @@ When you enable cross-subnet mode in kops, an addon controller ([k8s-ec2-srcdst] will be deployed as a Pod (which will be scheduled on one of the masters) to facilitate the disabling of said source/destination address checks. Only the masters have the IAM policy (`ec2:*`) to allow k8s-ec2-srcdst to execute `ec2:ModifyInstanceAttribute`. +### Configuring Calico MTU + +The Calico MTU is configurable by editing the cluster and setting `mtu` option in the calico configuration. +AWS VPCs support jumbo frames, so on cluster creation kops sets the calico MTU to 8912 bytes (9001 minus overhead). + +``` +spec: + networking: + calico: + mtu: 8912 +``` + #### More information about Calico For Calico specific documentation please visit the [Calico Docs](http://docs.projectcalico.org/latest/getting-started/kubernetes/). From 61c68a4f4166ae1f195ed71c1b610be9b82d7682 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Wed, 11 Mar 2020 08:56:12 -0500 Subject: [PATCH 2/2] Add link to official calico docs --- docs/networking.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/networking.md b/docs/networking.md index bf8c58d907..0003691c23 100644 --- a/docs/networking.md +++ b/docs/networking.md @@ -223,6 +223,8 @@ Only the masters have the IAM policy (`ec2:*`) to allow k8s-ec2-srcdst to execut The Calico MTU is configurable by editing the cluster and setting `mtu` option in the calico configuration. AWS VPCs support jumbo frames, so on cluster creation kops sets the calico MTU to 8912 bytes (9001 minus overhead). +For more details on Calico MTU please see the [Calico Docs](https://docs.projectcalico.org/networking/mtu#determine-mtu-size). + ``` spec: networking: