25 ms·
The service I'm working on porting to kubernetes has bandwidth requirements that far exceed a single machine, and though we're on AWS, we can't use ELB for vari
by mnutt 9y ago
The service I'm working on porting to kubernetes has bandwidth requirements that far exceed a single machine, and though we're on AWS, we can't use ELB for various reasons. We ended up with a ReplicaSet of haproxies using HostPort, and a separate app that watches for haproxy service changes and updates Route53 round-robin DNS. We're somewhat fortunate that we only have a single service that needs to use the http/https HostPort.
We could have just left our haproxies outside of kubernetes, and may eventually end up doing so if the network performance doesn't meet our needs. As it is, it all works but there are a ton of sidecar services all over the place.
- yebyen 9y agoThis sounds like what Deis Router was created to do. It sounds like you've already got it nailed down, but maybe like to have a look at this: https://github.com/deis/router https://github.com/deis/router (It's probably tightly coupled to Deis Controller, but something to look at anyway!)