clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

Traefik - a cloud based reverse proxy and load balancer #1290

Closed GrabbenD closed 5 years ago

GrabbenD commented 5 years ago

Overview Traefik is a highly optimized reverse proxy and load balancer for cloud infrastructures. It has native support for local service discovery which is one of the biggest features that enables this software to work perfectly out of the box with containerized microservices like for instance ECS in AWS.

Website: traefik.io Releases: Github releases Installation: docs.traefik.io

bryteise commented 5 years ago

This looks like something that really wants to run in a container and not in the distro on bare metal. Could you describe the use case a little so I can integrate this in a sensible way? To me it would seem you would probably just use the dockerhub image rather than something from the OS.

curantes commented 5 years ago

traefik is cloud-native so the primary use case would be with the docker image. However it can easily be run in vm/bare metal and it is a feature rich reverse proxy that is more easily configured than nginx and haproxy. Personally I just use treafik in Kubernetes as ingress controller but I can see this can also be nice to have available native.

Just my 2 cents.

bryteise commented 5 years ago

Alrighty, so just one just needs /usr/bin/traefik in that case and not the webui bits?

curantes commented 5 years ago

Webui is in the traefik binary. You just enable it with flags if you wish to use it as most config options during start. Basicly you need the binary and a sane default config in /usr/share/default/traefik and systemd service with some sane defaults to have it properly integrated.

bryteise commented 5 years ago

I just added the sample config in /usr/share/traefik. Similarly the systemd service is also included but not activated by default in the bundle. Should be a release next week.