The NiFiKop NiFi Kubernetes operator makes it easy to run Apache NiFi on Kubernetes. Apache NiFI is a free, open-source solution that support powerful and scalable directed graphs of data routing, transformation, and system mediation logic.
When this happens, the only fix is to restart the NiFi pods. Restarting Zookeeper has no effect. This can be detected by querying the NiFi REST API, so we can work around this by tweaking the liveness check. However, it's not currently configurable, so i'm requesting that it be made configurable while keeping the current configuration as the default.
Describe the solution you'd like to see
Make the readiness and liveness checks configurable and expose the configuration in NifiCluster.Spec.PodPolicy.
Describe alternatives you've considered
Writing an external CronJob, but that's just a bandaid for an appropriate solution until the problem is resolved in NiFi itself.
Is your feature request related to a problem?
Yes. We're running into the issue described in this thread occasionally and unpredictably: https://www.mail-archive.com/users@nifi.apache.org/msg14909.html
When this happens, the only fix is to restart the NiFi pods. Restarting Zookeeper has no effect. This can be detected by querying the NiFi REST API, so we can work around this by tweaking the liveness check. However, it's not currently configurable, so i'm requesting that it be made configurable while keeping the current configuration as the default.
Describe the solution you'd like to see
Make the readiness and liveness checks configurable and expose the configuration in
NifiCluster.Spec.PodPolicy
.Describe alternatives you've considered
Writing an external
CronJob
, but that's just a bandaid for an appropriate solution until the problem is resolved in NiFi itself.Additional context
No response