News for hackers. Stuff that matters.
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