Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ terraform.tfstate.*
generated/
**/generated/
test*json

# Helm chart dependencies
*.tgz
Chart.lock
charts/
7 changes: 6 additions & 1 deletion oci-scanner-plugin-helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ dependencies:
- name: device-metrics-exporter-charts
version: "1.4.0"
repository: "https://rocm.github.io/device-metrics-exporter/"
condition: amdGpuExporter.enabled
condition: amdGpuExporter.enabled

- name: opencost-lens
version: 1.0.0
repository: "https://gablyu-oci.github.io/opencost-helm-chart/"
condition: opencost.enabled
28 changes: 27 additions & 1 deletion oci-scanner-plugin-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,30 @@ nodeProblemDetector:
memory: 80Mi
limits:
cpu: 10m
memory: 80Mi
memory: 80Mi

opencost:
enabled: true
prometheus:
internal:
enabled: true
namespaceName: lens
serviceName: lens-prometheus-server
port: 9090
prometheusPushgatewayUrl: "http://lens-prometheus-pushgateway.lens.svc.cluster.local:9091"
customPricing:
enabled: true
createConfigmap: true
configmapName: pricing-configs
configPath: /tmp/custom-config
provider: default
costModel:
CPU: 0.031611
spotCPU: 0.006655
RAM: 0.004237
spotRAM: 0.000892
GPU: 6
storage: 0.00005479452
zoneNetworkEgress: 0.01
regionNetworkEgress: 0.01
internetNetworkEgress: 0.143