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

Give an way in helm deploy to change the root asset path #2116

Open
mfandre opened this issue May 11, 2022 · 5 comments
Open

Give an way in helm deploy to change the root asset path #2116

mfandre opened this issue May 11, 2022 · 5 comments
Labels
New feature Feature requests

Comments

@mfandre
Copy link

mfandre commented May 11, 2022

Is your feature request related to a problem?

I installed questDB to my AKS cluster using helm, but my ingress is looking to route that is different from "/". The questdb console is trying to get js/css files from wrong root path.

Describe the solution you'd like.

Add some env var that can be set on helm deploy to change the asset_path value.

Describe alternatives you've considered.

No response

Additional context.

No response

@mfandre mfandre added the New feature Feature requests label May 11, 2022
@pswu11
Copy link
Contributor

pswu11 commented May 11, 2022

Issue is also created in the questdb kubernetes repo: questdb/questdb-kubernetes#53

@jerrinot
Copy link
Contributor

I learned from @insmac that's the asset path as documented here is actually a build-time option, not a runtime option. So making this configurable for end-users will need changes in both QuestDB-Core and QuestDB-Kubernetes repos.

@mfandre
Copy link
Author

mfandre commented May 11, 2022

To avoid this behavior I created a subdomain to maintain the root path. But I think this an important feature that can be useful to others.
image

@pswu11 pswu11 moved this from New to Todo in Core Engineering Board May 30, 2022
@mounte
Copy link

mounte commented May 7, 2024

Just wanted to send my +1 for this.
I have a setup where envoy or traefik is put in front of questdb and some other services where subdomains are limited so we use envoy to route based on the path prefix.
It works great for the exec and exp endpoints but if we try to pass the web-ui through the proxy it can not find the resources needed.

We would wish for some env-variable or setting that questdb picks up on and allows the web-ui to be served from some path other than /

@jerrinot
Copy link
Contributor

This was fixed in the latest web console and the next QuestDB version will include this change.

This means it'll be possible to have an ingress_controller / reverse_proxy where QuestDB is mapped under a non-root context.

I tested it with a local nginx:

location /quest/ {
            proxy_pass http://localhost:9000/;
        }

and it's working like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature Feature requests
Projects
No open projects
Status: Todo
Development

No branches or pull requests

4 participants