Skip to content

ChristianFehlinger/tpi

Repository files navigation

Install Kubernetes on a TuringPi2

Hardware

  • Node01 - 03: Raspberry Pi Compute Module 4 Lite, BCM2711, ARM Cortex-A72, 4GB-RAM CM4004000
  • Node04: 16GB-RAM Truing RK1

Software

Truing PI

  • Baseboard Management Controller: 2.0.5

Node

  • Node01 - 03: Debian GNU/Linux 11 (bullseye)
  • Node04:

Usage

  1. Easiest way is to install just
  • Execute just install, to install pre-commit and node
  1. Create an .auth file in the repository root This file is used from ansible to connect to the clients.
  export turing_password=<PASSWORD>
  export turing_ip=<IP>
  export id_rsa_pub=c3NoLXXX
  export id_rsa=LS0tXXXX
  1. Use the local.sh to start ansible. In the best case use the dev-container.

K3s - cluster access

There is a short article. Copy the file /etc/rancher/k3s/k3s.yaml to your local. Replace default with e.g. turingpi and add the sections cluster, contexts and user to your existing kube-config.

  1. Install metallb
# Adjust configmap.yaml to your ip-range
  kubectl apply -k ./kubernetes/metallb
# Example
kubectl apply -f ./kubernetes/example

Links

About

Turing pi 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published