Skip to content

Commit 6979194

Browse files
committed
virt, DPDK checkup: Label the CM and Job
In order for a user or a future UI implementation be able to get ConfigMap and Job objects that were manually created by oc, label them as belonging to the checkup. Signed-off-by: Orel Misan <[email protected]>
1 parent 812982e commit 6979194

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/virt-checking-cluster-dpdk-readiness.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ apiVersion: v1
103103
kind: ConfigMap
104104
metadata:
105105
name: dpdk-checkup-config
106+
labels:
107+
kiagnose/checkup-type: kubevirt-dpdk
106108
data:
107109
spec.timeout: 10m
108110
spec.param.networkAttachmentDefinitionName: <network_name> <1>
@@ -129,6 +131,8 @@ apiVersion: batch/v1
129131
kind: Job
130132
metadata:
131133
name: dpdk-checkup
134+
labels:
135+
kiagnose/checkup-type: kubevirt-dpdk
132136
spec:
133137
backoffLimit: 0
134138
template:
@@ -185,6 +189,8 @@ apiVersion: v1
185189
kind: ConfigMap
186190
metadata:
187191
name: dpdk-checkup-config
192+
labels:
193+
kiagnose/checkup-type: kubevirt-dpdk
188194
data:
189195
spec.timeout: 10m
190196
spec.param.NetworkAttachmentDefinitionName: "dpdk-network-1"

0 commit comments

Comments
 (0)