Skip to content

Commit

Permalink
Merge pull request #224 from SumoLogic/maisie-docs-change
Browse files Browse the repository at this point in the history
Add instructions on deploying second prometheus in the same cluster
  • Loading branch information
maimaisie authored Oct 7, 2019
2 parents ec8c974 + 0ca272c commit f357552
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This page has instructions for collecting Kubernetes logs, metrics, and events;
- [Overwrite Prometheus Remote Write Configuration](#overwrite-prometheus-remote-write-configuration)
- [Merge Prometheus Remote Write Configuration](#merge-prometheus-remote-write-configuration)
- [How to install if you have standalone Prometheus](#how-to-install-if-you-have-standalone-prometheus)
- [How to install our Prometheus side by side with your existing Prometheus](#how-to-install-our-prometheus-side-by-side-with-your-existing-prometheus)
- [Uninstalling the Chart](#uninstalling-the-chart)
- [Non Helm Installation](#non-helm-installation)
- [Before you start](#before-you-start)
Expand Down Expand Up @@ -235,6 +236,23 @@ Update your Prometheus configuration file’s `remote_write` section, as per the
* `writeRelabelConfigs:` change to `write_relabel_configs:`
* `sourceLabels:` change to `source_labels:`

### How to install our Prometheus side by side with your existing Prometheus

When installing our Helm Chart it is possible to have more than one Prometheus server running in the same cluster. You can deploy our solution more than once in the same cluster or in a cluster with an existing Prometheus server. To use a different port number than the default 9100 set the following fields for the Prometheus node exporter when installing our Helm Chart. For example:

```
--set prometheus-node-exporter.service.port=9200 --set prometheus-node-exporter.service.targetPort=9200
```

Or add the following section to your override values.yaml:

```
prometheus-node-exporter:
service:
port: 9200
targetPort: 9200
```

### Uninstalling the Chart

To uninstall/delete the `collection` release:
Expand Down

0 comments on commit f357552

Please sign in to comment.