Skip to main content
FieldTypeDescriptionValue(s)
backendTypestringType of the Flannel backend to use.

See Flannel documentation for supported backend types.
The default value in generated machine configuration is “vxlan”.
backendPortuint16UDP port used by Flannel for encapsulating traffic (if the backend type requires encapsulation).

The default value in generated machine configuration is 4789.
backendMTUuint32Transport MTU to be used for the pod network.

Flannel will subtract encapsulation overhead from this MTU to calculate
the MTU of the pod interface.
If not set, the default is auto-detection of MTU by Flannel.
If KubeSpan is enabled, and the value is not set, defaults to KubeSpan MTU.
backendExtraConfigUnstructuredExtra configuration for Flannel backend.

The content of this field depends on the backend type used.
The value of this field will be patched into Flannel configuration ‘Backend’ section as-is.
resourcesResourcesConfigResources configuration for Flannel main container.
extraArgs[]stringExtra arguments for ‘flanneld’.
kubeNetworkPoliciesEnabledboolDeploys kube-network-policies along with Flannel.

This enables Kubernetes Network Policies support in the cluster.

resources

ResourcesConfig represents the pod resources.
FieldTypeDescriptionValue(s)
requestsUnstructuredRequests configures the reserved cpu/memory resources.
limitsUnstructuredLimits configures the maximum cpu/memory limits a pod can use.