GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jtatum/kluster: Ansible config and playbooks for a cluster of Raspberry Pis running Kubernetes

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
group_vars
group_vars
 
 
k3s
k3s
 
 
movelogs/tasks
movelogs/tasks
 
 
network/tasks
network/tasks
 
 
roles
roles
 
 
README.md
README.md
 
 
ansible.cfg
ansible.cfg
 
 
erasedisks.yaml
erasedisks.yaml
 
 
inventory.yaml
inventory.yaml
 
 
kluster.yaml
kluster.yaml
 
 
requirements.yaml
requirements.yaml
 
 
scratchpad.md
scratchpad.md
 
 

Repository files navigation

Kluster

This is my deployment automation for the OS and

Prerequisites

  • An SD card with Ubuntu 20.04. ubuntu-20.04.2-preinstalled-server-arm64+raspi.img
  • DHCP static lease reservations (listed in inventory.yaml)
  • SSH into the system once to set password (this can probably be automated with sshpass and expect)
  • The password encrypted with ansible-vault, stored in inventory.yaml and the key at ~/ansible-vault-pw (see ansible.cfg)

Hardware

The cluster currently consists of 3 Raspberry Pi 4Bs. rpi1 has 8GB of RAM, rpi2 and rpi3 have 4GB. All have PoE hats and a Samsung Evo 870 2.5" SSDs connected via a Sabrent USB 3.0 SATA adapter.

Ansible

Usage

  • Install Ansible
  • Install dependencies: ansible-galaxy install -r requirements.yaml
  • Run the playbook ansible-playbook kluster.yaml
  • Optional - symlink ~/.kube/k3s.yml to config so kubectl works: ln -s ~/.kube/k3s.yml ~/.kube/config

About

Ansible config and playbooks for a cluster of Raspberry Pis running Kubernetes

Resources

Readme
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.