-
Notifications
You must be signed in to change notification settings - Fork 135
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
How to use voyager instead of kubernetes nginx ingress controller #742
Comments
I corect ingress.yaml that use hostport like this:
I found voyager-test pod and service create successfully, but access service still failed, error is like this:
|
Are you using ElesticSearch as the backend? From the error it looks like the loadbalancer is working. The |
Then how can I access elasticsearch service like use kubernetes ingress (hostname/path) ? @sadlil |
HI @like-inspur, sorry for slow response. I am travelling for Kubecon. I am going to reply as soon as I get some time to look into this. In the mean time, do you know that Voyager does not merge all Ingress into one before exposing via HAProxy? This is usually the big surprise for users who come to Voyager from nginx controller. See here: kubernetes/ingress-nginx#1539 |
Oh , I see. Then host and path under rules defined in ingress.voyager.appscode.com means client host and path, not the server host and path like ingress defined in kubernetes? I can access service like this: So what is the meaning of rules that contronll host and path, is it needs to be with ingress? @tamalsaha |
@like-inspur , if you are still looking for answers, please take a look at https://appscode.com/products/voyager/6.0.0-rc.0/concepts/ingress-types/nodeport/ The above example uses the default backend. But if you want to configure TLS or take advantage of other features, you will have to use host/path rules section. Please reopen if you still have more questions. |
I install voyager on baremetal kubernetes according to with-rbac,yam, like this:
Then I create a voyager ingress , but after I config /etc/hosts, I can't access service according host/path
curl appscode.example.com/test
curl: (7) Failed connect to appscode.example.com:80; Connection refused
So how to use voyager as ingress controller, and where to find haproxy.cfg in voyager pod
The text was updated successfully, but these errors were encountered: