Skip to content

hwcopeland/iac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure as Code (IaC)

Overview

This repository contains everything needed to deploy and manage a homelab Kubernetes infrastructure using Ansible and RKE2.

Quick Links

Documentation

Core Documentation

Infrastructure

Operations

  • Troubleshooting Guide - Common issues and solutions
    • Ansible issues
    • RKE2 cluster issues
    • Networking problems
    • Storage problems
    • Application issues

Contributing

Project Structure

.
├── ansible/           # Ansible playbooks and roles
│   ├── inventory/    # Host inventory files
│   ├── playbooks/    # Ansible playbooks
│   └── roles/        # Ansible roles
├── rke2/             # Kubernetes manifests and Helm values
│   ├── argocd/       # GitOps configurations
│   ├── kube-system/  # Core K8s components
│   ├── monitor/      # Monitoring stack
│   ├── web-server/   # Web applications
│   └── ...           # Other namespaces
└── docs/             # Documentation
    ├── ansible/      # Ansible-specific docs
    └── rke2/         # RKE2-specific docs

Features

  • Automated Infrastructure: Ansible playbooks for repeatable, idempotent deployments
  • RKE2 Kubernetes: Lightweight, secure Kubernetes distribution
  • GitOps Ready: ArgoCD integration for declarative deployments
  • Centralized Authentication: Authentik OAuth/OIDC for SSO across services
  • Comprehensive Monitoring: Prometheus and Grafana for observability
  • Network Observability: Hubble UI for Cilium network visibility
  • Persistent Storage: Longhorn for distributed block storage
  • Load Balancing: MetalLB for bare-metal load balancing
  • Secrets Management: External Secrets Operator with Bitwarden integration
  • SSL/TLS: Automated certificate management with cert-manager

Sources

The main inspiration for this comes from https://github.com/chkpwd/iac. Brian has helped me a great deal in understanding the concepts provided in this repo. So to him a great deal of credit is owed. I have used his repo as a reference for moving my homelab to k8s.

About

Infrastucture as Code for Homelab Automation

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •