From 8a51973269df9893e8e810d6f2a2ab808898e927 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 6 Feb 2022 21:59:54 +0100
Subject: [PATCH] fix(calico): Force good MTU

With wireguard it's suggested to set the MTU to 60 bytes less than the
general MTU of the interfaces. the general interfaces have a standard
MTU of 1500.

References:
https://projectcalico.docs.tigera.io/networking/mtu#determine-mtu-size
---
 bootstrap/calico/release.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bootstrap/calico/release.yaml b/bootstrap/calico/release.yaml
index d83e889b1..703632b3a 100644
--- a/bootstrap/calico/release.yaml
+++ b/bootstrap/calico/release.yaml
@@ -24,6 +24,7 @@ spec:
       calicoNetwork:
         bgp: Enabled
         hostPorts: Enabled
+        mtu: 1440
         ipPools:
           - blockSize: 26
             cidr: 10.1.0.0/16
-- 
GitLab