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

On start up, wait for pods with no IP #480

Merged
merged 1 commit into from
May 21, 2019
Merged

Conversation

mogren
Copy link
Contributor

@mogren mogren commented May 18, 2019

Description of changes:
If ipamd gets restarted while a pod is registering it's newly assigned IP with the apiserver, we might miss the assigned IP because of the eventual consistency of Kubernetes. This change will wait for all running pods for up to 1 minute to get an IP set.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mogren mogren requested a review from nckturner May 18, 2019 05:05
ipamd/ipamd.go Outdated Show resolved Hide resolved
ipamd/ipamd.go Outdated Show resolved Hide resolved
@mogren mogren force-pushed the wait-no-ip branch 2 times, most recently from 3f56521 to 9df17a6 Compare May 20, 2019 19:58
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.

3 participants