docs: trim CLAUDE.md files to what the code doesn't show
Following the Claude Code memory docs: drop architecture lists, generic commands and CI details Claude can read from the code, keep the reasons behind decisions, and fix the outdated provider and pfSense SDK statements.
This commit is contained in:
1 parent
5cd50c31ff
commit
897813a916
6 files changed
+26
-208
No files matched your search
+1
-30
@@ -1,32 +1,3 @@
|
||||
# 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
|
||||
|
||||
```bash
|
||||
npm install
|
||||
pulumi up --yes
|
||||
```
|
||||
|
||||
## Architecture
|
||||
|
||||
- Namespace `monitoring`
|
||||
- `kube-prometheus-stack` Helm release (chart v86.2.0)
|
||||
- Grafana: ingress at `grafana.<domain>` (`traefik`, `letsencrypt-prod`), `longhorn` PVC (2Gi)
|
||||
- Prometheus: `longhorn` PVC (20Gi) via `volumeClaimTemplate`
|
||||
- Alertmanager disabled
|
||||
|
||||
## Key Notes
|
||||
|
||||
- The `monitoring` namespace and the Helm release both use the Pulumi `import` resource 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
|
||||
|
||||
```bash
|
||||
pulumi config set --secret grafanaAdminPassword <password>
|
||||
```
|
||||
|
||||
## CI/CD
|
||||
|
||||
Workflow: `../.gitea/workflows/05-deploy-monitoring.yaml`. Secret: `MONITORING_PULUMI_DEV_YAML`.
|
||||
- The `monitoring` namespace and the `kube-prometheus-stack` Helm release were adopted from existing cluster resources via the Pulumi `import` option. Be careful with renames or changes that would force a replace.
|
||||
Reference in new issue
Block a user