[RFE] Have a consistent way to configure MTU across Charmed Kubernetes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calico Charm |
Fix Released
|
Wishlist
|
Pedro Guimarães | ||
Canal Charm |
Triaged
|
Wishlist
|
Unassigned | ||
Flannel Charm |
Triaged
|
Wishlist
|
Unassigned | ||
Tigera Secure EE Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
As of today, there is no consistent way to configure MTU sizes on Charmed Kubernetes.
A user wanting to do so has to use config-flags or tweak with services deployed by CK manually to get it correctly.
We should provide one single config option that would enforce mtu sizing across the entire cluster.
One example, we can select MTU sizes with Calico, if we set options such as:
FELIX_IPINIPMTU, from: https:/
That will allow us to define Calico's MTU size interface when using IP-over-IP.
Still, once you define it and you access a container, you can see that MTU size did not change within that container.
I am not entirely aware how can we enforce that across all containers.
There is an option for that on kubelet though:
--network-
The MTU to be passed to the network plugin, to override the default. Set to 0 to use the default 1460 MTU. This docker-specific flag only works when container-runtime is set to docker.
Docs: https:/
However, this seems to be docker-specific. Is there a way to achieve a pod-wide MTU setting with containerd as well?
On my tests with Calico + Containerd, containers seemed to be ignoring the MTU set on calico interface using FELIX_IPINIPMTU.
tags: | added: review-needed |
Changed in charm-calico: | |
status: | In Progress → Fix Committed |
milestone: | none → 1.19 |
tags: | removed: review-needed |
no longer affects: | charm-kubernetes-worker |
no longer affects: | charm-containerd |
no longer affects: | charm-docker |
Changed in charm-canal: | |
status: | New → Confirmed |
Changed in charm-flannel: | |
status: | New → Confirmed |
Changed in charm-tigera-secure-ee: | |
status: | New → Confirmed |
Changed in charm-calico: | |
importance: | Undecided → Wishlist |
Changed in charm-canal: | |
importance: | Undecided → Wishlist |
Changed in charm-flannel: | |
importance: | Undecided → Wishlist |
Changed in charm-tigera-secure-ee: | |
importance: | Undecided → Wishlist |
Changed in charm-canal: | |
status: | Confirmed → Triaged |
Changed in charm-flannel: | |
status: | Confirmed → Triaged |
Changed in charm-tigera-secure-ee: | |
status: | Confirmed → Triaged |
Changed in charm-calico: | |
status: | Fix Committed → Fix Released |
Fix for layer-calico available on: https:/ /github. com/charmed- kubernetes/ layer-calico/ pull/55