-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Monitoring adding openstack metrics exporter
- Loading branch information
Showing
15 changed files
with
147 additions
and
264 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...orkflows/helm-openstack-api-exporter.yaml → ...lm-prometheus-openstack-api-exporter.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
##Openstack Exporter | ||
|
||
We are using Prometheus for monitoring and metrics collection backend along with the openstack exporter to gather openstack resource metrics | ||
For more information see: https://prometheus.io and https://github.com/openstack-exporter/openstack-exporter | ||
|
||
## Deploy the Prometheus Openstack Exporter | ||
|
||
### Create clouds-yaml secret | ||
Modify genestack/helm-configs/monitoring/openstack-metrics-exporter/clouds-yaml with the appropriate settings and create the secret. | ||
|
||
```shell | ||
kubectl create secret generic clouds-yaml-secret --from-file /opt/genestack/helm-configs/monitoring/openstack-metrics-exporter/clouds-yaml | ||
``` | ||
|
||
### Install openstack-metrics-exporter helm chart | ||
```shell | ||
cd /opt/genestack/submodules/openstack-exporter/helm-charts/charts | ||
|
||
helm upgrade --install os-metrics ./prometheus-openstack-exporter \ | ||
--namespace=openstack \ | ||
--timeout 15m \ | ||
-f /opt/genestack/helm-configs/monitoring/openstack-metrics-exporter/openstack-metrics-exporter-helm-overrides.yaml \ | ||
--set clouds_yaml_config="$(kubectl get secret clouds-yaml-secret -o jsonpath='{.data.clouds-yaml}' | base64 -d)" | ||
``` |
230 changes: 0 additions & 230 deletions
230
helm-configs/monitoring/openstack-exporter/openstack-exporter-helm-overrides.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
helm-configs/monitoring/openstack-metrics-exporter/clouds-yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
clouds.yaml: | | ||
clouds: | ||
default: | ||
region_name: RegionOne | ||
auth: | ||
username: admin | ||
password: <admin-password> | ||
project_name: admin | ||
project_domain_name: default | ||
user_domain_name: default | ||
auth_url: 'http://keystone-api.openstack.svc.cluster.local:5000/v3' |
Oops, something went wrong.