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

Speedup wait for pod ip #1302

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Speedup wait for pod ip #1302

merged 1 commit into from
Jun 1, 2024

Conversation

akselleirv
Copy link
Collaborator

@akselleirv akselleirv commented May 31, 2024

The initial startup of a pod took atleast 15 seconds when waiting for an pod IP assignment. This change uses a watch on the pod instead of a polling mechanism which results in a much faster startup time.

The only downside is that the clientset must be defined in the TerraformReconciler, however, the dependency is already existing. Improvement is noticeable in the e2e test where it perviously took 15 min where it now took 10 min.

@akselleirv akselleirv marked this pull request as draft May 31, 2024 19:06
@akselleirv akselleirv marked this pull request as ready for review May 31, 2024 19:19
Copy link
Collaborator

@ilithanos ilithanos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find :)

@akselleirv akselleirv merged commit 596b93a into main Jun 1, 2024
15 checks passed
@akselleirv akselleirv deleted the speed-up-wait-for-pod-ip branch June 1, 2024 08:32
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