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

List of created ingresses? #745

Closed
sokoow opened this issue Dec 5, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@sokoow
Copy link

commented Dec 5, 2017

Hi All,

Is there any way of listing all the ingresses created on voyager yet ? I can create one allright, but listing ingresses doesn't show a lot.

Also, can you elaborate how the traffic flow works in voyager ? Let's say I hit ingress somehow, what is the flow then ?

Thanks

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Dec 5, 2017

Is there any way of listing all the ingresses created on voyager yet ?

# List all voyager ingress
$ kubectl get ingress.voyager.appscode.com --all-namespaces

See here for more: https://github.com/appscode/voyager/blob/master/docs/install.md#using-kubectl

Also, can you elaborate how the traffic flow works in voyager ? Let's say I hit ingress somehow, what is the flow then ?

First your deploy voyager operator in your cluster.
This operator pod is in charge of running the actual HAProxy pods and updating HAProxy configmaps, issuing ssl certificates from LE, etc

So, when you create an Ingress object, voyager operator will start a new deployment of HAProxy pods. These haproxy pods are exposed via a service matching the type of Ingress you are using.
For example, https://raw.githubusercontent.com/appscode/voyager/master/hack/example/e2e.yaml
This shows a NodePort Ingress
Try this example and see that there is a deployment voyager-test-ingress and a NodePort service called voyager-test-ingress

So, when external clients are calling, the flow is
browser ---(DNS, internet) ---> HAProxy pods ------> backend pods

Let me know if you have any further question.

@sokoow

This comment has been minimized.

Copy link
Author

commented Dec 5, 2017

Cool, thanks for that. Very promising product by the way, well done.

@sokoow sokoow closed this Dec 5, 2017

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Dec 5, 2017

Thank you for the kind words @sokoow ! And you are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.