Install NFS CSI Driver in K3S

There are two ways to install the NFS CSI driver 1. Using Helm Charts Makes sure you have installed helm. Reference Link Run the following commands helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts helm install csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system --version v4.6.0 2. Using kubectl Run the below command curl -skSL https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/v4.6.0/deploy/install-driver.sh | bash -s v4.6.0 -- jahnin@ubuntu:~$ curl -skSL https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/v4.6.0/deploy/install-driver.sh | bash -s v4.6.0 -- Installing NFS CSI driver, version: v4....

February 9, 2024 · 2 min · Jahnin Rajamoni

Boot the ESXi Installer Using Netbootxyz and iPXE

As one of my boot drives failed, i had to reinstall esxi. I did not want to go throught the hassle of creating a bootable usb drive and decided to give PXE boot a try. While there are a lot of articles on manually creating a tftp server for PXE boot, netboot.xyz is by far the easiest way to go about setting up PXE boot for various operating systems. from https://netboot....

January 24, 2024 · 7 min · Jahnin Rajamoni

Enable Traefik Dashboard in K3s

K3S deploys traefik as its ingress controller. The traefik dashboard in not enabled by default. To enable the traefik dashboard, SSH to the kubernetes node that is the control plane node. Make sure you are the root user. sudo su - Edit the file: /var/lib/rancher/k3s/server/manifests/traefik.yaml Add the following config to the file under spec->valuesContent. After you save the file, traefik will be redeployed and port 9000 will be exposed. dashboard: enabled: true ports: traefik: expose: true Example config:...

November 17, 2023 · 2 min · Jahnin Rajamoni

Deploy the Homer app to your Kubernetes Cluster

Homer is a fast and simple static HTML Dashboard by Bastien Wirtz that you can use as a landing page to access your web applications. Homer Github: https://github.com/bastienwirtz/homer While homer can be deployed using a helm chart, I wanted to deploy the app using config files in my home lab. To quickly deploy homer: Create a namespace: # ns.yml apiVersion: v1 kind: Namespace metadata: name: homer Create the Persistent Volume....

November 10, 2023 · 2 min · Jahnin Rajamoni

VLANS in VMware Workstation

While there is no built-in way to configure VLANs for VMs in VMware Workstation, you can use a workaround to create VLAN-backed interfaces on the Host OS and use bridged networking and custom virtual networks in VMware Workstation to configure vlans for the VM network interfaces. I have workstation running on Ubuntu. The following steps will be for Ubuntu 22.04. Install the vlan package and load the 8021q module sudo apt install vlan sudo modprobe 8021q sudo su -c 'echo "8021q" >> /etc/modules' Add the vlan backed interface....

October 23, 2023 · 2 min · Jahnin Rajamoni