Skip to content

Commit 9fcf967

Browse files
maxa101bgalmesnr
andauthored
K8s update relationship types (#2411)
* promote working relationship changes to prod * promoting the new relationship types to production --------- Co-authored-by: bgalmesnr <[email protected]>
1 parent e1d3aa1 commit 9fcf967

14 files changed

+32
-604
lines changed

relationships/synthesis/INFRA-KUBERNETESCLUSTER-to-INFRA-HOST.stg.yml

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

relationships/synthesis/INFRA-KUBERNETESCLUSTER-to-INFRA-HOST.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
relationships:
2-
- name: k8sClusterContainsHost
2+
- name: k8sClusterHostsHost
33
version: "1"
44
origins:
55
- Kubernetes Integration
@@ -8,7 +8,7 @@ relationships:
88
anyOf: [ "SystemSample" ]
99
relationship:
1010
expires: P75M
11-
relationshipType: CONTAINS
11+
relationshipType: HOSTS
1212
source:
1313
buildGuid:
1414
account:
@@ -28,7 +28,7 @@ relationships:
2828
attribute: entityGuid
2929
entityType:
3030
value: HOST
31-
- name: oTelK8sClusterContainsHost
31+
- name: oTelK8sClusterHostsHost
3232
# use kube-state-metrics host metrics
3333
version: "1"
3434
origins:
@@ -50,7 +50,7 @@ relationships:
5050
present: true
5151
relationship:
5252
expires: P75M
53-
relationshipType: CONTAINS
53+
relationshipType: HOSTS
5454
source:
5555
buildGuid:
5656
account:

relationships/synthesis/INFRA-KUBERNETESCLUSTER-to-INFRA-KUBERNETES_PERSISTENTVOLUME.stg.yml

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

relationships/synthesis/INFRA-KUBERNETESCLUSTER-to-INFRA-KUBERNETES_PERSISTENTVOLUME.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
relationships:
2-
- name: k8sClusterContainsPersistentVolume
2+
- name: k8sClusterHostsPersistentVolume
33
version: "1"
44
origins:
55
- Kubernetes Integration
@@ -8,7 +8,7 @@ relationships:
88
anyOf: [ "K8sPersistentVolumeSample" ]
99
relationship:
1010
expires: P75M
11-
relationshipType: CONTAINS
11+
relationshipType: HOSTS
1212
source:
1313
buildGuid:
1414
account:
@@ -28,7 +28,7 @@ relationships:
2828
attribute: entityGuid
2929
entityType:
3030
value: KUBERNETES_PERSISTENTVOLUME
31-
- name: otelKsmK8sClusterContainsPersistentVolume
31+
- name: otelKsmK8sClusterHostsPersistentVolume
3232
# use kube-state-metrics kube_persistentvolume_created metric
3333
version: "1"
3434
origins:
@@ -38,7 +38,7 @@ relationships:
3838
anyOf: [ "kube_persistentvolume_created" ]
3939
relationship:
4040
expires: P75M
41-
relationshipType: CONTAINS
41+
relationshipType: HOSTS
4242
source:
4343
buildGuid:
4444
account:

relationships/synthesis/INFRA-KUBERNETES_CRONJOB-to-INFRA-KUBERNETES_JOB.stg.yml

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

relationships/synthesis/INFRA-KUBERNETES_CRONJOB-to-INFRA-KUBERNETES_JOB.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
relationships:
2-
- name: k8sCronjobContainsJob
2+
- name: k8sCronjobProducesJob
33
version: "1"
44
origins:
55
- Kubernetes Integration
@@ -10,7 +10,7 @@ relationships:
1010
anyOf: [ "CronJob" ]
1111
relationship:
1212
expires: P75M
13-
relationshipType: CONTAINS
13+
relationshipType: PRODUCES
1414
source:
1515
buildGuid:
1616
account:
@@ -34,7 +34,7 @@ relationships:
3434
attribute: entityGuid
3535
entityType:
3636
value: KUBERNETES_JOB
37-
- name: otelKsmK8sCronjobContainsJob
37+
- name: otelKsmK8sCronjobProducesJob
3838
# use kube-state-metrics kube_job_owner metric
3939
version: "1"
4040
origins:
@@ -46,7 +46,7 @@ relationships:
4646
anyOf: [ "CronJob" ]
4747
relationship:
4848
expires: P75M
49-
relationshipType: CONTAINS
49+
relationshipType: PRODUCES
5050
source:
5151
buildGuid:
5252
account:
@@ -68,7 +68,7 @@ relationships:
6868
attribute: entity.guid
6969
entityType:
7070
value: KUBERNETES_JOB
71-
- name: otelKsmK8sCronjobContainsJobPreview
71+
- name: otelKsmK8sCronjobProducesJobPreview
7272
# use kube-state-metrics kube_job_owner metric
7373
version: "1"
7474
origins:
@@ -82,7 +82,7 @@ relationships:
8282
anyOf: [ "true" ]
8383
relationship:
8484
expires: P75M
85-
relationshipType: CONTAINS
85+
relationshipType: PRODUCES
8686
source:
8787
buildGuid:
8888
account:

0 commit comments

Comments
 (0)