Skip to content

Commit ae13505

Browse files
committed
fix: make sure kof ns exists before deploying finops-for-kof helm
Signed-off-by: Satyam Bhardwaj <[email protected]>
1 parent 2e2011c commit ae13505

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

deployments/helm-for-kof/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: finops-agent-kof
33
description: Helm chart for FinOps Agent for KOF
44
type: application
5-
version: 0.1.2
6-
appVersion: "0.1.2"
5+
version: 0.1.3
6+
appVersion: "0.1.3"
77
home: https://github.com/mirantis/finops-agent
88
sources:
99
- https://github.com/mirantis/finops-agent

deployments/helm-for-kof/templates/grafana-dashboard-configmap.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{{- if .Values.grafana.enabled }}
2+
apiVersion: v1
3+
kind: Namespace
4+
metadata:
5+
name: {{ $.Values.grafana.dashboardNamespace | quote }}
6+
---
27
{{- range $path, $_ := .Files.Glob "files/dashboards/**" }}
38
apiVersion: grafana.integreatly.org/v1beta1
49
kind: GrafanaDashboard

deployments/helm-for-kof/values.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
# Default values for finops-agent.
2-
# This is a YAML-formatted file.
3-
# Declare variables to be passed into your templates.
4-
51
replicaCount: 1
62

73
image:
84
repository: ghcr.io/mirantis/finops-agent
95
pullPolicy: Always
10-
# Overrides the image tag whose default is the chart appVersion.
116
tag: "latest"
127

138
imagePullSecrets: []
@@ -45,7 +40,7 @@ affinity: {}
4540
config:
4641
# Agent configuration
4742
agent:
48-
interval: 3600 # seconds between forecast updates
43+
interval: 50000 # seconds between forecast updates
4944
# Collector configuration
5045
collector:
5146
type: prometheus
@@ -64,7 +59,7 @@ config:
6459
quantiles: [0.1, 0.5, 0.9]
6560
toto:
6661
checkpoint: Datadog/Toto-Open-Base-1.0
67-
device: cuda # or gpu
62+
device: cpu # or gpu
6863
context_length: 4096
6964
num_samples: 256
7065
compile: true

0 commit comments

Comments
 (0)