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

Replace Traefik with Nginx #60

Closed
rsoika opened this issue Jan 2, 2021 · 4 comments
Closed

Replace Traefik with Nginx #60

rsoika opened this issue Jan 2, 2021 · 4 comments

Comments

@rsoika
Copy link
Member

rsoika commented Jan 2, 2021

Nginx is the most popular Ingress Controller maintained by the K8s team, built on top of NGINX reverse proxy. It is a popular option for simple HTTP/S routing and SSL termination use case. Hence of the popularity, there is comprehensive documentation and tutorials available for common ingress tasks and related tools.

We replace traefik with nginx because of the high configuration complexity of traefik.

If you need a straightforward simple reverse proxy, ingress-nginx is a safe and decisive option. On the other hand, if you are looking for high performance and also additional features supported by NGINX, consider using the Ingress Controller from NGINX instead.

https://github.com/kubernetes/ingress-nginx

@rsoika rsoika added this to the 0.1.0 milestone Jan 2, 2021
rsoika added a commit that referenced this issue Jan 2, 2021
rsoika added a commit that referenced this issue Jan 2, 2021
Issue #60
rsoika added a commit that referenced this issue Jan 3, 2021
rsoika added a commit that referenced this issue Jan 3, 2021
@rsoika rsoika added the testing label Jan 3, 2021
@stale
Copy link

stale bot commented Mar 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 4, 2021
@ankanheesun
Copy link

HI @rsoika

Is it still possible to have Traefik running inside Kubernetes? I tried with your guide at imixs-cloud/management/traefik but I was not successful...

Of course, if there is no way to configure Traefik with K8S, I will continue following your guide to configure Nginx Ingress. However, I prefer to learn how to integrate Traefik !!!

Thank you in advanced !!!

@stale stale bot removed the wontfix label Mar 4, 2021
@rsoika
Copy link
Member Author

rsoika commented Mar 4, 2021

Yes, it is possible to run Traefik instead of the Nginx Controller in K8S.
The problem was that Traefik is not so easy to setup, as it was in the early beginning. And with the latest API changes in Kubernetes 1.20 my old guide did (again) no longer work.
I was a little bit frustrated than, because I invested many hours to write the old guide. So finally I decided to give the Nginx Controller a chance. And my personal conclusion was, that it is much more easy to configure Nginx instead of Traefik. This is why I replaced Traefik with Nginx in Imixs-Cloud. The Nginx controller is supported directly by the Kubernetes community and has no disadvantage.

So, I am sorry that I can't help you with the latest version of Traefik. But if you like traefik, give it a try. The developers from the traefik team are very helpful and will support you. And if you succeeded than maybe we can update the old guide and add it as an valid alternative to Nginx Guide.....

@ankanheesun
Copy link

Thank you for your detailed explanations... They're useful with my choice. Yes, I will try with Traefik and come back to you if I was successful. Of course, I agree with you that Nginx has no disadvantages and also supported directly by K8s. So it would be a good choice for us. I will try it also.

Thank again for your feed back !!!

@rsoika rsoika closed this as completed Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants