Skip to content

Cloud-native-engineering/sem04_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sem04 - Setup Talos Linux

Build and Publish Talos Image

This setup script is designed to download and install images for nodes, supporting downloading images from the internet and installing them on specified nodes. This repository provides an almost automated method for installing the Talos Linux Operating System on a Turing Pi 2 mini ITX cluster board.

Created during my semester thesis 4. More information can be found here.

Usage

To allow tpi to connect to the BMC Management Controller, you need to set the following environment variables:

export TPI_HOSTNAME=<HOSTNAME>
export TPI_USERNAME=<USERNAME>
export TPI_PASSWORD=<PASSWORD>

Once the environment variables are set, you can run the setup script with the following command:

./setup.sh [options]

Options

  • -d, --download Download images from the internet
  • -i, --install Install node
  • -k, --k8s Install Kubernetes
  • -n, --node [1,2,3,4] Specify which node (default: all)
  • -h, --help Display this help message

Examples

Download images:

./setup.sh --download

Install node 1:

./setup.sh --install --node 1

Install all nodes:

./setup.sh --install

Install Kubernetes on node 1:

./setup.sh --k8s --node 1

Install all Kubernetes nodes:

./setup.sh --k8s

Logging

All actions and errors are logged with timestamps in the setup.log file located in the same directory as the script.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Created in 2024 by Yves Wetter.

About

Setup Talos Linux Cluster on Turingpi2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages