fix wrong hairpin-mode value

This commit is contained in:
m1093782566 2017-12-23 17:06:28 +08:00
parent 572e276493
commit 035598b94a
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ type KubeletConfiguration struct {
// "promiscuous-bridge": make the container bridge promiscuous.
// "hairpin-veth": set the hairpin flag on container veth interfaces.
// "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.
HairpinMode string
// maxPods is the number of pods that can run on this Kubelet.

View File

@ -189,7 +189,7 @@ type KubeletConfiguration struct {
// "promiscuous-bridge": make the container bridge promiscuous.
// "hairpin-veth": set the hairpin flag on container veth interfaces.
// "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.
HairpinMode string `json:"hairpinMode"`
// maxPods is the number of pods that can run on this Kubelet.