- Rename Helm chart directories and dependencies from camelCase to kebab-case: - `clusterIssuer` → `cluster-issuer` - `deploymentUpdater` → `deployment-updater` - `forgejoRunner` → `forgejo-runner` - `prometheusAgent` → `prometheus-agent` - `taskfileBuild` → `taskfile-build` - `vshnPostgres` → `vshn-postgres` - Remove deprecated `hugo` and `vuepress` charts (replaced by `taskfile-build`) - Update `task` script commands (`install-chart`, `upgrade-release`) to use kebab-case names and strip hyphens for release names - Add namespace validation to `install-chart` and `upgrade-release` to ensure active namespace matches values file path - Update `.vitepress` configuration to reflect new chart names and links - Rename `.vitepress` config and theme files from `.ts` to `.mts` - Update documentation (`README.md`, `Exoscale.md`, `Infomaniak.md`, `K3s.md`, `Migration.md`, `Monitor.md`) and prompt files with new chart names - Regenerate `.tgz` packages and update `index.yaml` with new digests and timestamps - Update `odoo` chart dependencies to use `vshn-postgres` subchart name
2.5 KiB
2.5 KiB
Prometheus Agent
This chart deploys Prometheus in agent mode to scrape Kubernetes metrics and write them to a central Prometheus endpoint.
Secrets
To securely provide the remote write credentials, create a Kubernetes Secret named prometheus-remote-write-credentials in the target namespace.
kubectl create secret generic prometheus-remote-write-credentials \
--from-literal=username="$remote_write_username" \
--from-literal=password="$remote_write_password" \
-n $namespace
Parameters
prometheus-agent parameters
| Name | Description | Value |
|---|---|---|
image |
The image for Prometheus | prom/prometheus:v2.54.1 |
imagePullPolicy |
Pull policy for Prometheus image | Always |
replicas |
Number of replicas for the Prometheus agent deployment | 1 |
Remote write configuration
| Name | Description | Value |
|---|---|---|
remoteWrite.url |
The remote write endpoint URL. | https://prometheus.mint-system.ch/api/v1/write |
Resources requests and limits
| Name | Description | Value |
|---|---|---|
resources.requests.memory |
Memory request for the container | 500Mi |
resources.requests.cpu |
CPU request for the container | 100m |
resources.limits.memory |
Memory limit for the container | 1Gi |
Kube-state-metrics configuration
| Name | Description | Value |
|---|---|---|
kube-state-metrics.enabled |
Enable kube-state-metrics as sub-chart | true |
kube-state-metrics.resources.requests.memory |
Memory request for the container | 32Mi |
kube-state-metrics.resources.requests.cpu |
CPU request for the container | 10m |
kube-state-metrics.resources.limits.memory |
Memory limit for the container | 128Mi |