The pfSense and TrueNAS procedures are for people, so they no longer load as Claude context. The stack CLAUDE.md files keep only what the code cannot show.
1.0 KiB
1.0 KiB
monitoring
Monitoring stack (Prometheus + Grafana) via the kube-prometheus-stack Helm chart. Reads kubeconfig from k8s-bootstrap and domain from k8s-apps, both via StackReference.
Common Commands
npm install
pulumi up --yes
Architecture
- Namespace
monitoring kube-prometheus-stackHelm release (chart v86.2.0)- Grafana: ingress at
grafana.<domain>(traefik,letsencrypt-prod),longhornPVC (2Gi) - Prometheus:
longhornPVC (20Gi) viavolumeClaimTemplate - Alertmanager disabled
- Grafana: ingress at
Key Notes
- The
monitoringnamespace and the Helm release both use the Pulumiimportresource option (monitoring,monitoring/kube-prometheus-stack) — they were adopted from pre-existing cluster resources rather than created fresh. Be careful with renames or changes that would force a replace.
Required Pulumi config
pulumi config set --secret grafanaAdminPassword <password>
CI/CD
Workflow: ../.gitea/workflows/05-deploy-monitoring.yaml. Secret: MONITORING_PULUMI_DEV_YAML.