Skip to content

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

Merged
mogren merged 1 commit intoaws:masterfrom
mogren:wait-no-ip
May 21, 2019
Merged

On start up, wait for pods with no IP#480
mogren merged 1 commit intoaws:masterfrom
mogren:wait-no-ip

Conversation

@mogren
Copy link
Copy Markdown
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
@mogren mogren force-pushed the wait-no-ip branch 2 times, most recently from 3f56521 to 9df17a6 Compare May 20, 2019 19:58
@mogren mogren merged commit 7972d9a into aws:master May 21, 2019
@mogren mogren deleted the wait-no-ip branch May 23, 2019 23:45
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