Sfoglia il codice sorgente

fixing prometheus path

Signed-off-by: Jesse Goodier <31039225+jessegoodier@users.noreply.github.com>
Jesse Goodier 3 anni fa
parent
commit
0db55cc1f5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      kubernetes/opencost.yaml

+ 2 - 2
kubernetes/opencost.yaml

@@ -151,7 +151,7 @@ spec:
               memory: "1G"
           env:
             - name: PROMETHEUS_SERVER_ENDPOINT
-              value: "http://my-prometheus-server.prom.svc" # The endpoint should have the form http://<service-name>.<namespace-name>.svc
+              value: "http://my-prometheus-server.prometheus.svc" # The endpoint should have the form http://<service-name>.<namespace-name>.svc
             - name: CLOUD_PROVIDER_API_KEY
               value: "AIzaSyD29bGxmHAVEOBYtgd8sYM2gM2ekfxQX4U" # The GCP Pricing API requires a key. This is supplied just for evaluation.
             - name: CLUSTER_ID
@@ -176,4 +176,4 @@ spec:
     - name: opencost
       port: 9003
       targetPort: 9003
----
+---