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

Use KRaft for example install, support node pool storage metrics #809

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

MikeEdgar
Copy link
Member

@MikeEdgar MikeEdgar commented Jun 7, 2024

With Strimzi KafkaNodePools [1] (required to run the cluster in KRaft mode), storage metrics have a slightly different format for the PVC label. This PR adds support for storage allocated via a node pool, and also changes the example Kafka cluster to use KRaft mode.

[1] https://strimzi.io/blog/2023/08/28/kafka-node-pools-storage-and-scheduling/

@MikeEdgar MikeEdgar added this to the 0.1.1 milestone Jun 7, 2024
@MikeEdgar MikeEdgar requested a review from riccardo-forina June 7, 2024 19:36
@MikeEdgar MikeEdgar force-pushed the node-pool-storage branch from c68f64b to e7e824d Compare June 7, 2024 20:10
Copy link
Collaborator

@riccardo-forina riccardo-forina left a comment

Choose a reason for hiding this comment

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

If this backward compatible?

@MikeEdgar
Copy link
Member Author

If this backward compatible?

Yes, it's meant to display the storage information for either Zookeeper-based or KRaft-based clusters. Of course the script change for the example install now only uses KRaft. We can keep the ZK variant as well - wdyt?

@MikeEdgar MikeEdgar force-pushed the node-pool-storage branch from e7e824d to d4ec3c0 Compare June 10, 2024 12:17
@MikeEdgar MikeEdgar force-pushed the node-pool-storage branch from d4ec3c0 to b2cc560 Compare June 10, 2024 14:58
@MikeEdgar
Copy link
Member Author

I've added back a way to run the Kafka cluster with ZK (additional script argument) and this is mentioned now in the install/README.md

Copy link

@MikeEdgar MikeEdgar merged commit bb3c090 into main Jun 10, 2024
9 checks passed
@MikeEdgar MikeEdgar deleted the node-pool-storage branch June 10, 2024 15:06
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