Skip to content

Commit

Permalink
feat(README): add Istio specific steps
Browse files Browse the repository at this point in the history
Co-authored-by: gabeleon
  • Loading branch information
qfritz committed Dec 17, 2024
1 parent 4f5be76 commit baeee02
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ See all available configuration parameters in [configs/helm/values.yaml](https:/

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

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

**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.
Expand Down Expand Up @@ -524,6 +527,24 @@ See the [Development environment](#development-environment) to start the Prometh
docker run -p 9043:9043 -e AWS_PROFILE=${AWS_PROFILE} -v $HOME/.aws:/app/.aws public.ecr.aws/qonto/prometheus-rds-exporter:latest
```
### Istio specific steps
If you use **Istio** and have **Prometheus within Istio-system**, you'll need to do the following modification before following the install instructions.
1. Get your `values.yaml` for your currently deployed Prometheus system (ex: `helm get values RELEASE_NAME [flags]`)
1. Edit the values, under `additionalScrapeConfigs` insert an additional `job_name`:
```yaml
- job_name: prometheus-rds-exporter
kubernetes_sd_configs:
- namespaces:
names:
- monitoring
role: endpoints
```
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_).
## Alternative
[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.
Expand Down

0 comments on commit baeee02

Please sign in to comment.