Ver Fonte

Merge pull request #1373 from jessegoodier/fix-prom-path

fixing prometheus path
Michael Dresser há 3 anos atrás
pai
commit
4edd576184
1 ficheiros alterados com 2 adições e 2 exclusões
  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
----
+---