Replies: 2 comments 9 replies
-
Strimzi is operator and it manages its resources. That means that if you want to do some change to the Services, PVCs etc. you need to do it using the custom resources. I don't think this is a bug TBH, it's normal and expected that Strimzi will change the Service to the configuration corresponding to the particular configuration of the CRs. |
Beta Was this translation helpful? Give feedback.
-
The modification to We already checked the Strimzi docs for alternatives and found externalIPs, which is only usable with listeners of type I would classify this issue as a bug as Strimzi does support OpenShift in general, but does not work well in this particular case. |
Beta Was this translation helpful? Give feedback.
-
Bug Description
We have our
Kafka
resource configured with a listener of typeloadbalancer
deployed to an OpenShift cluster. As described in the OpenShift documentation, the resultingService
resource has setspec.type: LoadBalancer
and thus gets an external IP injected into the manifest (spec.externalIPs: ["1.2.3.4"]
).When Strimzi does its reconcile run, it detects that the spec of the service has been modified / is different as Strimzi thinks it should be, as
spec.externalIPs
was added. It then removes that part; however, OpenShift immediately readds it again, so that Strimzi finds the diff again in the next run.The actual issue happens with ExternalDNS as it is triggered when a service is changed. I.e. one run of ExternalDNS is triggered each time Strimzi does a reconcile run although nothing has changed overall.
Strimzi should ignore
spec.externalIPs
when it is not present in its configuration. Of course, Strimzi should reconcilespec.externalIPs
whenexternalIPs
is set in the listener configuration of typenodeport
.Steps to reproduce
Deploy a loadbalancer listener in an OpenShift / OKD cluster with working externalIP configuration and watch Strimzi reconcile the services.
Expected behavior
Strimzi ignores changes to
spec.externalIPs
when it is not set in its own configurationStrimzi version
0.45.0
Kubernetes version
OpenShift 4.15
Installation method
No response
Infrastructure
No response
Configuration files and logs
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions