feat: add Prometheus, Grafana, and Tailscale monitoring stack
- Install Prometheus + Grafana via kube-prometheus-stack (ClusterIP only, no public ingress) - Deploy Tailscale Operator for secure VPN access to internal services - Add CNPG/PostgreSQL monitoring dashboards - Add vLLM inference monitoring dashboards (tokens, latency, GPU) - Add Cilium networking dashboards (policy, traffic, drops) - Update infra-controllers staging kustomization to include all controllers - Add monitoring-configs Flux sync for dashboard deployment - Update README with monitoring architecture and access instructions - Remove broken stale monitoring files (Azure Key Vault refs, wrong domains) Access: kubectl port-forward or Tailscale VPN (replace auth key before deploy)
This commit is contained in:
parent
60fcc0bd7f
commit
6183159974
37 changed files with 4207 additions and 212 deletions
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- repository.yaml
|
||||
- release-operator.yaml
|
||||
6
infrastructure/controllers/base/tailscale/namespace.yaml
Normal file
6
infrastructure/controllers/base/tailscale/namespace.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: tailscale
|
||||
labels:
|
||||
pod-security.kubernetes.io/enforce: restricted
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: tailscale-operator
|
||||
namespace: tailscale
|
||||
spec:
|
||||
interval: 1h
|
||||
chart:
|
||||
spec:
|
||||
chart: tailscale-operator
|
||||
version: "1.86.x"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: tailscale
|
||||
namespace: tailscale
|
||||
interval: 12h
|
||||
targetNamespace: tailscale
|
||||
install:
|
||||
createNamespace: true
|
||||
crds: Create
|
||||
upgrade:
|
||||
crds: CreateReplace
|
||||
values:
|
||||
# Operator configuration
|
||||
operator:
|
||||
# Tag to use for pods created by the operator (e.g., tailnet)
|
||||
tags: []
|
||||
# Auth key from secret - PLACEHOLDER, replace with real key
|
||||
# Create secret: kubectl create secret generic tailscale-operator-authkey \
|
||||
# -n tailscale --from-literal=authkey=tskey-abc123... \
|
||||
# --dry-run=client -o yaml | kubectl apply -f -
|
||||
operatorSecretRef:
|
||||
name: tailscale-operator-authkey
|
||||
key: authkey
|
||||
logFile: "/var/log/tailscale.log"
|
||||
# Don't block pod startup if Tailscale auth fails
|
||||
waitForLinkLocal: false
|
||||
# Disable webhook (optional)
|
||||
webhook:
|
||||
enabled: false
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: tailscale
|
||||
namespace: tailscale
|
||||
spec:
|
||||
interval: 1h
|
||||
url: https://pkgs.tailscale.com/helmcharts
|
||||
Loading…
Reference in a new issue