Skip to content

Commit 839845c

Browse files
SoWieMarkusCopilot
andauthored
refactor: moved unused commitments kpi for vmware (#774)
## Changes - KPI that tracks unused vmware general purpose & hana instance commitments - Moved to infrastructure directory --------- Co-authored-by: Copilot <copilot@github.com>
1 parent 98a0d08 commit 839845c

9 files changed

Lines changed: 950 additions & 513 deletions

File tree

helm/bundles/cortex-nova/templates/kpis.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -188,31 +188,31 @@ spec:
188188
apiVersion: cortex.cloud/v1alpha1
189189
kind: KPI
190190
metadata:
191-
name: vmware-commitments
191+
name: vmware-project-utilization
192192
spec:
193193
schedulingDomain: nova
194-
impl: vmware_commitments_kpi
194+
impl: vmware_project_utilization_kpi
195195
dependencies:
196196
datasources:
197-
- name: limes-project-commitments
198-
- name: nova-flavors
199197
- name: nova-servers
198+
- name: nova-flavors
199+
- name: identity-projects
200+
knowledges:
201+
- name: host-details
200202
description: |
201-
This KPI tracks unused VMware commitments based on project commitments and usage.
203+
This KPI tracks the resource utilization of projects running VMs on VMware hosts.
202204
---
203205
apiVersion: cortex.cloud/v1alpha1
204206
kind: KPI
205207
metadata:
206-
name: vmware-project-utilization
208+
name: vmware-resource-commitments
207209
spec:
208210
schedulingDomain: nova
209-
impl: vmware_project_utilization_kpi
211+
impl: vmware_resource_commitments_kpi
210212
dependencies:
211213
datasources:
212214
- name: nova-servers
213215
- name: nova-flavors
214-
- name: identity-projects
215-
knowledges:
216-
- name: host-details
216+
- name: limes-project-commitments
217217
description: |
218-
This KPI tracks the resource utilization of projects running VMs on VMware hosts.
218+
This KPI tracks the resource commitments of projects running VMs on VMware hosts.

internal/knowledge/kpis/plugins/compute/resource_commitments_vmware.go

Lines changed: 0 additions & 197 deletions
This file was deleted.

0 commit comments

Comments
 (0)