fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.5K
active users

I've just merged a huge PR to my #Orked (O-tomated RKE Distribution - GREAT NAME I KNOW) that makes it easier than ever for anyone to set up a production-ready #RKE2 #Kubernetes cluster in their #homelab.

With this collection of scripts, all you need to do is just provision the nodes required, including a login/management node, and run the scripts right from the login node to configure all of the other nodes to make up the cluster. This setup includes:

- Configuring the Login node with any required or essential dependencies (such as
#Helm, #Docker, #k9s, #kubens, #kubectx, etc.)

- Setup passwordless
#SSH access from the Login node to the rest of the Kubernetes nodes

- Update the
hosts file for strictly necessary name resolution on the Login node and between the Kubernetes nodes

- Necessary, best practice configurations for all of the Kubernetes nodes including networking configuration, disabling unnecessary services, disabling swap, loading required modules, etc.

- Installation and configuration of RKE2 on all the Kubernetes nodes and joining them together as a cluster

- Installation and configuration of
#Longhorn storage, including formatting/configuring their virtual disks on the Worker nodes

- Deployment and configuration of
#MetalLB as the cluster's load-balancer

- Deployment and configuration of
#Ingress #NGINX as the ingress controller and reverse proxy for the cluster - this helps manage external access to the services in the cluster

- Setup and configuration of
#cert-manager to obtain and renew #LetsEncrypt certs automatically - supports both #DNS and HTTP validation with #Cloudflare

- Installation and configuration of
#csi-driver-smb which adds support for integrating your external SMB storage to the Kubernetes cluster

Besides these, there are also some other
helper scripts to make certain related tasks easy such as a script to set a unique static IP address and hostname, and another to toggle #SELinux enforcement to on or off - should you need to turn it off (temporarily).

If you already have an existing RKE2 cluster, there's a step-by-step guide on how you could use it to easily configure and join additional nodes to your cluster if you're planning on expanding.

Orked currently expects and supports
#RockyLinux 8+ (should also support any other #RHEL distros such as #AlmaLinux), but I am planning to improve the project over time by adding more #Linux distros, #IPv6 support, and possibly even #K3s for a more lightweight #RaspberryPi cluster for example.

I've used this exact setup to deploy and manage vital services to hundreds of unique clients/organisations that I've become
obsessed with sharing it to everyone and making it easier to get started. If this is something that interests you, feel free to check it out!

If you're wondering what to deploy on a Kubernetes cluster - feel free to also check out my
#mika helm chart repo 🥳

🔗 https://github.com/irfanhakim-as/orked

🔗 https://github.com/irfanhakim-as/charts

GitHubGitHub - irfanhakim-as/orked at stop-clusterO-tomated RKE Distribution (Orked) is a collection of scripts that aims to easily and reliably set up a production-ready Kubernetes cluster based on RKE2, with Longhorn storage, that is highly perf...
Mika<p><span>Update: I've found </span><a href="https://sakurajima.social/tags/csi-driver-smb" rel="nofollow noopener" target="_blank">#csi-driver-smb</a><span> which seems to be perfect for my needs, and even a video of someone deploying it to their cluster for </span><a href="https://sakurajima.social/tags/Jellyfin" rel="nofollow noopener" target="_blank">#Jellyfin</a><span>.<br><br>I've deployed it successfully to my </span><a href="https://sakurajima.social/tags/Kubernetes" rel="nofollow noopener" target="_blank">#Kubernetes</a><span> cluster pretty easily, and am attempting to achieve the same thing but on </span><a href="https://sakurajima.social/tags/Plex" rel="nofollow noopener" target="_blank">#Plex</a><span> rather than Jellyfin. Ran into another obstacle tho, while it seems that my </span><a href="https://sakurajima.social/tags/TrueNAS" rel="nofollow noopener" target="_blank">#TrueNAS</a><span> </span><a href="https://sakurajima.social/tags/SMB" rel="nofollow noopener" target="_blank">#SMB</a><span> share is mounted to the container (shows up in </span><code>df -h</code><span>), my root user in the container could not </span><code>ls</code><span> the mount point (i.e. </span><code>/mnt/smb</code><span>), it'd just return the </span><code>Permission denied</code><span> error. Weird thing is the root user could </span><code>cd</code><span> into the mount point and its existing subdirectories, but not </span><code>ls</code><span> them or write any files to them. I could </span><code>cat</code><span> files inside it though, funnily enough.<br><br>the PV for said PVC has mounting options included in csi-driver-smb's example including </span><code>dir_mode=0777</code><span>, and </span><code>file_mode=0777</code><span>, with minor changes such as </span><code>uid=1001</code><span> and </span><code>gid=1001</code><span> I've updated them to </span><code>0</code><span>, which is the uid and gid of the root user. I've even tried updating them to </span><code>1000</code><span> which is the id of the user </span><code>plex</code><span>, but still with the same results.<br><br>Anyone have any clue why I'm getting the permission denied error?<br><br></span>🔗<span> </span><a href="https://github.com/plexinc/pms-docker" rel="nofollow noopener" target="_blank">https://github.com/plexinc/pms-docker</a><span><br><br></span>🔗<span> </span><a href="https://github.com/kubernetes-csi/csi-driver-smb" rel="nofollow noopener" target="_blank">https://github.com/kubernetes-csi/csi-driver-smb</a><span><br><br></span>▶️<span> </span><a href="https://youtu.be/3S5oeB2qhyg" rel="nofollow noopener" target="_blank">https://youtu.be/3S5oeB2qhyg</a></p>
404Not Found