-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Matus Jenca <matus.jenca@dnation.cloud>
- Loading branch information
1 parent
5fc402e
commit 1900dd8
Showing
5 changed files
with
110 additions
and
24 deletions.
There are no files selected for viewing
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,10 @@ | ||
## An examplesecret for Openstack internal API certs | ||
## deploy to the same namespace as k8s-monitoring-stack | ||
apiVersion: v1 | ||
data: | ||
ca.crt: <CA CERT BASE64> | ||
tls.crt: <CERT BASE64> | ||
tls.key: <KEY BASE64> | ||
kind: Secret | ||
metadata: | ||
name: openstack-ca |
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 |
---|---|---|
@@ -1,26 +1,46 @@ | ||
--- | ||
## Disable OpenStack exporter multicloud mode | ||
## | ||
multicloud: | ||
enabled: false | ||
prometheus-openstack-exporter: | ||
enabled: true | ||
|
||
## Label OpenStack exporter ServiceMonitor (and others) resource. | ||
## This ensures that Kubernetes monitoring's Prometheus discovers the OpenStack exporter ServiceMonitor | ||
## | ||
commonLabels: | ||
release: kubernetes-monitoring-servicemonitor | ||
commonLabels: | ||
release: monitoring | ||
|
||
## Optional: use public endpoint type e.g. if you want to test connectivity | ||
## WARNING: if you use Grafana dashboard https://grafana.com/grafana/dashboards/21085. | ||
## it will be incomplete | ||
## | ||
# endpoint_type: "public" | ||
|
||
## Optional: Mittigate timeouts on Prometheus | ||
# serviceMonitor: | ||
# scrapeTimeout: "1m" | ||
## OpenStack API access configuration | ||
## Doc: https://github.com/openstack-exporter/openstack-exporter#openstack-configuration | ||
## | ||
clouds_yaml_config: | | ||
clouds.yaml: | | ||
clouds: | ||
default: | ||
auth: | ||
|
||
clouds_yaml_config: | | ||
clouds.yaml: | | ||
clouds: | ||
default: | ||
auth: | ||
auth_url: <REPLACE_ME> | ||
application_credential_id: <REPLACE_ME> | ||
application_credential_secret: <REPLACE_ME> | ||
region_name: <REPLACE_ME> | ||
identity_api_version: 3 | ||
auth_type: "v3applicationcredential" | ||
region_name: <REPLACE_ME> | ||
identity_api_version: 3 | ||
auth_type: "v3applicationcredential" | ||
key: "/etc/ssl/certs/openstack-ca/tls.key" | ||
cert: "/etc/ssl/certs/openstack-ca/tls.crt" | ||
cacert: "/etc/ssl/certs/openstack-ca/ca.crt" | ||
## Secret containg SSL certificates for internal openstack API | ||
extraVolumes: | ||
- name: openstack-ca | ||
secret: | ||
secretName: openstack-ca | ||
|
||
extraVolumeMounts: | ||
- mountPath: /etc/ssl/certs/openstack-ca | ||
name: openstack-ca |