whs-dot-hk / kubernetes-nifi-refined

Nifi 1.9.0
24 stars 6 forks source link

sed: can't read /opt/nifi/nifi-current/conf/nifi.properties: No such file or directory #5

Open thuylevn opened 5 years ago

thuylevn commented 5 years ago

Hi all, I meet an issue when I try to deploy apache nifi on GKE, May you give a suggestions?

image

ogiyasov commented 4 years ago

feel your pain sis

whs-dot-hk commented 4 years ago

Hi, @thuylevn

I fixed this by copy over the conf to a backup location and populate it back when container start

https://github.com/whs-dot-hk/kubernetes-nifi-refined/blob/e183ed662f3de96f855637ec0133fddd668f66f4/nifi/start-patched.sh#L3

whs-dot-hk commented 4 years ago

Does it help?