Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube-flannel-cfg: enable hairpin mode #849

Merged
merged 1 commit into from
Oct 22, 2017
Merged

Conversation

Dieken
Copy link
Contributor

@Dieken Dieken commented Oct 21, 2017

Hairpin mode is needed to allow pods to communicate with themselves via
Service IP. This change is required as the kubelet --hairpin-mode flag
is not supported when CNI is being used.

This patch is picked from coreos/tectonic-installer#1640

I verified it on K8S 1.7.5 + Flannel vxlan backend, it works as expected.

Hairpin mode is needed to allow pods to communicate with themselves via
Service IP. This change is required as the kubelet --hairpin-mode flag
is not supported when CNI is being used.

This patch is picked from coreos/tectonic-installer#1640
@tomdee
Copy link
Contributor

tomdee commented Oct 22, 2017

LGTM

@tomdee tomdee merged commit 6d0945f into flannel-io:master Oct 22, 2017
dghubble added a commit to poseidon/terraform-render-bootstrap that referenced this pull request Oct 23, 2017
* Allow pods to communicate with themselves via service IP
* flannel-io/flannel#849
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants