Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nova-bigvm prometheus exporter #4457

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions openstack/nova/templates/bigvm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ spec:
resources:
{{ toYaml .Values.pod.resources.bigvm | indent 12 }}
{{- end }}
ports:
- name: metrics
containerPort: {{ required ".Values.nova_bigvm_exporter_port" .Values.nova_bigvm_exporter_port }}
volumeMounts:
- name: nova-etc
mountPath: /etc/nova
Expand Down
4 changes: 4 additions & 0 deletions openstack/nova/templates/etc/_nova.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ dhcp_domain = openstack.{{ required ".Values.global.region is missing" .Values.g

{{ template "utils.snippets.debug.eventlet_backdoor_ini" "nova" }}

{{- if .Values.nova_bigvm_enabled -}}
bigvm_exporter_listen_port = {{ required ".Values.nova_bigvm_exporter_port" .Values.nova_bigvm_exporter_port }}
{{- end }}

[database]
{{- include "ini_sections.database_options_mysql" . }}

Expand Down
1 change: 1 addition & 0 deletions openstack/nova/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ sentry:
enabled: true

nova_bigvm_enabled: true
nova_bigvm_exporter_port: 9847

pre_change_hook:
image: "sapcc/unified-kubernetes-toolbox"
Expand Down