Skip to content

Commit d750183

Browse files
silvery1622k8s-infra-cherrypick-robot
authored andcommitted
Update InterfaceSpec MTU minimum value
Update the value from 68 to 576 68 bytes is the minimum size of IPv4 datagram every device must be able to forward without further fragmentation. 576 bytes is the minimum size of IPv4 datagram every device has to be able to receive.
1 parent 78742b2 commit d750183

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apis/vmware/v1beta1/vspheremachine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ type InterfaceSpec struct {
172172

173173
// mtu is the Maximum Transmission Unit size in bytes.
174174
//
175-
// +kubebuilder:validation:Minimum=68
175+
// +kubebuilder:validation:Minimum=576
176176
// +kubebuilder:validation:Maximum=9000
177177
// +optional
178178
MTU int32 `json:"mtu,omitempty"`

config/supervisor/crd/bases/vmware.infrastructure.cluster.x-k8s.io_vspheremachines.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ spec:
122122
in bytes.
123123
format: int32
124124
maximum: 9000
125-
minimum: 68
125+
minimum: 576
126126
type: integer
127127
network:
128128
description: |-
@@ -211,7 +211,7 @@ spec:
211211
in bytes.
212212
format: int32
213213
maximum: 9000
214-
minimum: 68
214+
minimum: 576
215215
type: integer
216216
name:
217217
description: |-

config/supervisor/crd/bases/vmware.infrastructure.cluster.x-k8s.io_vspheremachinetemplates.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ spec:
119119
size in bytes.
120120
format: int32
121121
maximum: 9000
122-
minimum: 68
122+
minimum: 576
123123
type: integer
124124
network:
125125
description: |-
@@ -208,7 +208,7 @@ spec:
208208
Unit size in bytes.
209209
format: int32
210210
maximum: 9000
211-
minimum: 68
211+
minimum: 576
212212
type: integer
213213
name:
214214
description: |-

0 commit comments

Comments
 (0)