diff --git a/.gitignore b/.gitignore index 61b085e..5890378 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,8 @@ terraform.tfstate.* generated/ **/generated/ test*json + +# Helm chart dependencies +*.tgz +Chart.lock +charts/ diff --git a/oci-scanner-plugin-helm/Chart.yaml b/oci-scanner-plugin-helm/Chart.yaml index 9ec4456..6038f29 100644 --- a/oci-scanner-plugin-helm/Chart.yaml +++ b/oci-scanner-plugin-helm/Chart.yaml @@ -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 \ No newline at end of file + condition: amdGpuExporter.enabled + + - name: opencost-lens + version: 1.0.0 + repository: "https://gablyu-oci.github.io/opencost-helm-chart/" + condition: opencost.enabled \ No newline at end of file diff --git a/oci-scanner-plugin-helm/values.yaml b/oci-scanner-plugin-helm/values.yaml index 49436db..745e4b8 100644 --- a/oci-scanner-plugin-helm/values.yaml +++ b/oci-scanner-plugin-helm/values.yaml @@ -271,4 +271,30 @@ nodeProblemDetector: memory: 80Mi limits: cpu: 10m - memory: 80Mi \ No newline at end of file + 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 \ No newline at end of file