home.social

#csi-driver-smb — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #csi-driver-smb, aggregated by home.social.

fetched live
  1. 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

  2. Update: I've found #csi-driver-smb which seems to be perfect for my needs, and even a video of someone deploying it to their cluster for #Jellyfin.

    I've deployed it successfully to my
    #Kubernetes cluster pretty easily, and am attempting to achieve the same thing but on #Plex rather than Jellyfin. Ran into another obstacle tho, while it seems that my #TrueNAS #SMB share is mounted to the container (shows up in df -h), my root user in the container could not ls the mount point (i.e. /mnt/smb), it'd just return the Permission denied error. Weird thing is the root user could cd into the mount point and its existing subdirectories, but not ls them or write any files to them. I could cat files inside it though, funnily enough.

    the PV for said PVC has mounting options included in csi-driver-smb's example including
    dir_mode=0777, and file_mode=0777, with minor changes such as uid=1001 and gid=1001 I've updated them to 0, which is the uid and gid of the root user. I've even tried updating them to 1000 which is the id of the user plex, but still with the same results.

    Anyone have any clue why I'm getting the permission denied error?

    🔗 https://github.com/plexinc/pms-docker

    🔗 https://github.com/kubernetes-csi/csi-driver-smb

    ▶️ https://youtu.be/3S5oeB2qhyg