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

Ingress - Admin portal #54

Open
mibo32 opened this issue Dec 8, 2022 · 6 comments
Open

Ingress - Admin portal #54

mibo32 opened this issue Dec 8, 2022 · 6 comments

Comments

@mibo32
Copy link

mibo32 commented Dec 8, 2022

Hi
I am trying to get the ingress for the admin portal to work without much success. Always get a 504. (timeout). Port forwarding works. Any suggestions ?

@anestos
Copy link
Member

anestos commented Dec 8, 2022

Is the 6749 port exposed in the admin service? if not you can use
curity.config.uiEnabled=true

@mibo32
Copy link
Author

mibo32 commented Dec 8, 2022

It is

@anestos
Copy link
Member

anestos commented Dec 8, 2022

You should configure your ingress to forward traffic to that service and port then. Depending on the ingress you might have to set some extra annotations on the ingress definition, i.e in nginx ingress you need to set
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" because by default the admin UI is on https, could it be that?
Another option would be to port-forward and configure the admin-ui to run on http instead of https

@wyericso
Copy link

I got the same problem with ingress. Tried to set nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" and tried using http but the problem was still there. Port-forwarding didn't have such problem.

@mibo32
Copy link
Author

mibo32 commented Apr 21, 2023

@wyericso if you used the helm chart remove the network policy which is deployed even if uiEnabled is set to true. That was my problem.

@wyericso
Copy link

Thank you very much @mibo32. I finally got the chance to retry the things after a couple of months. Your suggestion worked for me. Network policy was causing the issue.

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