Skip to content

Commit cc80278

Browse files
Other bundles
1 parent b6fb3fa commit cc80278

File tree

4 files changed

+44
-14
lines changed

4 files changed

+44
-14
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: knowledge.cortex/v1alpha1
3+
kind: Knowledge
4+
metadata:
5+
name: netapp-storage-pool-cpu-usage-cinder
6+
spec:
7+
operator: cortex-cinder
8+
databaseSecretRef:
9+
name: cortex-cinder-postgres
10+
namespace: {{ .Release.Namespace }}
11+
extractor:
12+
name: netapp_storage_pool_cpu_usage_extractor
13+
description: |
14+
Extracts CPU usage information for NetApp storage pools.
15+
recency: "60s"
16+
dependencies:
17+
datasources:
18+
- name: netapp-aggr-labels-cinder
19+
- name: netapp-node-cpu-busy-cinder
20+
- name: netapp-volume-aggr-labels
21+
- name: cinder-storage-pools
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
apiVersion: knowledge.cortex/v1alpha1
3+
kind: Knowledge
4+
metadata:
5+
name: netapp-storage-pool-cpu-usage-manila
6+
spec:
7+
operator: cortex-manila
8+
databaseSecretRef:
9+
name: cortex-manila-postgres
10+
namespace: {{ .Release.Namespace }}
11+
extractor:
12+
name: netapp_storage_pool_cpu_usage_extractor
13+
description: |
14+
Extracts CPU usage information for NetApp storage pools.
15+
recency: "60s"
16+
dependencies:
17+
datasources:
18+
- name: manila-storage-pools
19+
- name: netapp-node-cpu-busy-manila
20+
- name: netapp-aggr-labels-manila

helm/bundles/cortex-manila/values.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,6 @@ cortex-knowledge-operator:
110110
conf:
111111
# The operator will only touch CRs with this operator name.
112112
operator: cortex-manila
113-
extractor:
114-
# Configuration of features that should be extracted from the synced data.
115-
#
116-
# The `name` should correspond to a known feature extractor plugin.
117-
# Note that the order defined here will also be the order in which the
118-
# extractors are executed. If possible, extractors whose dependencies have
119-
# been executed will be executed in parallel to speed up the process.
120-
plugins:
121-
# NetApp-specific extractors.
122-
- name: netapp_storage_pool_cpu_usage_extractor
123-
recencySeconds: 60 # 1 minute
124113

125114
cortex-scheduler:
126115
fullnameOverride: cortex-manila-scheduler

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
description: |
1414
Resolves the hostsystem label provided to the vrops prometheus metrics to
1515
the associated nova hypervisor compute host.
16-
recency: "3600s" # 1 hour
16+
recency: "1h"
1717
dependencies:
1818
datasources:
1919
- name: nova-hypervisors
@@ -36,7 +36,7 @@ spec:
3636
description: |
3737
Calculates how noisy projects are in terms of CPU contention on their VMs'
3838
hostsystems.
39-
recency: "21600s" # 6 hours
39+
recency: "6h"
4040
dependencies:
4141
datasources:
4242
- name: nova-hypervisors
@@ -112,7 +112,7 @@ spec:
112112
name: host_pinned_projects_extractor
113113
description: |
114114
Extract host-to-project pinning relationships from Nova aggregates.
115-
recency: "300s" # 5 minutes
115+
recency: "5m"
116116
dependencies:
117117
datasources:
118118
- name: nova-aggregates

0 commit comments

Comments
 (0)