Skip to content

K3sΒ #99

Open
Open

Description

@nelsonic

While learning about Kamal #96 I cannot help but think it's similar to - but simpler than - K3s
https://docs.k3s.io -> https://github.com/k3s-io/k3s πŸ”—

So the question is: is it worth using K3s 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. πŸ”¨ πŸ₯œ

Related to: #57

Activity

  1. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor

    Busy watching: K3S (by Rancher) | Setup a lightweight Kubernetes Cluster in Minutes: https://youtu.be/1hwGdey7iUU
    image

    it's the end of the day and my brain is fried. 😫

  2. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor
  3. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor
  4. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor
  5. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor

    That K3S intro was good but not complete ...
    So going through this video now:
    HIGH AVAILABILITY k3s (Kubernetes) in minutes! https://youtu.be/UoOcLXfa8EU
    image

  6. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor
  7. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor

    RKE2: One-Click Deployment - Time To Switch From K3S!? https://youtu.be/RC7NeTh-cf8

  8. nelsonic commented on Nov 11, 2024

    @nelsonic
    MemberAuthor
  9. nelsonic commented on Nov 12, 2024

    @nelsonic
    MemberAuthor

    Read through: https://www.digitalocean.com/community/tutorials/how-to-deploy-postgres-to-kubernetes-cluster the editorial at DigitalOcean should read the comments ...

    image

    So bit of a dead-end. πŸ€¦β€β™‚οΈ

  10. nelsonic commented on Nov 12, 2024

    @nelsonic
    MemberAuthor

    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. πŸ˜•

  11. nelsonic commented on Nov 13, 2024

    @nelsonic
    MemberAuthor
  12. nelsonic commented on Nov 17, 2024

    @nelsonic
    MemberAuthor

    @ndrean noticed on your profile that you have a a K8s logo in your Toolbox:
    ndrean-github-profile-k8s

    Where/how did you learn K8s and are you using it for any current projects? πŸ’­ πŸ™

  13. ndrean commented on Nov 17, 2024

    @ndrean

    @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.

  14. nelsonic commented on Nov 17, 2024

    @nelsonic
    MemberAuthor

    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. πŸ”—πŸ‘Œ

  15. ndrean commented on Nov 17, 2024

    @ndrean

    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?

  16. ndrean commented on Nov 18, 2024

    @ndrean

    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)
    • how to you spread DB migrations?
    1. Corry Daniel is "solid"

    https://github.com/coryodaniel/k8s

    1. Michael Ruoss developed a library for Livebook

    Screenshot 2024-11-18 at 11 25 09

    1. Daniel Azuma talked about

    The blog source: https://daniel-azuma.com/articles/talks/elixirconf-2018

    and the link to the video below:
    Screenshot 2024-11-18 at 11 19 08

    1. In the same spirit:
      https://engineering.dollarshaveclub.com/elixir-otp-applications-on-kubernetes-9944636b8609

    2. Use Livebook to connect to your "kuberneted" OPT cluster

    Livebook documentation clustering

    The link:
    Screenshot 2024-11-18 at 11 31 00

    1. A blog post using K8 in Docker desktop:

    The link:
    Screenshot 2024-11-18 at 11 41 26

    And the companion repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions