6 ms·
I think this is a good answer. I'll add that as soon as you need to do something slightly more complex, without something like k8s you aren't going to be happy
by sev 6y ago
I think this is a good answer. I'll add that as soon as you need to do something slightly more complex, without something like k8s you aren't going to be happy with your life. With k8s, it's almost a 1 liner. For example, adding a load balancer or a network volume or nginx or an SSL cert or auto scaling or...or...or...
- d23 6y agoCome on. What? Setting up a load balancer or nginx is considered complex now?
- th0ma5 6y agoWell, set me up one. :P
- CameronNemo 6y agomy pubkeys are below, send me an ip address and port to an ssh server https://github.com/cameronnemo.keys https://github.com/cameronnemo.keys
- th0ma5 6y agoMy what and what? :P I do get your point, it is "easy" for some definition of such, but to be fair, k8s would automatically put the ip and port in for my part of it all at least.
- jacobsenscott 6y agoAnyone can ssh into a server and apt-get haproxy and tweak the configuration and get it "working" where the definition of working is accepting and routing traffic. But that's just a hobby setup. When people say setting up a load balancer is complex they are talking about professional setups, not a one off software install on a single server.
- CameronNemo 6y agoSo give me a (possibly private) ASN, a couple bgp peers, and the frrouting suite. ACME is not difficult either.
- jacobsenscott 6y agoBut I want to be able to update my haproxy config with a git push, and roll it back with a single command, without sshing into anything, if something goes wrong. I want my everyday administration to be simple. Not the initial setup.
- CameronNemo 6y agok8s did not invent gitops.
- FridgeSeal 6y agoNo but it sure as hell made it a lot easier and straightforward.
- cortesoft 6y agoNow set it up in 30 data centers around the world, with the ability for dozens of different teams to add and change their applications, and across multiple staging and QA environments.
- deleted 6y ago[deleted]
- lonelappde 6y agoWhy do I need 30? 1 rack in a datacenter is plenty for a database backed web app with a million users.
- cortesoft 6y agoThat is going to be killer latency for people in other parts of the world. In my case, I work for a CDN, so we need to have data centers all around the world.
- flixic 6y agoI never knew about this github feature. Nice!
- recursive 6y agoDepends who's doing the configuring. I don't know how to do it. But nor do I know how to use k8s for that matter.
- frompdx 6y agoAnd one hour photo is now considered slow.
- poisonborz 6y agoThis.
- tomcam 6y agoUh, I have some news for you...
- unoti 6y ago> What? Setting up a load balancer or nginx is considered complex now? It's not complex to set up a load balancer in a given specific environment. But it's another kind of ask to say "set up a load balancer, but also make it so that the load balancer also exists in future dev environments that can be auto-set-up and auto-teared-down. And also make it so that load balancer will work on dev laptops, AWS, Azure, google, our private integration test cluster on site, and on our locally-hosted training environment, with the same configuration script." All of these things can be done in k8s, and basically are by default when you add your load balancer in k8s. They can be done other ways, too, or just ignored and not done, also. But k8s offers a standardized way to approach these kinds of things.
- worldsayshi 6y agoIn my mind standardisation is how we really solve problems in much of software development. Everything before that is just practice and/or hacks.
- Kinrany 6y ago> In my mind standardisation is how we really solve problems in much of software development. I've been having this thought very often lately. The only way for humans to do something faster is to use a machine. Any machine is built on some assumption that something is repeatedly true, that some things can be repeatedly interacted with in the same way. Finding true invariants is very hard, but our world is increasingly malleable. Over time it is getting easier to invent new invariants and pad things out so that the invariant holds.
- akiselev 6y agoIt's true not just for machines but engineering in general. Whether it's civil or mechanical or electronic or semiconductor engineering, their foundation is built on setting boundary conditions to make the natural world predictable so that it can be reliably manipulated. Things most often go wrong when those conditions are poorly understood, constrained, or modeled such as when using an unproven material, using imprecise parts, or ignoring thermal expansion when designing structural components. Engineers have a plethora of quality control standards and centuries of built up knowledge to make this chaos manageable and the problems tractable.
- cortesoft 6y agoSetting up one is easy. Setting up one that gives multiple separate teams the ability to configure their services, and apply those changes to servers around the world and in different environments, repeatedly and safely, is harder.
- nwatson 6y agoWe just spent months at my workplace working on a system to reliably define and configure a set of parallel silo'ed integrated datastores, services, and network stack within Kubernetes/ISTIO (and AWS), and to reliably upgrade new software revisions within those silos and to account for the changing "shape" of the configuration/content in these silos. It's repeatable and safe now, but it took a lot of effort.
- aspenmayer 6y agoIs any of your new stack open sourced?
- nwatson 6y agoNot yet ... perhaps some day.
- p_l 6y agoThere's huge difference between manually setting up load balancer - let's say HAproxy - and being able to just declare in an application that it needs "this and this configuration to route HTTP traffic to it." The time I spent managing HAproxy for 5 services was bigger than the time I spent managing load-balancing and routing using k8s for >70 applications that together required >1000 load balanced entrypoints. It's a lever for the sysadmin to spend less time on unnecessary work.
- rooam-dev 6y agoAny competent engineer without experience is more likely to figure out how setup and/or troubleshoot nginx than kubernetes.
- zerubeus 6y agoYou can use something like dokku for most of what you cited for much less overhead, if you are not planning to use the "highly available" feature for sure