-
Bug
-
Resolution: Done
-
Undefined
-
None
-
1.4.0
-
False
-
-
False
-
-
-
Critical
In OCP 4.14 with M4 deployed, when trying to deploy Kafka via this script, it eventually fails at this point:
+ oc wait --for condition=ready=true pod -l app=kafka-broker-receiver -n knative-eventing --timeout=60s error: timed out waiting for the condition on pods/kafka-broker-receiver-6df86d8fbd-bqn96
I believe the issue is due to the k8s version used in ocp 4.14
oc logs -f kafka-webhook-eventing-7b6dc5667c-zcmpm [..] "error":"kubernetes version \"1.27.16+03a907c\" is not compatible, need at least \"1.28.0-0\"
Full error
oc logs -f kafka-webhook-eventing-7b6dc5667c-zcmpm
2025/03/06 19:41:07 Registering 4 clients
2025/03/06 19:41:07 Registering 4 informer factories
2025/03/06 19:41:07 Registering 5 informers
2025/03/06 19:41:07 Registering 5 controllers
{"level":"info","ts":"2025-03-06T19:41:07.651Z","logger":"kafka-webhook-eventing","caller":"profiling/server.go:65","msg":"Profiling enabled: false","commit":"e88c7de-dirty","knative.dev/pod":"kafka-webhook-eventing-7b6dc5667c-zcmpm"}
{"level":"fatal","ts":"2025-03-06T19:41:07.652Z","logger":"kafka-webhook-eventing","caller":"sharedmain/main.go:390","msg":"Version check failed","commit":"e88c7de-dirty","knative.dev/pod":"kafka-webhook-eventing-7b6dc5667c-zcmpm","error":"kubernetes version \"1.27.16+03a907c\" is not compatible, need at least \"1.28.0-0\" (this can be overridden with the env var \"KUBERNETES_MIN_VERSION\")","stacktrace":"knative.dev/pkg/injection/sharedmain.CheckK8sClientMinimumVersionOrDie\n\tknative.dev/pkg@v0.0.0-20241021183759-9b9d535af5ad/injection/sharedmain/main.go:390\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\tknative.dev/pkg@v0.0.0-20241021183759-9b9d535af5ad/injection/sharedmain/main.go:255\nknative.dev/pkg/injection/sharedmain.MainWithContext\n\tknative.dev/pkg@v0.0.0-20241021183759-9b9d535af5ad/injection/sharedmain/main.go:209\nmain.main\n\tknative.dev/eventing-kafka-broker/control-plane/cmd/webhook-kafka/main.go:187\nruntime.main\n\truntime/proc.go:271"}
This only occurs on OCP 4.14. 4.15 and above deploy without issue.