Live data from Hacker News

Swarmlet: A self-hosted, open-source Platform as a Service

github.com

41–47 of 47 posts

Re: Swarmlet: A self-hosted, open-source Platform as a Service

#41
post #27

I have built all our infrastructure on Docker Swarm before learning about its state. Currently waging migrating to Nomad out of fear for K8s complexity - I’ve worked with it in a previous job with more employees than now, and it still was a big hassle - but am afraid I’ll repeat the same mistake and should just bite the bullet. Does anyone have suggestions?

I'd say go for Nomad! As for getting started...

- Single-server and non-secure (no mTLS; no ACLs) clusters are super easy to set up and a great way to try out things before committing.

- ...However, enabling especially ACLs but also TLS on running clusters is going to be more hassle than simply setting up a fresh, properly bootstrapped cluster.

- Their minimum and recommended resource requirements are hugely inflated, you can generally get good mileage out of way less

- ...However: Do follow their advice on keeping nodes single-responsibility (ie don't run a consul server and nomad server on the same node; generally keep your servers dedicated and not running jobs)

- Consul and Vault integrations are generally rock solid.

- ...However: Nomad native service discovery is not yet (wrt consistency and template rewrites). Consul Connect may or may not have edge (it's some time since last we seriously tried it).

- learn.hashicorp.com has material for most things you want to do.

- Put all your ACL configuration in Terraform (or whatever else you have for the same purpose)

Re: Swarmlet: A self-hosted, open-source Platform as a Service

#42
post #4

I really like the option to deploy through a git push without additional setup, and I am looking for something similar to host a bunch of containers. Does anyone here have experience with such a tool, and what is your experience regarding reliability?

Have you looked into Google Cloud Run?

Re: Swarmlet: A self-hosted, open-source Platform as a Service

#43
post #23

Earlier quoted context omitted.

Can you describe your setup? I tried setting up nomad but couldn't figure out service discovery, external ingress / letsencrypt in the time I allotted myself...

You won't find a resource which encompasses that. I have the feeling its purposeful so you pay for a course or certificate.

Are you saying course authors are removing other people's content from the Web?

Re: Swarmlet: A self-hosted, open-source Platform as a Service

#44
post #41
post #27

I have built all our infrastructure on Docker Swarm before learning about its state. Currently waging migrating to Nomad out of fear for K8s complexity - I’ve worked with it in a previous job with more employees than now, and it still was a big hassle - but am afraid I’ll repeat the same mistake and should just bite the bullet. Does anyone have suggestions?

I'd say go for Nomad! As for getting started... - Single-server and non-secure (no mTLS; no ACLs) clusters are super easy to set up and a great way to try out things before committing. - ...However, enabling especially ACLs but also TLS on running clusters is going to be more hassle than simply setting up a fresh, properly bootstrapped cluster. - Their minimum and recommended resource requirements are hugely inflated…

Thank you for this list, very much appreciated! I'll keep those things in mind.

Re: Swarmlet: A self-hosted, open-source Platform as a Service

#45

Earlier quoted context omitted.

You might want to check out dokku

You might want to be careful with this though because if your application is built on the same server where your productive apps consuming some of the memory it could affect performance of your deployment or even take it down.

Dokku allows for deploying apps from images built in CI - which is quite effective if you also test your image artifacts in CI and don't want to build twice.

If you are using our Nomad or Kubernetes plugins, you can also run the apps on servers other than the one you are building on.

Re: Swarmlet: A self-hosted, open-source Platform as a Service

#46

Earlier quoted context omitted.

portainer now has a banner to subscribe as well on the free version

Portainer also has default opt-out analytics via matomo. According to their github the analytics are in Germany but the DNS points to server in France at the moment. Either way, I find it questionable to have analytics running on self hosted open source software.

Oh, i wasn't aware of this

Re: Swarmlet: A self-hosted, open-source Platform as a Service

#47

Earlier quoted context omitted.

You might want to be careful with this though because if your application is built on the same server where your productive apps consuming some of the memory it could affect performance of your deployment or even take it down.

Dokku allows for deploying apps from images built in CI - which is quite effective if you also test your image artifacts in CI and don't want to build twice. If you are using our Nomad or Kubernetes plugins, you can also run the apps on servers other than the one you are building on.

Yup I am aware :) I am just warning them of jumping in without reading too much of the documentation.
Post reply on HN