|
|
@@ -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
|
|
|
---
|