-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Shared volume mount changes #9761
Conversation
Signed-off-by: rao2100 <rao2100@gmail.com>
Signed-off-by: rao2100 <rao2100@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why you opened yet another PR, but the commentfrom the original one still stans:
I'm sorry, but this should go through a proposal as described in #3693 ... so if ou want to contribute this, that is great, but it has to start by writing a proposal of how it will be done and how it will work: https://github.com/strimzi/proposals
Also, I doubt having a single volume configured like this will cover all use-cases. So you need to think it through properly. We would also definitely not support configurable mount paths etc. as that would collide with how the API is used for Kafka brokers.
You should also properly explain the use-case. I - at least personally - do not think using connectors relying on storage is the right use case for distributed connect. It much better fits standalone connect run for example as sidecar.
Signed-off-by: rao2100 <rao2100@gmail.com>
Signed-off-by: rao2100 <rao2100@gmail.com>
Signed-off-by: rao2100 <rao2100@gmail.com>
Signed-off-by: rao2100 <rao2100@gmail.com>
Signed-off-by: rao2100 <rao2100@gmail.com>
@scholzj working on submitting a proposal.
Do you have an example on using using standalone strimzi kafka connect as sidecar and mounting a volume? |
I think it is quite likely the proposal will not end up anything like this. So you should start with the proposal first.
I do not have an example for it. |
Triaged on the community call on 7.3.2024: Thanks for the PR. This should have a proposal first to clarify how the design of this should look like. If you are interested in contributing that feature, that should be the best start. |
Type of change
Description
This PR introduces enhancements to the Strimzi Kafka Operator for managing shared volume mounts, improving task resiliency across nodes. Key changes include:
mountPath: A string property to specify the container directory for mounting the storage volume. While the default is /var/lib/kafka/data, this allows for custom path specification. By default, it will try to mount read write many storage if accessMode is not specified.
accessMode: An optional string property defining the storage access mode, determining permissions like read-only or read-write.
These changes, tested successfully with Read-Write-Many on Ceph-block storage and NFS, provide greater control over volume configuration and usage, improving operator performance in distributed environments.
Sample Test
kafkaConnect.yaml
Outcome