Skip to content

moabukar/homelab-multipass

Repository files navigation

Homelab Multipass

Overview

K8s cluster using Multipass, Ansible, and k3s. It provides a basic framework for deploying and managing a Kubernetes cluster on a set of Ubuntu VMs.

Can be replicated on a Raspberry Pi.

Prerequisites

Setup

## create group_vars/all.yml

k3s_master_ip: 
k3s_node_token: 

## Run
make setup_multipass
make setup_master
make setup_nodes

## OR

make all ## to setup everything

Check K8s is installed

multipass shell k8s-master
kubectl get nodes

## or
multipass exec k8s-master -- kubectl get nodes

Ansible setup

Homelab Multipass Ansible

ArgoCD setup

Homelab Multipass ArgoCD

Debugging stuff

multipass shell k8s-master

sudo chmod 644 /etc/rancher/k3s/k3s.yaml

## check
kubectl --kubeconfig /etc/rancher/k3s/k3s.yaml get nodes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published