Skip to content

Commit 909c3ff

Browse files
author
Eve Fritz
committed
feat(README): add Istio specific steps
Co-authored-by: gabeleon
1 parent 4f5be76 commit 909c3ff

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ See all available configuration parameters in [configs/helm/values.yaml](https:/
293293

294294
See the [Development environment](#development-environment) to start the Prometheus RDS exporter, Prometheus, and Grafana with dashboards in a minute.
295295

296+
> [!NOTE]
297+
> You use Istio and have Prometheus within Istio-system? [Do this first.](#istio-specific-steps)
298+
296299
### AWS EKS
297300

298301
**Recommended method** to deploy on AWS EKS using [IRSA](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) and Helm.
@@ -524,6 +527,24 @@ See the [Development environment](#development-environment) to start the Prometh
524527
docker run -p 9043:9043 -e AWS_PROFILE=${AWS_PROFILE} -v $HOME/.aws:/app/.aws public.ecr.aws/qonto/prometheus-rds-exporter:latest
525528
```
526529
530+
### Istio specific steps
531+
532+
If you use **Istio** and have **Prometheus within Istio-system**, you'll need to do the following modification before following the install instructions.
533+
534+
1. Get your `values.yaml` for your currently deployed Prometheus system (ex: `helm get values RELEASE_NAME [flags]`)
535+
1. Edit the values, under `additionalScrapeConfigs` insert an additional `job_name`:
536+
537+
```yaml
538+
- job_name: prometheus-rds-exporter
539+
kubernetes_sd_configs:
540+
- namespaces:
541+
names:
542+
- monitoring
543+
role: endpoints
544+
```
545+
546+
1. Apply the edited values (ex: `helm upgrade prometheus prometheus-community/kube-prometheus-stack -n istio-system -f values.yaml --version 62.2.1` - _add the repo if you haven't on helm, and change the repo if you're using another version_).
547+
527548
## Alternative
528549
529550
[percona/rds_exporter](https://github.com/percona/rds_exporter) and [mtanda/rds_enhanced_monitoring_exporter](https://github.com/mtanda/rds_enhanced_monitoring_exporter) are great alternatives.

0 commit comments

Comments
 (0)