TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Kubernetes at Box: Microservices at Maximum Velocity

157 pointsby robszumskialmost 9 years ago

6 comments

avitzurelalmost 9 years ago
I haven&#x27;t used kube in production yet.<p>However, I&#x27;m using mesos, marathon and chronos to manage a production environment with service discovery glue based on Route53.<p>Using Docker to ship an application to a well configured environment is just a delight, the amount of configuration needed is absolutely minimal.<p>However, I think people need to realize that it&#x27;s &quot;easy&quot; if your services are not talking to each other and dependent on one another in a way. If service X is using service Y directly (via HTTP), it gets a bit more challenging.<p>The way I like to configure micro-service is based on messaging so you send a message to a queue and multiple satellite services can consume that message and do stuff with it.<p>If your services are dependent on one another, the configuration gets trickier and the maintenance gets a bit harder.<p>Good job by Box also contributing back to the core of Kube based on what they needed, based on it getting merged I am guessing other people will find it useful as well.
评论 #12146370 未加载
评论 #12146358 未加载
评论 #12146157 未加载
评论 #12145930 未加载
tedreedalmost 9 years ago
Anyone working on K8s at Box or I guess anywhere else that has deployed it partially feel free to answer this, but:<p>How do you handle gatewaying traffic into Kubernetes from non-K8s services? I&#x27;ve been trying to get a basic cluster out the door with one of our most stateless services, but I&#x27;m having a having a hard time just getting the traffic into it.<p>The mechanism I&#x27;m using is having a dedicated K8s nodes that don&#x27;t run pods hold onto a floating IP to act as gateway routers into k8s. They run kube-proxy and flannel so they can get to the rest of things, but ksoftirqd processes are maxing CPU cores on relatively recent CPUs trying to handle about 2Gbps of traffic (2Mpps) which is a bit below the traffic level the non-k8s version of the service is handling. netfilter runs in softirq context, so I figure that&#x27;s where the problem is.<p>Are you using Calico+BGP to get routes out to the other hosts? What about kube-proxy?
评论 #12198677 未加载
评论 #12148010 未加载
评论 #12148252 未加载
评论 #12147791 未加载
评论 #12147589 未加载
geggamalmost 9 years ago
This is the 1st use case I have seen where microservices are starting to make sense.<p>My question is what about network security ? How is that part managed ?
评论 #12147376 未加载
TheIronYuppiealmost 9 years ago
Really cool story - it&#x27;s been awesome to see how Box has contributed back to the community as well!<p>Disclosure: I work at Google on Kubernetes.
scientalmost 9 years ago
Totally lost it at &quot;e knew we&#x27;d ultimately need dozens (even hundreds) of microservices to be successful&quot; and did not read any further. I am having a very hard time seeing that as a criteria for success, not to even mention imagining how that mess is managed. Is this really common to have so many microservices?
评论 #12146137 未加载
评论 #12146502 未加载
评论 #12147912 未加载
footaalmost 9 years ago
I hope you all appreciate the fact that the kubernetes team was initially required to order new hardware for spinning up services.
评论 #12147057 未加载