Inference Cost params added to helm#370
Conversation
Signed-off-by: Sima Nadler <sima@il.ibm.com>
There was a problem hiding this comment.
Pull request overview
Adds Helm values and deployment wiring to configure OpenCost’s AI inference cost tracking (for LLM workloads), and updates chart docs/version metadata accordingly.
Changes:
- Introduces
opencost.exporter.inferenceCostTrackingconfiguration block invalues.yaml. - Wires the new values into the exporter Deployment via
INFERENCE_*environment variables (gated byenabled). - Updates the chart README with the new values and bumps displayed chart/app versions.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| charts/opencost/values.yaml | Adds inferenceCostTracking values under opencost.exporter. |
| charts/opencost/templates/deployment.yaml | Injects INFERENCE_* env vars when inference cost tracking is enabled. |
| charts/opencost/README.md | Documents new values and updates displayed Version/AppVersion and image tag. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | opencost.exporter.extraEnv | object | `{}` | Any extra environment variables you would like to pass on to the pod | | ||
| | opencost.exporter.extraVolumeMounts | list | `[]` | A list of volume mounts to be added to the pod | | ||
| | opencost.exporter.image | object | `{"fullImageName":null,"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"opencost/opencost","tag":"1.120.2@sha256:5f37f689557dbb6737a9182b70625bba55bbba843a2caaba5a79746945a56cc6"}` | This overrides the above defaultClusterId. Ensure the ConfigMap exists and contains the required CLUSTER_ID key. clusterIdConfigmap: cluster-id-configmap | | ||
| | opencost.exporter.image | object | `{"fullImageName":null,"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"opencost/opencost","tag":"1.120.4@sha256:5467eaac8d301be69cc4a3f69f063ad5da7d57130d1126a4eb75b0d8f79839e1"}` | This overrides the above defaultClusterId. Ensure the ConfigMap exists and contains the required CLUSTER_ID key. clusterIdConfigmap: cluster-id-configmap | |
ameijer
left a comment
There was a problem hiding this comment.
@simanadler can you bump the chart version before we merge this?
Signed-off-by: Sima Nadler <sima@il.ibm.com>
done |
| | opencost.exporter.image.registry | string | `"ghcr.io"` | Exporter container image registry | | ||
| | opencost.exporter.image.repository | string | `"opencost/opencost"` | Exporter container image name | | ||
| | opencost.exporter.image.tag | string | `"1.120.2@sha256:5f37f689557dbb6737a9182b70625bba55bbba843a2caaba5a79746945a56cc6"` | Exporter container image tag | | ||
| | opencost.exporter.image.tag | string | `"1.120.4@sha256:5467eaac8d301be69cc4a3f69f063ad5da7d57130d1126a4eb75b0d8f79839e1"` | Exporter container image tag | |
There was a problem hiding this comment.
use the image from develop please
| OpenCost and OpenCost UI | ||
|
|
||
|  | ||
|  |
Signed-off-by: Sima Nadler <sima@il.ibm.com>
…ost-helm-chart into inference-costs
| | opencost.exporter.extraEnv | object | `{}` | Any extra environment variables you would like to pass on to the pod | | ||
| | opencost.exporter.extraVolumeMounts | list | `[]` | A list of volume mounts to be added to the pod | | ||
| | opencost.exporter.image | object | `{"fullImageName":null,"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"opencost/opencost","tag":"1.120.2@sha256:5f37f689557dbb6737a9182b70625bba55bbba843a2caaba5a79746945a56cc6"}` | This overrides the above defaultClusterId. Ensure the ConfigMap exists and contains the required CLUSTER_ID key. clusterIdConfigmap: cluster-id-configmap | | ||
| | opencost.exporter.image | object | `{"fullImageName":null,"pullPolicy":"IfNotPresent","registry":"ghcr.io","repository":"opencost/opencost","tag":"1.120.4@sha256:5467eaac8d301be69cc4a3f69f063ad5da7d57130d1126a4eb75b0d8f79839e1"}` | This overrides the above defaultClusterId. Ensure the ConfigMap exists and contains the required CLUSTER_ID key. clusterIdConfigmap: cluster-id-configmap | |
There was a problem hiding this comment.
@simanadler please pin to the same image as develop has @ https://github.com/opencost/opencost-helm-chart/blob/main/charts/opencost/values.yaml#L311
Related to AI Inference Issue and Open Cost Inference PR