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

upgrading EKS cluster hosting Kafka #107

Open
hjoshi84 opened this issue Apr 10, 2023 · 5 comments
Open

upgrading EKS cluster hosting Kafka #107

hjoshi84 opened this issue Apr 10, 2023 · 5 comments

Comments

@hjoshi84
Copy link

Use case

I am trying to update the EKS cluster hosting Kafka. The script upgraded nodes one by one. Is there any provision where the script can wait some specified time until the next node upgrade or waits till the Kafka partition syncs up?

Solution/User Experience

None

Alternative solutions

No response

@quixoticmonk
Copy link
Contributor

quixoticmonk commented May 4, 2023

To clarify, are you asking for a wait state between node upgrades based on user input ?

@bryantbiggs
Copy link
Member

I don't know if this should be handled here - I think this is better handled through the normal Kubernetes highly available constructs such as startup probes, readiness probes, PDBs, etc.

How are you deploying Kafka - are you using the Strimzi operator?

@hjoshi84
Copy link
Author

hjoshi84 commented May 5, 2023

I don't know if this should be handled here - I think this is better handled through the normal Kubernetes highly available constructs such as startup probes, readiness probes, PDBs, etc.

How are you deploying Kafka - are you using the Strimzi operator?

I am using confluent kafka as operator

@hjoshi84
Copy link
Author

hjoshi84 commented May 5, 2023

Yes. before upgrading the next node script should wait until Kafka pods sync the partitions. otherwise, there will be a loss of data. I believe this will be a good feature addition.

@bryantbiggs
Copy link
Member

and how would one check if a kafka pod has finished syncing? isn't this what statefulsets in combination with pod disruption budgets are intended to handle?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants