Skip to content

Commit d1c915e

Browse files
committed
doc changes + opensearch datasource now based on opensearch group
1 parent c6b221e commit d1c915e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

ansible/roles/kube_prometheus_stack/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
name: opensearch
167167
subsets:
168168
- addresses:
169-
- ip: "{{ control_ip }}"
169+
- ip: "{{ opensearch_ip }}"
170170
ports:
171171
- port: 9200
172172
name: opensearch

docs/monitoring-and-logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Components overview
44

55
### [kube-prometheus-stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)
6-
An umbrella Helm chart which the appliance uses to deploy and manages containerised versions of Grafana and Prometheus.
6+
An umbrella Helm chart which the appliance uses to deploy and manages containerised versions of Prometheus, Grafana, Alertmanager and Node Exporter.
77

88
### [filebeat](https://www.elastic.co/beats/filebeat)
99

environments/common/inventory/group_vars/all/defaults.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ grafana_address: "{{ hostvars[groups['prometheus'].0].api_address }}"
2222

2323
# Service IP addresses
2424
openondemand_ip: "{{ hostvars[groups['openondemand'].0].ansible_host if groups['openondemand'] else '' }}"
25+
opensearch_ip: "{{ hostvars[groups['opensearch'].0].ansible_host if groups['opensearch'] else '' }}"
2526

2627
############################# bootstrap: local user configuration #########################
2728

environments/common/inventory/group_vars/all/grafana.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ grafana_datasources:
4949
- name: slurmstats
5050
# see https://github.com/grafana/opensearch-datasource#configure-the-data-source-with-provisioning
5151
type: grafana-opensearch-datasource
52-
url: "https://{{ control_ip }}:9200"
52+
url: "https://{{ opensearch_ip }}:9200"
5353
basicAuth: true
5454
basicAuthUser: admin
5555
secureJsonData:

0 commit comments

Comments
 (0)