/homelab

Automate the creation of a multi-node Kubernetes cluster in a Proxmox Virtual Environment.

Primary LanguageShell

Overview

Create a multi-node Kubernetes cluster on a single server in a Proxmox Virtual Environment.

Server Specs

  • CPU: 32 x Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz (2 Sockets)
  • RAM: 128 GB
  • Disk
    • local-zfs
      • Content: Disk Image, Container
      • Type: ZFS, Mirror
      • Size: 500 GB (x2)
    • data
      • Content: Disk Image, Container
      • Type: ZFS, Mirror
      • Size: 2 TB (x2)

K8s Cluster Specs

  • Master (x1)
    • CPU: 4 cores
    • RAM: 32 GB
  • Worker (x3)
    • CPU: 2 cores
    • RAM: 8 GB
  • Data (x1)
    • CPU: 4 cores
    • RAM: 16 GB

Commands

  • make install - Install homelab
  • make uninstall - Remove homelab
  • homelab setup - Setup homelab resources
  • homelab teardown - Teardown homelab resources
  • homelab kubectl - Execute a kubectl command on the K8s cluster master node

References