You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the question is: is it worth usingK3s over Kamal? π§βπ» π€·ββοΈ
In my mind, the only reason to use K3s or K8s is to conform to expected norm. π«€
Not saying they are bad, obviously not, just that in most cases they are overkill. π¨ π₯
That K3S intro was good but not complete ...
So going through this video now:
HIGH AVAILABILITY k3s (Kubernetes) in minutes! https://youtu.be/UoOcLXfa8EU
DON'T Learn Kubernetes - Do THIS Instead: https://youtu.be/tJowdD9cSaU πΊ wasted 10 mins on it as didn't learn anything new. β³ π₯
But agree that Kubernetes is very over-complicated for our needs. π
Now, using k8 is SUPER expensive, so few would really use it, but it is good to build your app with scaling in mind, in terms of so-called micro-service.
Yeah, we have used K8s @ work where the budget is unlimited. πΈ π
But for a small co/project it feels like overkill. π π₯
Thanks for sharing links. ππ
If you are in particular interested in OTP+k8, I took the opportunity to sum up a bit of literature on "k8-clustering" your "OTP-cluster".
β Everything below is nice locally, playing with Minikube or kind or k3d or k8 on Docker desktop), but IRL its another story when you add RBAC, migrations.... The tool Tilt is super useful to automate things when developing.
I only deployed IRL using ECS
The key problems:
how do you spread/maintain state (websockets and genservers) on eg rolling update (Hot code reload or new deployment)
Activity
nelsonic commentedon Nov 11, 2024
Busy watching: K3S (by Rancher) | Setup a lightweight Kubernetes Cluster in Minutes: https://youtu.be/1hwGdey7iUU

it's the end of the day and my brain is fried. π«
nelsonic commentedon Nov 11, 2024
Reading https://containerd.io https://github.com/containerd/containerd
nelsonic commentedon Nov 11, 2024
The repo listed in the video: https://gitlab.com/cloud-versity/rancher-k3s-first-steps
nelsonic commentedon Nov 11, 2024
menitioned: https://nip.io https://github.com/exentriquesolutions/nip.io
nelsonic commentedon Nov 11, 2024
That K3S intro was good but not complete ...

So going through this video now:
HIGH AVAILABILITY k3s (Kubernetes) in minutes! https://youtu.be/UoOcLXfa8EU
nelsonic commentedon Nov 11, 2024
https://microk8s.io -> https://github.com/canonical/microk8s π
nelsonic commentedon Nov 11, 2024
RKE2: One-Click Deployment - Time To Switch From K3S!? https://youtu.be/RC7NeTh-cf8
nelsonic commentedon Nov 11, 2024
https://docs.rke2.io/
nelsonic commentedon Nov 12, 2024
Read through: https://www.digitalocean.com/community/tutorials/how-to-deploy-postgres-to-kubernetes-cluster the editorial at DigitalOcean should read the comments ...
So bit of a dead-end. π€¦ββοΈ
nelsonic commentedon Nov 12, 2024
DON'T Learn Kubernetes - Do THIS Instead: https://youtu.be/tJowdD9cSaU πΊ
wasted 10 mins on it as didn't learn anything new. β³ π₯
But agree that
Kubernetesis very over-complicated for our needs. πnelsonic commentedon Nov 13, 2024
https://github.com/rancher/rke2
nelsonic commentedon Nov 17, 2024
@ndrean noticed on your profile that you have a a

K8slogo in your Toolbox:Where/how did you learn
K8sand are you using it for any current projects? π πndrean commentedon Nov 17, 2024
@nelsonic I learned Kubernetes because I participated to https://www.grucloud.com/ . It is about IAC. I provided a test app to query the K8 API and get the status of running pods in a context of micro services : https://github.com/ndrean/docker-slim/tree/gcloud. Some notes along the road: https://dev.to/ndrean/rails-on-kubernetes-with-minikube-and-tilt-25ka.
Now, using k8 is SUPER expensive, so few would really use it, but it is good to build your app with scaling in mind, in terms of so-called micro-service.
nelsonic commentedon Nov 17, 2024
Yeah, we have used K8s @ work where the budget is unlimited. πΈ π
But for a small co/project it feels like overkill. π π₯
Thanks for sharing links. ππ
ndrean commentedon Nov 17, 2024
If you really want to auto-scale your images, instead of a DIY-k8, you probably know AWS EKS or ECS, easier. Are you after an Elixir based project?
ndrean commentedon Nov 18, 2024
If you are in particular interested in OTP+k8, I took the opportunity to sum up a bit of literature on "k8-clustering" your "OTP-cluster".
β Everything below is nice locally, playing with Minikube or kind or k3d or k8 on Docker desktop), but IRL its another story when you add RBAC, migrations.... The tool Tilt is super useful to automate things when developing.
I only deployed IRL using ECS
The key problems:
https://github.com/coryodaniel/k8s
The blog source: https://daniel-azuma.com/articles/talks/elixirconf-2018
and the link to the video below:

In the same spirit:
https://engineering.dollarshaveclub.com/elixir-otp-applications-on-kubernetes-9944636b8609
Use Livebook to connect to your "kuberneted" OPT cluster
Livebook documentation clustering
The link:

The link:

And the companion repo