Automate K3S cluster deployment on vSphere using Ansible and a VM Template

Recently, I had to deploy a bunch of VMs to a vSphere cluster. Although there are many VMware solutions that can achieve this, I wanted to get my hands dirty with Ansible. Lets begin by installing pyvmomi root@ubuntu:~# apt install pip -y root@ubuntu:~# apt-get update root@ubuntu:~# pip install pyvmomi Install the VMware vSphere Automation SDK for Python root@ubuntu:~# pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git Install ansible root@ubuntu:~# sudo apt install software-properties-common root@ubuntu:~# sudo apt install ansible Create a new Ansible role Ansible Roles let you automatically load related vars, files, tasks, handlers, and other Ansible artifacts based on a known file structure....

March 12, 2024 · 4 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