Initial commit: Ced's K3s HomeLab

This commit is contained in:
2025-12-06 22:22:42 -06:00
commit 188651954e
20 changed files with 1078 additions and 0 deletions
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
NAMESPACE=monitoring
echo "[NOC] Creating monitoring namespace (if not exists)..."
kubectl create namespace ${NAMESPACE} 2>/dev/null || true
echo "[NOC] Adding prometheus-community Helm repo..."
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts >/dev/null 2>&1 || true
helm repo update
echo "[NOC] Installing kube-prometheus-stack as 'ceds-noc'..."
helm upgrade --install ceds-noc prometheus-community/kube-prometheus-stack --namespace ${NAMESPACE} -f kube-prom-values.yaml
kubectl get pods -n ${NAMESPACE}
kubectl get svc -n ${NAMESPACE}