Skip to content

All the stuff that makes my fun cluster do the stuff it do.

Notifications You must be signed in to change notification settings

jehanalvani/fustercluck

Repository files navigation

fustercluck

All the stuff that makes my fun cluster do the stuff it do.

Key Components

  1. One or more raspberries pi per inventory.yml
  2. SSH & Keys
  3. Cloudalchemy's node_exporter role[^1] ansible-galaxy install cloudalchemy.node-exporter
  4. Jeff Geerling's NFS Role

Requirements

1. `community.general.snap`

Steps

If adding a new Raspberry Pi node

  1. Flash Pi SD
    1. Touch ssh in boot vol (/Volumes/boot on MacOS)
  2. ssh to new host using default username/password
  3. Copy pi user keys to controller
  4. Run new_host_init.yml against the new host RaspberryPi.
    • ansible-playbook --private-key [key file] -u pi playbooks/new_host_init.yml
  5. Run playbooks for appropriate node types

If adding a new host in general

  1. Create ansible user and copy ansible keys to new host
  2. Run new_host_init.yml against the host as the ansible user.
    • ansible-playbook --private-key [key file] -u pi playbooks/new_host_init.yml

Footnotes

[1]: The CloudAlchemy role, if run from a Mac, requires export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES (more detail here and here) and requires gnu-tar (brew install gnu-tar)

About

All the stuff that makes my fun cluster do the stuff it do.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published