jaredledvina / techsmix-ansible-kubernetes

Ansible repo for managing my personal RaspberryPi k8s cluster

Repository from Github https://github.comjaredledvina/techsmix-ansible-kubernetesRepository from Github https://github.comjaredledvina/techsmix-ansible-kubernetes

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


Languages

Language:HTML 100.0%