2
0
Эх сурвалжийг харах

Merge branch 'develop' into ndo/ui-update-baseimage

Neal Ormsbee 3 жил өмнө
parent
commit
1bdd3d2ff4
1 өөрчлөгдсөн 13 нэмэгдсэн , 0 устгасан
  1. 13 0
      kubernetes/opencost.yaml

+ 13 - 0
kubernetes/opencost.yaml

@@ -157,6 +157,16 @@ spec:
             - name: CLUSTER_ID
               value: "cluster-one" # Default cluster ID to use if cluster_id is not set in Prometheus metrics.
           imagePullPolicy: Always
+        - image: quay.io/kubecost1/opencost-ui:latest
+          name: opencost-ui
+          resources:
+            requests:
+              cpu: "10m"
+              memory: "55M"
+            limits:
+              cpu: "999m"
+              memory: "1G"
+          imagePullPolicy: Always
 ---
 
 # Expose the cost model with a service
@@ -176,4 +186,7 @@ spec:
     - name: opencost
       port: 9003
       targetPort: 9003
+    - name: opencost-ui
+      port: 9090
+      targetPort: 9090
 ---