fix wrong hairpin-mode value
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user