Skip to content

aenix-io/talos-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

talos-bootstrap

An interactive script for bootstrapping Kubernetes clusters on Talos OS.

Example: bootstrap full-feature Kubernetes cluster in 5 minutes: screencast

Installation

Install dependencies:

  • talosctl (>=1.6.0)
  • dialog
  • nmap

Install talos-bootstrap:

curl -LO https://github.com/aenix-io/talos-bootstrap/raw/master/talos-bootstrap
chmod +x ./talos-bootstrap
sudo mv ./talos-bootstrap /usr/local/bin/talos-bootstrap

Usage

  • Boot your nodes with Talos in maintenance mode.
    (booting from ISO or PXE using matchbox is the best option)
  • Create a directory for holding your cluster configuration.
  • Run talos-bootstrap command for every node in your cluster.

Options

  • -u option can be used to upgrade or reconfigure nodes on existing cluster

Customizations

You can specify your customizations in one of the following files:

  • patch.yaml - common settings used for all nodes.
  • patch-controlplane.yaml - settings used for controlplane nodes only
  • patch-worker.yaml - settings used for worker nodes only

Read the Configuration Patches documentation for more details.

Copyright

Andrei Kvapil kvapss@gmail.com
Licensed under Apache 2.0 License