Skip to content

Latest commit

 

History

History
executable file
·
63 lines (44 loc) · 1.9 KB

README.md

File metadata and controls

executable file
·
63 lines (44 loc) · 1.9 KB

Homelab ⚗️

This project aims to build a homelab for personal testing on infrastructure, development, CI/CD, etc...

It provides a complete configuration with common web services using ansible as a deployment tool for both infrastructure (gateway and k3s cluster) and applications running mainly in Kubernetes.

It is a quick starting point for simple infrastructure needs or for testing various tools such as monitoring, alerting, automated deployment, security testing, etc...

Documentation

Website: https://this-is-tobi.com/homelab/introduction.

Table of Contents - md sources:

Quickstart

Make sure all prerequisites are met.

Setup directory:

# Clone the repository
git clone --depth 1 https://github.com/this-is-tobi/homelab.git && cd ./homelab && rm -rf ./.git && git init

# Copy inventory example to inventory
cp -R ./ansible/infra/inventory-example ./ansible/infra/inventory
cp -R ./ansible/kube/inventory-example ./ansible/kube/inventory

Infra

Setup inventory:

Install:

# Install infra
./run.sh -p ./ansible/infra/install.yml -u -k

Kubernetes

Setup inventory:

Install:

# Set kube context
kubectl config set-context homelab

# Install services
./run.sh -p ./ansible/kube/install.yml -u