Skip to content

Commit 7d2b598

Browse files
committed
Added opencost to plugin
1 parent c785c08 commit 7d2b598

File tree

7 files changed

+48
-2
lines changed

7 files changed

+48
-2
lines changed

oci-scanner-plugin-helm/Chart.lock

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
dependencies:
2+
- name: prometheus-node-exporter
3+
repository: https://prometheus-community.github.io/helm-charts
4+
version: 4.40.0
5+
- name: dcgm-exporter
6+
repository: https://nvidia.github.io/dcgm-exporter/helm-charts
7+
version: 4.5.2
8+
- name: device-metrics-exporter-charts
9+
repository: https://rocm.github.io/device-metrics-exporter/
10+
version: v1.4.0
11+
- name: opencost-lens
12+
repository: https://gablyu-oci.github.io/opencost-helm-chart/
13+
version: 1.0.0
14+
digest: sha256:25f3423b4b252be69dd7fbf0c98518a81ab763160be9513374ecae4058c3c4cd
15+
generated: "2025-11-08T00:55:56.622676665Z"

oci-scanner-plugin-helm/Chart.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,9 @@ dependencies:
3232
- name: device-metrics-exporter-charts
3333
version: "1.4.0"
3434
repository: "https://rocm.github.io/device-metrics-exporter/"
35-
condition: amdGpuExporter.enabled
35+
condition: amdGpuExporter.enabled
36+
37+
- name: opencost-lens
38+
version: 1.0.0
39+
repository: "https://gablyu-oci.github.io/opencost-helm-chart/"
40+
condition: opencost.enabled
10.8 KB
Binary file not shown.
Binary file not shown.
22.7 KB
Binary file not shown.
Binary file not shown.

oci-scanner-plugin-helm/values.yaml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,30 @@ nodeProblemDetector:
271271
memory: 80Mi
272272
limits:
273273
cpu: 10m
274-
memory: 80Mi
274+
memory: 80Mi
275+
276+
opencost:
277+
enabled: true
278+
prometheus:
279+
internal:
280+
enabled: true
281+
namespaceName: lens
282+
serviceName: lens-prometheus-server
283+
port: 9090
284+
prometheusPushgatewayUrl: "http://lens-prometheus-pushgateway.lens.svc.cluster.local:9091"
285+
customPricing:
286+
enabled: true
287+
createConfigmap: true
288+
configmapName: pricing-configs
289+
configPath: /tmp/custom-config
290+
provider: default
291+
costModel:
292+
CPU: 0.031611
293+
spotCPU: 0.006655
294+
RAM: 0.004237
295+
spotRAM: 0.000892
296+
GPU: 6
297+
storage: 0.00005479452
298+
zoneNetworkEgress: 0.01
299+
regionNetworkEgress: 0.01
300+
internetNetworkEgress: 0.143

0 commit comments

Comments
 (0)