This tutorial will walk you through a complete Sidero setup and the formation, scaling, and destruction of a workload cluster.
To complete this tutorial, you will need a few things:
- ISC DHCP server. While any DHCP server will do, we will be presenting the configuration syntax for ISC DHCP. This is the standard DHCP server available on most Linux distributions (NOT dnsmasq) as well as on the Ubiquiti EdgeRouter line of products.
- Machine or Virtual Machine on which to run Sidero itself. The requirements for this machine are very low, but it does need to be x86 for now, and it should have at least 4GB of RAM.
- Machines on which to run Kubernetes clusters. These have the same minimum specifications as the Sidero machine.
- Workstation on which
clusterctlcan be run.
- Prerequisite: CLI tools
- Prerequisite: DHCP server
- Prerequisite: Kubernetes
- Install Sidero
- Expose services
- Import workload machines
- Create a workload cluster
- Scale the workload cluster
- Destroy the workload cluster
- Optional: Pivot management cluster
ClusterAPI or CAPI is the common system for managing Kubernetes clusters in a declarative fashion.
Management Cluster is the cluster on which Sidero itself runs. It is generally a special-purpose Kubernetes cluster whose sole responsibility is maintaining the CRD database of Sidero and providing the services necessary to manage your workload Kubernetes clusters.
Sidero is the ClusterAPI-powered system which manages baremetal infrastructure for Kubernetes.
Talos is the Kubernetes-focused Linux operating system built by the same people who bring to you Sidero. It is a very small, entirely API-driven OS which is meant to provide a reliable and self-maintaining base on which Kubernetes clusters may run. More information about Talos can be found at https://talos.dev.
Workload Cluster is a cluster, managed by Sidero, on which your Kubernetes workloads may be run. The workload clusters are where you run your own applications and infrastruture. Sidero creates them from your available resources, maintains them over time as your needs and resources change, and removes them whenever it is told to do so.