News for hackers. Stuff that matters.
Re:Container technologies at Coinbase: Why Kubernetes is not... by dvcrn on Monday June 08, 2020 @09:45PM (#23462801)
I work on a 2-person project and decided to go with kubernetes (through digitalocean) for the cluster. I am managing everything with terraform and I don't have any big problems. I like that I can write everything as terraform manifests, have it diffed on git push and applied to prod if I want to.

Sure it had a learning curve but now I just describe my deployments and k8s does the rest, which then reflects back on digitalocean. If I need more power for my cluster, I increase the nodes through digitalocean and k8s automatically moves my containers around how it deems fit.

I used normal blue/green deployments on self-managed VMs in the past, then worked with beanstalk, heroku, appengine and I much prefer k8s. Yes it's easier on heroku, but try to run 2-3 different containers on the same dyno for dev to keep cost down. On k8s I can run my entire stack on one single small digitalocean $10 VM if I wanted to.

I wouldn't even know what I else could pick that gives me equal flexibility and power?

Re:Container technologies at Coinbase: Why Kubernetes is not... by nednar on Tuesday June 09, 2020 @12:18PM (#23467940)
> I used normal blue/green deployments on self-managed VMs in the past, then worked with beanstalk, heroku, appengine and I much prefer k8s. Yes it's easier on heroku, but try to run 2-3 different containers on the same dyno for dev to keep cost down. On k8s I can run my entire stack on one single small digitalocean $10 VM if I wanted to.

So you already spend about a decade learning all the skills. What the other guy is talking about coming from dev not from ops. If you come from dev you don't necessarily know what an ingress or egress is, and might never have done a blue/green deployment etc. This is all stuff that needs to be learned first. I worked with many many teams who had zero skills in data center tech before they were moved to k8s full time.

I personally like it to learn all that stuff. And I love that my job requires it now. But it's more like vim than like node-red, and that was a shock for many people, from engineer to EVP.

Re:Container technologies at Coinbase: Why Kubernetes is not... by arcticfox on Monday June 08, 2020 @10:15PM (#23462980)
I'm also on a 2-person project on DigitalOcean k8s, also very happy.

K8s is kind of messy compared to Heroku, which I don't love, but is also way more powerful and can be more secure. I don't know what I'd use instead of it, exactly as you said.

Also, we run a VPC-only K3s node for some simple internal tools that works great as well.

Re:Container technologies at Coinbase: Why Kubernetes is not... by Lukas_Skywalker on Tuesday June 09, 2020 @01:49AM (#23464050)
For those missing Heroku: there exists Dokku [1], a small Heroku-like implementation for container management. It uses the same underlying buildpacks and you get the same comfort as with Heroku. And it's free to use. You can't deploy to multiple host machines though. But for small projects that fit on a single host, it's very nice to use.

[1] http://dokku.viewdocs.io/dokku/

Re:Container technologies at Coinbase: Why Kubernetes is not... by GOTERTHe on Tuesday June 09, 2020 @02:00AM (#23464109)
Tried Dokku, but found CapRover [1] to be a much better / easier option

[1] https://caprover.com/

Re:Container technologies at Coinbase: Why Kubernetes is not... by jamil7 on Tuesday June 09, 2020 @03:38AM (#23464595)
Looks great! considering migrating from dokku. I also came across exoframe recently which looks lower level but works with your existing docker projects https://github.com/exoframejs/exoframe
Re:Container technologies at Coinbase: Why Kubernetes is not... by Lukas_Skywalker on Tuesday June 09, 2020 @03:02AM (#23464402)
Better for what reason?

It seems Dokku wins at "easier" since in many cases, you can just push the application code you used for development and the required stack is automatically detected. Adding a database is two commands. No need to know Dockerfiles.

Re:Container technologies at Coinbase: Why Kubernetes is not... by kasra85 on Tuesday June 09, 2020 @08:22AM (#23465970)
It's easier because for many cases you don't even need to search the document ro know what command to run to fire up a database. You just select it from a GUI list.
Re:Container technologies at Coinbase: Why Kubernetes is not... by gnud on Tuesday June 09, 2020 @06:53AM (#23465456)
Looks interesting - but the installation instructions put me off a bit. Open a port on your server, and don't change the default password `captain42` - then run a cli tool from your dev machine.

I'll look more into it, but it didn't really inspire confidence.

Re:Container technologies at Coinbase: Why Kubernetes is not... by kasra85 on Tuesday June 09, 2020 @08:20AM (#23465965)
You can choose a custom password during installation
Re:Container technologies at Coinbase: Why Kubernetes is not... by gnud on Tuesday June 09, 2020 @08:22AM (#23465979)
I just don't understand why you can't change the password (or even better, choose a certificate) before you open the ports to the world.
Re:Container technologies at Coinbase: Why Kubernetes is not... by dvcrn on Monday June 08, 2020 @10:21PM (#23463002)
> Also, we run a VPC-only K3s node for some simple internal tools that works great as well.

We do exactly the same thing! We have a one-node k8s for all these dev things that just works. Everything is containerized for local dev anyway so moving it to k8s was just writing the deployment manifest.

On heroku, all of these would be separate dynos (or one glued-together dyno that does everything). On a self-hosted VM we'd have to deal with managing that.

I liked this approach so much that I now have a small 1-node personal cluster that hosts all of my private hobby projects that aren't ready for prime time yet, that were on heroku previously. Costs me only $10 + (persistent storage + IP address if needed)

Re:Container technologies at Coinbase: Why Kubernetes is not... by dfee on Tuesday June 09, 2020 @12:42AM (#23463718)
I feel like I’m witnessing two co-founding colleagues - who sit by each other day in and day out - discover the other’s persona on HackerNews.

Sure, maybe you two (@dvcrn and @arcticfox) don’t work together and don’t know each other, but it’s definitely more entertaining imagining the scenario above.

Re:Container technologies at Coinbase: Why Kubernetes is not... by charlieflowers on Tuesday June 09, 2020 @12:59AM (#23463798)
“If you like pina coladas...”
Re:Container technologies at Coinbase: Why Kubernetes is not... by KineticLensman on Tuesday June 09, 2020 @03:43AM (#23464624)
Re:Container technologies at Coinbase: Why Kubernetes is not... by meigwilym on Tuesday June 09, 2020 @05:50AM (#23465181)
You really should write an article detailing how all this is set up. It sounds fascinating.
Re:Container technologies at Coinbase: Why Kubernetes is not... by ashtonkem on Monday June 08, 2020 @10:22PM (#23463009)
Heroku is also very cheap on the low end. EKS costs at least $72/mo before adding compute & storage. That would get you a lot of dynos.
Re:Container technologies at Coinbase: Why Kubernetes is not... by gigatexal on Tuesday June 09, 2020 @02:48AM (#23464334)
I’m a bit dubious in the Heroku-is-less-secure-than-k8s claims
Re:Container technologies at Coinbase: Why Kubernetes is not... by zerubeus on Tuesday June 09, 2020 @08:17AM (#23465944)
for 2 person project dokku is the smartest choice
Re:Container technologies at Coinbase: Why Kubernetes is not... by rawoke083600 on Tuesday June 09, 2020 @02:56AM (#23464371)
if you can run everything on a $10 vm...do you really need k8 ?
Re:Container technologies at Coinbase: Why Kubernetes is not... by takeda on Tuesday June 09, 2020 @03:22AM (#23464514)
You do if you do a resume driven development.
Re:Container technologies at Coinbase: Why Kubernetes is not... by OOPMan on Tuesday June 09, 2020 @08:10AM (#23465883)
Ooooh, that one's going to sting in the morning
Re:Container technologies at Coinbase: Why Kubernetes is not... by dvcrn on Tuesday June 09, 2020 @10:20PM (#23473232)
The point is to keep cost down while a project is in development, then scale depending on needs without having to worry about container distribution and resource utilization.

On dev I don't need a 10 node cluster if I had 10 containers running. One $10 vm is fine.

On prod I can start with a 3-node cluster for these 10 containers, then scale it up depending on traffic and needs while controlling my spending.

Not everyone has thousands of dollars of VC money to throw at hosting

Re:Container technologies at Coinbase: Why Kubernetes is not... by merb on Tuesday June 09, 2020 @03:27AM (#23464539)
most people probably want the following: - no downtime deployments - distributed jobs - as managed infra as possible

without k8s some things would be hard.

Re:Container technologies at Coinbase: Why Kubernetes is not... by Juliate on Tuesday June 09, 2020 @03:39AM (#23464604)
no downtime deployments? happened before k8s; used to do that several times with some haproxy.

distributed jobs? same; nothing prevents from spawning runners with adhoc libraries and queues.

managed infra? not specific to k8s

Re:Container technologies at Coinbase: Why Kubernetes is not... by manigandham on Tuesday June 09, 2020 @03:53AM (#23464656)
The "adhoc" part is the problem. K8S is standardized and offers high-availability, failover, logging, monitoring, load balancing, networking, service discovery, deployments, stateful services, storage volumes, batch jobs, etc. And it can run self-contained on a single machine or scale out to 1000 nodes.

Why piece all of that functionality together yourself into some fragile framework instead of using a industry standard?

Re:Container technologies at Coinbase: Why Kubernetes is not... by spottybanana on Tuesday June 09, 2020 @05:15AM (#23465035)
"Why piece all of that functionality together yourself into some fragile framework instead of using a industry standard?"

Quite recently developed "industry standard". Many tools mentioned have been used for tens of years, they work robustly, are well documented and there is lots of people who can use them. I personally would use the word "industry standard" a little bit differently.

Re:Container technologies at Coinbase: Why Kubernetes is not... by manigandham on Tuesday June 09, 2020 @07:29AM (#23465627)
You still have to put them all together into some custom solution just for your setup which adds overhead and fragility. New employees will have to learn that instead of using K8S APIs. Deploying new components can’t take advantage of the wide and fast growing ecosystem.

There’s really nothing like the full suite that kubernetes provides.

Re:Container technologies at Coinbase: Why Kubernetes is not... by ethbro on Tuesday June 09, 2020 @09:34PM (#23472926)
> New employees will have to learn that instead of using K8S APIs

You know tech has made it when people offer argumentum ad Java.

'Sure, X might not be the best solution, but you can always buy someone to do it.'

Re:Container technologies at Coinbase: Why Kubernetes is not... by dividedbyzero on Wednesday June 10, 2020 @04:32PM (#23481726)
It's also very empowering for people whose job isn't to run things, but to build the things that are to run. I've worked on a dozen-or-so of bespoke "industry standard" setups, and each and every one had a number of weird quirks, involved learning some new "industry standard" components and either made it very hard and dangerous for non-ops/devops/infra people to run their things themselves, or had homegrown tooling that pretty much replicated what the k8s API can do, just only a small subset and badly. Some YAML and kubectl are well within what a typical data scientist can be expected to understand, more so if it means they can run their things on a dev cluster themselves, and in a pinch, that data scientist can debug prod issues of their things, because it all works the same way. We have a very useful bot that was built and deployed by someone decidedly not ops while waiting for jobs to finish – a simple K8S deploymend YAML is like 50 LOC, with 40 being pretty much standard, et voilà, running bot, without having to build lots and lots of automation in-house or having to take up ops time to deploy this for them or having to grok advanced sysadmin-ing first. Used with appropriate caution and safeguards, it's super powerful.
Re:Container technologies at Coinbase: Why Kubernetes is not... by cameronbrown on Tuesday June 09, 2020 @05:32AM (#23465099)
> Quite recently developed "industry standard". Many tools mentioned have been used for tens of years, they work robustly, are well documented and there is lots of people who can use them.

k8s is based off of Borg, which has existed for far longer.

https://research.google/pubs/pub43438/

Re:Container technologies at Coinbase: Why Kubernetes is not... by vertex-four on Tuesday June 09, 2020 @06:50AM (#23465439)
"What Google does" is not an industry standard.
Re:Container technologies at Coinbase: Why Kubernetes is not... by cameronbrown on Tuesday June 09, 2020 @01:03PM (#23468420)
That's not what I'm saying. Your point was about the maturity of k8s which makes sense if it sprung from nowhere, but k8s encapsulates a lot of "lessons learned" of a very stable and mature product (even if proprietary).
Re:Container technologies at Coinbase: Why Kubernetes is not... by skj on Tuesday June 09, 2020 @08:45AM (#23466126)
Really it's just "inspired" by borg. Using both, they're really not very similar.
Re:Container technologies at Coinbase: Why Kubernetes is not... by bschwindHN on Tuesday June 09, 2020 @04:07AM (#23464719)
It can be worth it to piece things together yourself. A complex tool can also be fragile if you don't take the time to learn and understand every facet of it.

If you only need certain parts of what k8s offers, building those parts yourself can offer you more stability, control, and insight into what your application is doing.

As with anything else it varies case-by-case.

Re:Container technologies at Coinbase: Why Kubernetes is not... by p_l on Tuesday June 09, 2020 @04:30AM (#23464840)
Building it yourself is also a case of "resume-driven development".

Not that there aren't good reasons or good outcomes from having done a deep dive, but just putting it there.

Re:Container technologies at Coinbase: Why Kubernetes is not... by bschwindHN on Tuesday June 09, 2020 @06:41AM (#23465397)
I think using something like k8s prematurely is more an example of "resume driven development" than the other way around.

Building it yourself doesn't mean building all of it. For example, it's quite easy to get zero downtime deployments with a tiny bit of systemd configuration and the SO_REUSEPORT socket option. That seems easier for a team to understand than "here is kubernetes and everything that comes with it"

Re:Container technologies at Coinbase: Why Kubernetes is not... by p_l on Tuesday June 09, 2020 @07:39AM (#23465690)
That is, however, a very tiny slice of what might be needed.

You need to deliver the application to the machines somehow. You might need to configure the network to reach the application, etc. All quite common tasks.

(And honestly, systemd can bite you just as much if not worse than k8s definitions, because the API is much less cohesive and the defaults like to cut off your hands)

Re:Container technologies at Coinbase: Why Kubernetes is not... by ownagefool on Tuesday June 09, 2020 @06:02AM (#23465233)
Building one yourself is a good exercise for understanding something, I agree.

The problem with that logic is everyone on your team will need to do it, so you're going to be stuck picking a standard. Should it be yours, should it be mine, or should we both just learn something with a large community behind it?

Nothing is perfect of course, but k8s makes a really good target for CI/CD, which is something you want when you're developing as part of a team. If you're not quite a team yet and you don't know how to bootstrap k8s and CI/CD, then you need to figure out when those types of things are important.

Probably lots of people could stick with a monolith and a VM for longer than they did, but automated testing will save you a fair bit of time if you're not figuring out how to do it at the same time.

Re:Container technologies at Coinbase: Why Kubernetes is not... by Juliate on Tuesday June 09, 2020 @09:59AM (#23466695)
k8s is nice, yes. But, by its age, no more standardized now, than MySQL was 15 years ago.

k8s also adresses a very small portion of the market. If you have to scale, yes, you might need k8s. Chances are, you don't. Really.

I stopped counting the (supposedly big) customers that burnt themselves into k8s when they logistically need not to, and only brought organisational issues on them.

Re:Container technologies at Coinbase: Why Kubernetes is not... by cdelsolar on Tuesday June 09, 2020 @09:33AM (#23466508)
"some haproxy" - what is the haproxy configuration? I tried doing this myself and then realized setting up a cheap k8s cluster on DO was way easier. Now, yes, there have been occasional problems, but not since I just let DO handle the whole thing. I can do zero-downtime deploys, cronjobs (why is spawning a pod so wasteful? it spawns it, runs the job, and then kills it?), all with a single "kubectl apply" command that takes a split second to run.
Re:Container technologies at Coinbase: Why Kubernetes is not... by bobbyi_settv on Tuesday June 09, 2020 @12:40PM (#23468164)
If you're in AWS, you can use their ELB (Elastic Load Balancer) service instead of setting up your own haproxy. I worked on a team that used it for years without any issues orchestrating zero-downtime deployments. It was extremely easy and didn't require any real configuration.
Re:Container technologies at Coinbase: Why Kubernetes is not... by p_l on Tuesday June 09, 2020 @04:29AM (#23464835)
Having done it myself in the past?

Setting up and taking care of k3s is much easier.

Re:Container technologies at Coinbase: Why Kubernetes is not... by merb on Tuesday June 09, 2020 @05:29AM (#23465089)
yeah, we started out with ansible aswell. but some stuff is just way harder. especially no downtime. haproxy is fragile and sending files via haproxy over ssh aswell. docker is also a standarized package+repository format. before we used some kind of hacky cdn solution, etc. it was stuff glued together, written by myself and I was the only guy who understood it and ever will be.
Re:Container technologies at Coinbase: Why Kubernetes is not... by serverQuestion on Tuesday June 09, 2020 @06:14AM (#23465284)
if a $10 vps would work, but you want no downtime deployments heroku would work perfectly
Re:Container technologies at Coinbase: Why Kubernetes is not... by zerubeus on Tuesday June 09, 2020 @08:15AM (#23465922)
I use dokku since the distributed job is not a feature i’m looking for
Re:Container technologies at Coinbase: Why Kubernetes is not... by cameronh90 on Tuesday June 09, 2020 @06:54AM (#23465462)
I use k3s to manage my Plex/NAS/home server machine. Just simply as a deployment tool, it's much easier for me than managing a collection of services deployed by Ansible/Puppet held together by custom scripts and systemd units.
Re:Container technologies at Coinbase: Why Kubernetes is not... by azernik on Tuesday June 09, 2020 @05:35AM (#23465119)
Sure, you can go without it. But you'll need to write a lot of annoying scripts manually.
Re:Container technologies at Coinbase: Why Kubernetes is not... by wiradikusuma on Monday June 08, 2020 @10:48PM (#23463143)
Could you share the resources to get started? I'm in a similar boat, 2 person trying to set up K8S in DO using automation (CI/CD).
Re:Container technologies at Coinbase: Why Kubernetes is not... by dvcrn on Monday June 08, 2020 @11:11PM (#23463267)
Sadly I don't have many resources I can refer you to (maybe someone else can add?) but digitaloceans kubernetes guides are excellent so I'd start with that: https://www.digitalocean.com/docs/kubernetes/how-to/

k8s has a loooot of stuff it can do and reading too many blog posts that go into too much detail can be intimidating, so my advice would be:

1. Create a dummy cluster on digitalocean (or docker desktop with k8s support / minikube), then setup kubectl to connect to it.

2. Start with the difference between resource types: What are deployments, what are pods?

3. Create a deployment manifest that just tries to pull a container from some registry, apply it with kubectl -f foo.yml

4. Play with kubectl to inspect things: kubectl get pods, kubectl get deployments, kubectl describe pod xxxxxx, kubectl logs xxxx

5. Learn how kubernetes ties things together through labels: Create a ClusterIP/LoadBalancer service and try to get it to balance to your pods from above through labels (https://www.digitalocean.com/docs/kubernetes/how-to/add-load...)

Deployments/services/(pods) are all you need in the beginning for running containers on k8s and exposing them. Of course then there are things like persistent storage but if your app is made to run ephemeral, you likely have storage/db setup externally already.

For running through the CI, once you have your manifests you could run kubectl apply directly through the CI if you wanted to. We are using terraform in front of k8s with hashicorps hosted state, then run `terraform plan`. If it passes, on dev we automatically apply to the cluster, on prod there is a manual step through the hashicorp admin UI that needs an apply trigger. Then there are more advanced tools like spinnaker that can be used to setup more complex pipelines on what to do on push.

Re:Container technologies at Coinbase: Why Kubernetes is not... by snuxoll on Monday June 08, 2020 @11:31PM (#23463399)
Gitlab CI is my weapon of choice here since it’s integrated nicely with Kubernetes. There’s a wealth of tools out there - but the work I do on managing PCGamingWiki is publicly available [1] to give you a starting point. I use Kustomize + kubectl, and when I need to rollback a deployment I can just do it from Gitlab’s environment page.

1: https://gitlab.com/pcgamingwiki/pcgamingwiki

Re:Container technologies at Coinbase: Why Kubernetes is not... by sandGorgon on Tuesday June 09, 2020 @05:33AM (#23465109)
Try k3s.io . You will have a much more pleasant experience
Re:Container technologies at Coinbase: Why Kubernetes is not... by jrockway on Tuesday June 09, 2020 @06:25AM (#23465327)
My experience is the same. I really like automating tedious and error prone parts of deployments, and Kubernetes is the best tool I've found for that. It is a lot to learn about, and there are a lot of missing features that people go to great lengths to build for themselves (see "service mesh" for example), but the core is very solid.

I like loosely coupling things, and Kubernetes is the first ecosystem where that has worked well for me. (OK, it worked great when I worked at Google, but a lot of effort was put into that by thousands of people.) For example, for the first time in my life, I automatically renewed a TLS certificate for my various personal projects. When I started using Let's Encrypt, I just manually ran certbot every 3 months when I got a warning email that my cert was expiring. That is fine, but it's kind of a waste of time. There are tightly coupled solutions to this problem, but they basically require you to totally commit to their approach (Caddy is a good example of this). I use Envoy, but Kubernetes let me not care. I run cert-manager, which just runs in the background and updates my certs when they need to be updated. It's stored as a Kubernetes secret, which can be mounted into my Pod as files. When the secret changes, the filesystem is atomically updated. Envoy can notice this and start using the new certificate. cert-manager doesn't know anything about Envoy and Envoy doesn't know anything about Let's Encrypt. So I'm not locked into any particular decision -- I can change my CA, and nothing about my frontend proxy has to change. I can change my frontend proxy, and nothing about my certificate management has to change. This, to me, is a big deal. I have one less thing to worry about, and I am not locked into any other decisions.

I also like the flexibility with which I can write programs to manage my infrastructure. All the primitives available to me as a programmer are high-level and well-tested, and are the same things that the CLI tools do. For example, in preparation for HTTP/3, I needed some way to get UDP traffic into my cluster. My cloud provider doesn't provide a load balancer for UDP, so instead I wrote a program that watches changes to Nodes from the Kubernetes API server, and updates a DNS record with the external IP addresses of all the healthy nodes. Then I can instruct browsers capable of HTTP/3 to use that DNS address to attempt an upgrade to HTTP/3, and it doesn't matter that my cloud provider can't do that at a lower layer in the stack. The alternative to this approach is to basically commit to having a certain IP address available, and keep that updated manually. It's fine, but again, one more thing to worry about. I can take this exact code, and it will work perfectly on any other Kubernetes provider -- so I'm not tied to DigitalOcean, and I'm not tied to any manual processes. One less thing to worry about.

I agree that a lot of people get into a situation where they have to move hundreds of apps and tens of nodes all at once, and under those circumstances, it sure is a lot of work to figure out Kubernetes compared to putting a band-aid on the problem and getting back to work. The biggest problem is that you are probably facing some sort of crisis, and have to decide, with very little experience, whether you want to use a managed offering or build it yourself. Building it yourself is quite complicated. What CNI plugin are you going to use (they all seem both wonderful and horrible on paper)? Why do you have to buy five nodes only dedicated to master tasks, like etcd? How are we going to upgrade to the next version with no downtime? You can go managed, but then you give up a lot of control. Who controls DNS at the node level (fun fact: container pulls don't go through the same DNS stack that the Pod will eventually use)? How can you use gVisor to isolate pods from the host kernel? (You can't! You will have to run it yourself.) Compromise fatigue is going to kill you here -- you have a crisis, and all the options are bad. (I've been there myself. I started using Kubernetes because our Convox Rack was so outdated that we couldn't deploy new software anymore. We tried upgrading things, but it broke things even more. So until we got k8s working, and converted every workload from a proprietary format, we couldn't deploy software. It was frustrating. But the reality is that I wanted to switch a long time ago, so the transition was quite smooth, with no prior real-world experience. And now this problem won't happen again, because tens of thousands of people know how to deal with Kubernetes.)

I also agree with this article that Amazon's managed Kubernetes offering is terrible. EKS was my first Kubernetes experience, and it was clear to me that Jeff Bezos walked into someone's office and said "we need Kuberthingie in two weeks or you're all fired." The team saved their jobs, but that's about it. It's very much the managed Kubernetes solution for people that are locked into AWS already. What people really want is not Managed Kubernetes but "namespace as a service". They just want to kubectl apply something and let a background task provision their machines. They don't want to screw around with RBAC, service meshes, managing the Linux distribution on their worker nodes, managing the master nodes, etc. That service unfortunately doesn't exist. Maybe send me an email if you want to work on something like this, though, because I certainly do ;)

In summary, I get the pain points, but I think they are worth embracing. Things aren't perfect, but you are going to have pain points at all the big breakpoints in infrastructure. Going from 0 applications to 1 application is going to be a major change for your team/company. Going from 1 application to 2 applications is also going to be a major change, but most people overcome this with sheer willpower and tedium until they hit something like 10 or 15 applications, and then are up a creek without a paddle. I recommend embracing future growth early, so that your second application is as easy to run as your first. It's not hard, it's not time consuming, it's just very different from "I'll pop in a Debian CD and rsync our app over."

Re:Container technologies at Coinbase: Why Kubernetes is not... by sciurus on Tuesday June 09, 2020 @09:11AM (#23466344)
> What people really want is not Managed Kubernetes but "namespace as a service". They just want to kubectl apply something and let a background task provision their machines. They don't want to screw around with RBAC, service meshes, managing the Linux distribution on their worker nodes, managing the master nodes, etc. That service unfortunately doesn't exist.

I think you just described AWS Fargate and Google Cloud Run.

https://aws.amazon.com/fargate/

https://cloud.google.com/run

Re:Container technologies at Coinbase: Why Kubernetes is not... by jrockway on Tuesday June 09, 2020 @09:30AM (#23466487)
AWS's version is pretty half-baked. You can't provision or use persistent volumes (so no stateful apps), and you have to use their load balancer which terminates TLS (preventing your software from being able to do ALPN, using Let's Encrypt, supporting HTTP/3, etc.).

Cloud Run just seems like standard "serverless" stuff, nothing to do with Kubernetes. (The downsides involve not being able to run applications that are designed to run on a generic Linux box; everything has to be specially developed. That is fine, and they have open-sourced all the tools necessary to move off of them so you aren't locked in, but it's a bigger paradigm shift.)

Re:Container technologies at Coinbase: Why Kubernetes is not... by thomasrognon on Tuesday June 09, 2020 @11:59AM (#23467766)
I use Cloud Run and nothing is specially developed for it, other than just being stateless. I can take my container and run it on a generic Linux box with zero changes (in fact, I run it in WSL2 on my Windows machine all the time). And I just install the normal Node.js, imagemagick, etc in my Dockerfile, no special builds or flags.
Re:Container technologies at Coinbase: Why Kubernetes is not... by jrockway on Tuesday June 09, 2020 @05:39PM (#23471196)
That sounds pretty compelling then.
Re:Container technologies at Coinbase: Why Kubernetes is not... by mauflows on Tuesday June 09, 2020 @10:12AM (#23466813)
Cloud Run uses KNative which is a stateless extension of k8s
Re:Container technologies at Coinbase: Why Kubernetes is not... by tarsinge on Tuesday June 09, 2020 @07:43AM (#23465723)
If it runs on a single instance then a simple docker-compose file give you all of that.
Re:Container technologies at Coinbase: Why Kubernetes is not... by quickthrower2 on Tuesday June 09, 2020 @01:02AM (#23463811)
I'm on a 0.05 person project, using K8S through AKS