Skip to content

Strimzi v1 migration proposal#92

Open
k-wall wants to merge 2 commits intokroxylicious:mainfrom
k-wall:strimzi-v1-migration
Open

Strimzi v1 migration proposal#92
k-wall wants to merge 2 commits intokroxylicious:mainfrom
k-wall:strimzi-v1-migration

Conversation

@k-wall
Copy link
Copy Markdown
Member

@k-wall k-wall commented Apr 8, 2026

Kroxylicious has a Strimzi integration feature that references the Kafka CR to automatically configure the upstream. This feature currently relies on the Strimzi's v1beta2 API. Strimzi is in the process of phasing out support for v1beta2, in favour of a new v1 API.

This proposal describes a way that the Kroxylicious operator may be changed to use the v1 API.

@k-wall k-wall requested a review from a team as a code owner April 8, 2026 17:48
@k-wall k-wall marked this pull request as draft April 8, 2026 17:48
Signed-off-by: Keith Wall <kwall@apache.org>
Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@k-wall k-wall force-pushed the strimzi-v1-migration branch from ef945c9 to 83e5b2c Compare April 8, 2026 17:49
@kroxylicious-robot
Copy link
Copy Markdown

DIscussed at the community call on 8 April. Atendees broadly supportive of the approach. Please review the proposal in some more detail and approve if happy.

Copy link
Copy Markdown
Member

@tombentley tombentley left a comment

Choose a reason for hiding this comment

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

Thanks Keith.

I generally am not in favour of changes which break compatibility. However in this case of a relatively new feature, which is unlikely to be in use in production (lacking TLS support), and with an easy workaround which comes without loss of functionality, I think it's justifiable.

@k-wall
Copy link
Copy Markdown
Member Author

k-wall commented Apr 9, 2026

This is what we see if the Kroxylicious is expecting v1beta2 while ther API server isn't serving it.

Caused by: io.javaoperatorsdk.operator.OperatorException: java.util.concurrent.ExecutionException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://192.168.66.3:8443/apis/kafka.strimzi.io/v1beta2/kafkas?resourceVersion=0. Message: Not Found.

Signed-off-by: Keith Wall <kwall@apache.org>
@k-wall k-wall force-pushed the strimzi-v1-migration branch from 7300bee to d191a3d Compare April 9, 2026 12:16

Currently, the Kroxylicious Operator will break when Strimzi 1.0.0 is released, as it will no longer be able to read `Kafka` resources at the `v1beta2` API version.

The Kroxylicious Operator must be updated to support Strimzi 1.0.0 and beyond. If this is not done, the Kroxylicious integration with Strimzi will cease to work.
Copy link
Copy Markdown
Member Author

@k-wall k-wall Apr 9, 2026

Choose a reason for hiding this comment

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

Suggested change
The Kroxylicious Operator must be updated to support Strimzi 1.0.0 and beyond. If this is not done, the Kroxylicious integration with Strimzi will cease to work.
The Kroxylicious Operator must be updated to support Strimzi 1.0.0 and beyond. If this is not done, the Operator will fail completely when Strimzi CRDs are present without v1beta2 support. It will fail at startup. It uses the existence of the API group `kafka.strimzi.io` to determine if Strimzi is present (which will pass), but then the Informer will fail because the `/apis/kafka.strimzi.io/v1beta2/kafkas` endpoint will return an error). It is sufficient to cause the Operator to crash.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've updated the proposal based on experimentation.

@k-wall k-wall marked this pull request as ready for review April 9, 2026 12:23
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.

4 participants