Orange-OpenSource / nifikop

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.
https://orange-opensource.github.io/nifikop/
Apache License 2.0
128 stars 34 forks source link

[BUG] PVCs/PVs for one pod are created in different zones #73

Closed xvzf closed 3 years ago

xvzf commented 3 years ago

Bug Report

What did you do? Create the sample cluster

What did you expect to see? Cluster nodes going up

What did you see instead? Under which circumstances? Several nodes stay in "Pending" state

Environment GKE, Nifikop 0.5.2

Possible Solution Enhance PVC management

Additional context It seems the issue is linked to PVC (cluster wide) -> PV (zone) mapping. When there are two PVCs defined for the pod, they might be in two different availability zones.

d-snyder commented 3 years ago

Is the volume binding mode of the storage class set to "WaitForFirstConsumer"?

xvzf commented 3 years ago

Nope and that's a perfect point & will close this issue; I was overcomplicating it a bit :D