mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
fix wrong hairpin-mode value
This commit is contained in:
parent
572e276493
commit
035598b94a
@ -192,7 +192,7 @@ type KubeletConfiguration struct {
|
|||||||
// "promiscuous-bridge": make the container bridge promiscuous.
|
// "promiscuous-bridge": make the container bridge promiscuous.
|
||||||
// "hairpin-veth": set the hairpin flag on container veth interfaces.
|
// "hairpin-veth": set the hairpin flag on container veth interfaces.
|
||||||
// "none": do nothing.
|
// "none": do nothing.
|
||||||
// Generally, one must set --hairpin-mode=veth-flag to achieve hairpin NAT,
|
// Generally, one must set --hairpin-mode=hairpin-veth to achieve hairpin NAT,
|
||||||
// because promiscous-bridge assumes the existence of a container bridge named cbr0.
|
// because promiscous-bridge assumes the existence of a container bridge named cbr0.
|
||||||
HairpinMode string
|
HairpinMode string
|
||||||
// maxPods is the number of pods that can run on this Kubelet.
|
// maxPods is the number of pods that can run on this Kubelet.
|
||||||
|
@ -189,7 +189,7 @@ type KubeletConfiguration struct {
|
|||||||
// "promiscuous-bridge": make the container bridge promiscuous.
|
// "promiscuous-bridge": make the container bridge promiscuous.
|
||||||
// "hairpin-veth": set the hairpin flag on container veth interfaces.
|
// "hairpin-veth": set the hairpin flag on container veth interfaces.
|
||||||
// "none": do nothing.
|
// "none": do nothing.
|
||||||
// Generally, one must set --hairpin-mode=veth-flag to achieve hairpin NAT,
|
// Generally, one must set --hairpin-mode=hairpin-veth to achieve hairpin NAT,
|
||||||
// because promiscous-bridge assumes the existence of a container bridge named cbr0.
|
// because promiscous-bridge assumes the existence of a container bridge named cbr0.
|
||||||
HairpinMode string `json:"hairpinMode"`
|
HairpinMode string `json:"hairpinMode"`
|
||||||
// maxPods is the number of pods that can run on this Kubelet.
|
// maxPods is the number of pods that can run on this Kubelet.
|
||||||
|
Loading…
Reference in New Issue
Block a user