Skip to content

Ansible repo for managing my personal RaspberryPi k8s cluster

Notifications You must be signed in to change notification settings

jaredledvina/techsmix-ansible-kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  1. Obtain enough hardware for the cluster, unbox, and setup

Hardware List:

  1. Set static IP addresses for each node via DHCP options
  2. Install ArchLinux Arm
  3. Install openssh and python on each node: pacman --noconfirm -Sy python openssh
  4. Configure each nodes hostname with hostnamectl set-hostname nodeXX
  5. Copy your public SSH key to each node: ssh-copy-id -o PasswordAuthentication=yes alarm@nodeXX

Usage

  1. Configure ansible_hosts.yaml with the correct IP address
  2. Install pipenv and execute pipenv install --two
  3. Verify connectivity with pipenv run ansible all -m ping
  4. Bootstrap the cluster with pipenv run ansible-playbook --ask-become-pass -vv playbooks/bootstrap_cluster.yaml
  5. Proceed with https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

About

Ansible repo for managing my personal RaspberryPi k8s cluster

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages