Loading video player...
Learn for free on Brilliant for a full 30 days: https://brilliant.org/GoatsInAPond/ . You’ll also get 20% off an annual Premium subscription. Installing Talos Linux and bootstrapping Kubernetes is time consuming if you're new to declarative infrastructure. My hope is that this video is easy to understand and helps you avoid the common mistakes with an API driven operating system. Quick Reference: Generate Talos image at https://factory.talos.dev Install talosctl: brew install siderolabs/tap/talosctl (if you don't have brew there are other providers for talosctl) Create bootable USB + boot from the Talos ISO Generate your Talos config: talosctl gen config CLUSTER_NAME https://YOUR_NODE_IP:6443 Get the installation disk name or id: talosctl -n YOUR_NODE_IP get disks --insecure -o yaml Update your controlplane.yaml machine configuration file with the proper disk name. Allow scheduling on control planes for single node clusters. Apply your config: talosctl apply-config -n YOUR_NODE_IP --insecure --file /path/to/controlplane.yaml Bootstrap Kubernetes: talosctl bootstrap --nodes YOUR_NODE_IP --endpoints YOUR_NODE_IP --talosconfig=/path/to/talosconfig Configure endpoint for talosctl commands: talosctl config endpoint 10.13.17.32 Export talosconfig to a variable for talosctl: export TALOSCONFIG=/path/to/talosconfig Merge kubeconfig with talosconfig: talosctl kubeconfig -n 10.13.17.32 Check the health of your node: talosctl -n 10.13.17.32 --health ??????? Profit onedr0p Cluster Template: (a great way to start k8s with GitOps at home) https://github.com/onedr0p/cluster-template My Github: https://github.com/chr1sd/home-ops Kiwi KVM with Disk: https://www.cytrence.com/product-page/cytrence-kiwi-drive Zimablade: https://tidd.ly/3YHdu7v - ZimaBlade 7700 NAS Kit https://tidd.ly/4sc9klI - ZimaBlade 7700 Kubernetes Home Lab: https://amzn.to/3JXJ25f - GeeekPi RackMate T1 Mini Server Rack https://amzn.to/43bT49E - 1U Mini Server Rack Shelf https://amzn.to/4mYMvyQ - Mini Server Rack Patch Panel https://amzn.to/467dC4X - Ubiquiti 8 Port PoE Switch https://amzn.to/4gs9rUH - Ethernet Patch Cables https://amzn.to/47FfRvT - Acer 1TB NVME SSD https://amzn.to/4hHtSxv - Acer 256GB Sata SSD https://amzn.to/47pr9p5 - 64GB DDR4 SODIMM Memory https://amzn.to/3Z9XOtM - UGREEN 65W USB-C Charger https://amzn.to/3ZcjPIj - Anker 65W USB-C Charger https://amzn.to/4qTZ9AD - Power Strip with 6 Outlets https://amzn.to/4hHOMgd - 100W USB-C Cables https://amzn.to/49Cv9nA - USB-C to Barrel Jack Adapter for HP Computers https://amzn.to/4qOJAdC - USB-C Voltage Tester My Gear: https://amzn.to/3JEut6w - Sennheiser Pro Portable Microphone https://amzn.to/4oqABib - Insta360 Flow 2 Pro Gimbal Stabilizer This video was sponsored by Brilliant. As an Amazon affiliate, I earn from qualifying purchases. There is no extra cost to you! All proceeds go to keeping the channel alive and well. Thanks! 0:00 - don't make the same mistakes 0:30 - generate your image 1:55 - make a bootable usb 3:05 - boot from the usb 4:40 - install talosctl 5:49 - set a static IP! 7:38 - i messed up 8:30 - generate config 9:05 - make sure you have the right disk! 9:40 - edit config file and apply 13:13 - bootstrap kubernetes 14:37 - let's make life easier 15:35 - merge kubeconfig and talosconfig 16:07 - success!!!