Skip to content
Draft
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
20 changes: 3 additions & 17 deletions helm/bundles/cortex-nova/templates/kpis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,16 @@ spec:
apiVersion: cortex.cloud/v1alpha1
kind: KPI
metadata:
name: host-total-allocatable-capacity
name: vmware-host-capacity
spec:
schedulingDomain: nova
impl: host_total_allocatable_capacity_kpi
impl: vmware_host_capacity_kpi
dependencies:
knowledges:
- name: host-details
- name: host-utilization
description: |
This KPI tracks the total allocatable capacity of hosts.
---
apiVersion: cortex.cloud/v1alpha1
kind: KPI
metadata:
name: host-capacity
spec:
schedulingDomain: nova
impl: host_capacity_kpi
dependencies:
knowledges:
- name: host-details
- name: host-utilization
description: |
This KPI tracks the total allocatable capacity of hosts.
This KPI tracks the total, utilized, reserved and failover capacity of VMware hosts.
---
apiVersion: cortex.cloud/v1alpha1
kind: KPI
Expand Down
3 changes: 3 additions & 0 deletions helm/bundles/cortex-nova/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ cortex-scheduling-controllers:
cortex-knowledge-controllers:
<<: *cortex
namePrefix: cortex-nova-knowledge
rbac:
# The cortex nova scheduling controllers need hypervisor crd access.
hypervisor: {enable: true}
conf:
<<: *cortexConf
leaderElectionID: cortex-nova-knowledge
Expand Down
287 changes: 0 additions & 287 deletions internal/knowledge/kpis/plugins/compute/host_available_capacity.go

This file was deleted.

Loading