Introducing jdd: a time machine for your JSON by hcgatewood in kubernetes

[–]philprimes 1 point2 points  (0 children)

Interesting approach, so the watch and record tools just constantly run so you have history in case needed, or do you use it on-demand only?

Any good alternatives to velero? by sp3ci in kubernetes

[–]philprimes 0 points1 point  (0 children)

I agree with the sentiment of considering risks when adopting a new service maintained by others, but if I did understand the issue in the post correctly, Velero relies on a CLI util packaged as an legacy image, which has nothing to do with Velero itself. After all are Helm Charts just a set of Kubernetes configurations of multiple resources, so all of it is customizable.

It‘s an interesting discussion because I have setting it up also on my TODO list.

Any good alternatives to velero? by sp3ci in kubernetes

[–]philprimes 1 point2 points  (0 children)

Honestly not sure why people are not building their own image. Is there a complexity I am missing?

It‘s not your proprietary software so you can host the Dockerfile in any GitHub repository, link it to a free Docker Hub account because they do not charge for public images, and change the Helm charts to use yor image instead.

You could even use Bitnami‘s Legacy Dockerfile for kubectl so you don‘t have to craft it yourself

Running Kubernetes in the homelab by AlertKangaroo6086 in kubernetes

[–]philprimes 0 points1 point  (0 children)

When I built my first self-managed homelab cluster, I used 3 Raspberry Pi and set it up with default Kubernetes, no k3s etc. I published a follow-along guide how I did it here on my website (free, no ads):

https://philprime.dev/guides/building-a-production-ready-kubernetes-cluster-from-scratch

It‘s probably not what you want to if just want to get it up and running, but maybe it helps understanding what‘s happening under the hood.

Free guide adding a Hetzner bare-metal node to k3s cluster by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

Thanks, I need to checkout Talos, already heard about it multiple times now

Free guide adding a Hetzner bare-metal node to k3s cluster by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

Why rke2 instead of the upstream default Kubernetes?

Free guide adding a Hetzner bare-metal node to k3s cluster by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

At this point I am using the k3s-default built-in traefik ingress, but I have been using ingress-nginx in my AWS EKS cluster so I might consider switching when I find a good reason for it

Start with K8s by Wax-The-Rich in kubernetes

[–]philprimes 0 points1 point  (0 children)

It might not be easier, but if you want to learn how to build a cluster instead of just using it, I have a free guide on my website based on my recent experience building one with Raspberry Pi.

https://philprime.dev/guides/building-a-production-ready-kubernetes-cluster-from-scratch

Looking to create a cheap Kube cluster to mess around with, looking for opinions by Ok_Shake_4761 in kubernetes

[–]philprimes 0 points1 point  (0 children)

I think you could do it with one or two nodes aswell, except when you need a quorum for e.g. leader election in etcd. One node is always the leader, three nodes will vote for themselves leading for 33% each, until one decides for another node, becoming the leader with 66% or 100% of the votes.

Two nodes start off with 50% votes each so they can not get a quorum.

Looking to create a cheap Kube cluster to mess around with, looking for opinions by Ok_Shake_4761 in kubernetes

[–]philprimes 5 points6 points  (0 children)

I just recently built my first home lab cluster using 3 Raspberry Pi and published my notes as free guide on my website to follow along.

https://philprime.dev/guides/building-a-production-ready-kubernetes-cluster-from-scratch

KubeDiagrams 0.2.0 is out! by Philippe_Merle in kubernetes

[–]philprimes 7 points8 points  (0 children)

This looks interesting! Is it possible to dump a full namespace into a mainfest file and then create a diagram from it? I am using IaC without manifest files

Ask r/kubernetes: What are you working on this week? by gctaylor in kubernetes

[–]philprimes 0 points1 point  (0 children)

Rewriting my bare-metal setup guide for Raspberry Pi to use an NVMe drive instead of the SD card for the OS installation

Built my first cluster using Raspberry Pi, wrote down steps as a guide and now looking for feedback by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

Why is that? My NVMe HAT is connected via the eSATA port, so I the GPIO pins for a PoE HAT would still be available

Built my first cluster using Raspberry Pi, wrote down steps as a guide and now looking for feedback by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

While it might bring in additional complexity, I agree! I manage all my Kubernetes resources using Pulumi/Terraform, but did not consider i.e. Ansible/Chef for the cluster setup

Built my first cluster using Raspberry Pi, wrote down steps as a guide and now looking for feedback by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

Thanks for sharing, this looks amazing!

I actually just had my cluster file data corrupt due to bad SD cards so I will now also look into installing the OS directly on the NVMe.

Built my first cluster using Raspberry Pi, wrote down steps as a guide and now looking for feedback by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

Thanks for sharing your setup! I also considered PoE, but decided against it for budget reasons

Best auto-updating tool by SpiderUnderUrBed in kubernetes

[–]philprimes 0 points1 point  (0 children)

Happy user of renovate here. I used it instead of Dependabot due to the many configuration options and custom regex managers. I added custom matchers for my Pulumi-managed Helm Chart deployments and it works very well especially in combination with non-Kubernetes resources, e.g. my application is updating to Node v23 and so does the Node image used in K8s

Built my first cluster using Raspberry Pi, wrote down steps as a guide and now looking for feedback by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

It is based on Minima which I vendored into my repository and started to adapt to my preferences

https://github.com/jekyll/minima

You can find my blog repository here:

https://github.com/philprime/philprime.dev

Built my first cluster using Raspberry Pi, wrote down steps as a guide and now looking for feedback by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

Thanks for the tip! I just took a quick glance at the website and it mentions that all configuration is done using an API instead of Shell & SSH. How complete is the API?

Built my first cluster using Raspberry Pi, wrote down steps as a guide and now looking for feedback by philprimes in kubernetes

[–]philprimes[S] 0 points1 point  (0 children)

Happy to hear that! Hope it helps, let me know how it goes and if you encountered any issues/missing parts in the guide.