mirror of
https://github.com/ced4568/ced-k3s-homelab.git
synced 2026-08-12 22:24:01 +00:00
Restructure repo, replace IPs with placeholders, update positioning
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user