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

Add TopologySpreadConstraints to server pod #27

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Add TopologySpreadConstraints to server pod #27

merged 1 commit into from
Mar 13, 2024

Conversation

ilpianista
Copy link
Contributor

@ilpianista ilpianista commented Mar 13, 2024

Partially related to issue #24, we've exhausted the IPs in a single EC2 instance because all krelay servers where deployed to the same k8s node. We already setup a "krelay killer", but this could happen again if devs starts krelay servers without killing them in a short interval. Maybe a topologySpreadConstraints would make this problem a rare occurrence?

Copy link
Owner

@knight42 knight42 left a comment

Choose a reason for hiding this comment

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

Thanks! The change LGTM.

BTW would it help if krelay can reuse a single server pod?

@ilpianista
Copy link
Contributor Author

BTW would it help if krelay can reuse a single server pod?

Yes. Honestly I'm quite surprised it doesn't already. What's blocking that? 🤔

@knight42
Copy link
Owner

BTW would it help if krelay can reuse a single server pod?

Yes. Honestly I'm quite surprised it doesn't already. What's blocking that? 🤔

Well it used to, but some users want to cleanup the server pod afterwards, so I change the default behavior. It seems both behaviors are desired, we'd better leave the choice to users.

@knight42 knight42 merged commit 94c001e into knight42:main Mar 13, 2024
2 checks passed
@knight42
Copy link
Owner

@ilpianista Hi, krelay v0.0.7 has been released, please feel free to give it a try.

@ilpianista ilpianista deleted the feature/topologyspread branch March 13, 2024 14:56
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.

None yet

2 participants