/homelab-config

Provides configuration for the homelab project.

Setup

Initialization

Run the following commands to create and initialize a Kubernetes cluster on a target Proxmox server.

NOTE: Use single-quotes if you want shell parameter expansion to occur on a remote server.

  • make install
  • homelab setup
  • homelab kubectl patch deployment kubernetes-dashboard -n kube-system --patch '$(cat ${REMOTE_CONFIG_DIR}/k8s/kube-system/patch-deployment-k8s-dashboard.yaml)'
  • homelab kubectl patch service kubernetes-dashboard -n kube-system --patch '$(cat ${REMOTE_CONFIG_DIR}/k8s/kube-system/patch-service-k8s-dashboard.yaml)'
  • homelab kubectl apply -f '${REMOTE_CONFIG_DIR}/k8s/default'