Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when deploying frontend #3

Closed
richiesgr opened this issue May 7, 2019 · 4 comments
Closed

Error when deploying frontend #3

richiesgr opened this issue May 7, 2019 · 4 comments

Comments

@richiesgr
Copy link

richiesgr commented May 7, 2019

Hi
I'm trying to apply your config to deploy nifi on EKS (AWS) I've succeed so far to deploy nifi but a problem occurs when deploying frontend
the pod crash because NginX can't find host nifi defined in frontend.conf
So I get this error
2019/05/07 09:46:30 [emerg] 1#1: host not found in upstream "nifi" in /etc/nginx/conf.d/frontend.conf:5
nginx: [emerg] host not found in upstream "nifi" in /etc/nginx/conf.d/frontend.conf:5

could you help me ?
Thanks

@jkogut
Copy link

jkogut commented May 10, 2019

You have to change in /nifi-frontend/frontend.conf:

http://nifi-headless:8080

@whs-dot-hk
Copy link
Owner

whs-dot-hk commented May 12, 2019

@richiesgr Hi, is it the cluster mode?

Which part of the guide are you following?

@richiesgr
Copy link
Author

Hi
Yes I've followed the cluster mode tutorial and I try to deploy on EKS 1.11 on AWS.
but I think it could be related to this problem CoreDNS support for ExternalName services is broken in EKS 1.11 as you use ExternalName to resolve nifi host name for NginX
What do you think ?
Thanks

@richiesgr
Copy link
Author

Hi
Update may be worth to add this to your documentation.
The core-dns 1.1.3 used by default on EKS 1.11 is broken for externalName service.
it's not enough to update EKS to 1.12 you must update the core-dns to version 1.2.2
After upgrade all is working as expected
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants