mmontes11 / k8s-bootstrap-talos

πŸš€ Kubernetes cluster bootstrapping for Raspberry Pi using Talos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k8s-bootstrap-talos

πŸš€ Kubernetes cluster bootstrapping for Raspberry Pi using Talos.

⚠️ Raspberry Pi 5 currently not supported by Talos:

You may also take a look at the Ubuntu installation: k8s-bootstrap.

Node preparation

IMAGE_ID=<image-id> make image
  • Write the image
sudo dd if=metal-arm64.raw of=/dev/sda conv=fsync bs=4M
  • Boot and assign a static IP in the router based on the MAC

Controlplane

  • Generate secrets
make gen-secrets
  • Generate configuration
make gen-config
  • Apply controlplane configuration
NODE=<controlplane-ip> make apply-controlplane
  • Bootstrap Kubernetes
NODE=<controlplane-ip> make bootstrap-k8s

Worker

  • Generate worker config
WORKER=worker1.yaml make gen-worker
  • Apply worker configuration
WORKER=worker1.yaml NODE=<worker-ip> make apply-worker

Configuration

  • Get kubeconfig
NODE=<controlplane-ip> make kubeconfig
  • Get talosconfig
make talosconfig

Reference

About

πŸš€ Kubernetes cluster bootstrapping for Raspberry Pi using Talos

License:Apache License 2.0


Languages

Language:Makefile 100.0%