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

Portainer in K3s - Simple and Easy!

Lately, in my home lab, I have been deploying applications into a K3S cluster. While K3S does not come with a built-in dashboard, I was looking for a solution that would provide a graphical user interface for managing my cluster. I came across Portainer, a lightweight, open-source container management platform that supports a variety of container orchestration platforms, including K3S. Deploying Portainer into your kubernetes cluster is quite easy and simple....

October 6, 2023 · 2 min · Jahnin Rajamoni

Using k3sup to set up a K3S cluster in minutes

K3S K3S is a lightweight Kubernetes distribution. It is easy to set up and manage, and it can be deployed on a variety of hardware platforms. k3sup k3sup, pronounced ‘ketchup’ is a utility that makes it easy to set up a K3S cluster. It can be used to deploy a cluster on a single node or multiple nodes, and it can be configured to use a variety of cloud providers or on-premises infrastructure....

September 27, 2023 · 2 min · Jahnin Rajamoni