Skip to content
Snippets Groups Projects
Commit d1bcab55 authored by ArthurSens's avatar ArthurSens
Browse files

addons/pyrra: Fix prometheus namespace connection

parent 90042f17
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
args: [ args: [
'api', 'api',
'--api-url=http://%s.%s.svc.cluster.local:9444' % [pyrra.kubernetesService.metadata.name, pyrra.kubernetesService.metadata.namespace], '--api-url=http://%s.%s.svc.cluster.local:9444' % [pyrra.kubernetesService.metadata.name, pyrra.kubernetesService.metadata.namespace],
'--prometheus-url=http://prometheus-k8s.monitoring.svc.cluster.local:9090', '--prometheus-url=http://prometheus-k8s.%s.svc.cluster.local:9090' % pyrra._config.namespace,
], ],
// resources: pyrra._config.resources, // resources: pyrra._config.resources,
ports: [{ containerPort: pyrra._config.port }], ports: [{ containerPort: pyrra._config.port }],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment