Skip to content

Latest commit

History

History
67 lines (55 loc) 路 1.55 KB

README.md

File metadata and controls

67 lines (55 loc) 路 1.55 KB

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