Skip to content

Commit ee810b2

Browse files
authored
Merge pull request #44001 from MirzWeiss/BZ-2068127
BZ:2068127 - Updating kata config YAML files to include kataMonitorIm…
2 parents e0fe990 + 8857a7b commit ee810b2

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

modules/sandboxed-containers-create-kata-config-resource-cli.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ apiVersion: kataconfiguration.openshift.io/v1
3434
kind: KataConfig
3535
metadata:
3636
name: cluster-kataconfig
37+
spec:
38+
kataMonitorImage: registry.redhat.io/openshift-sandboxed-containers/osc-monitor-rhel8:1.2.0
3739
----
3840

3941
. (Optional) If you want to install `kata` as a `RuntimeClass` only on selected nodes, create a YAML file that includes the label in the manifest:
@@ -45,9 +47,10 @@ kind: KataConfig
4547
metadata:
4648
name: cluster-kataconfig
4749
spec:
50+
kataMonitorImage: registry.redhat.io/openshift-sandboxed-containers/osc-monitor-rhel8:1.2.0
4851
kataConfigPoolSelector:
4952
matchLabels:
50-
<label_key>: '<label_value>'
53+
<label_key>: '<label_value>'
5154
----
5255

5356
. Create the `KataConfig` resource:

modules/sandboxed-containers-create-kataconfig-resource-web-console.adoc

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,24 @@ apiVersion: kataconfiguration.openshift.io/v1
3838
kind: KataConfig
3939
metadata:
4040
name: cluster-kataconfig
41+
spec:
42+
kataMonitorImage: registry.redhat.io/openshift-sandboxed-containers/osc-monitor-rhel8:1.2.0
4143
----
4244
+
4345
If you want to install `kata` as a `RuntimeClass` only on selected nodes, include the label in the manifest:
4446

4547
+
4648
[source,yaml]
4749
----
48-
apiVersion: kataconfiguration.openshift.io/v1
49-
kind: KataConfig
50-
metadata:
51-
name: cluster-kataconfig
52-
spec:
53-
kataConfigPoolSelector:
54-
matchLabels:
55-
<label_key>: '<label_value>'
50+
apiVersion: kataconfiguration.openshift.io/v1
51+
kind: KataConfig
52+
metadata:
53+
name: cluster-kataconfig
54+
spec:
55+
kataMonitorImage: registry.redhat.io/openshift-sandboxed-containers/osc-monitor-rhel8:1.2.0
56+
kataConfigPoolSelector:
57+
matchLabels:
58+
<label_key>: '<label_value>'
5659
----
5760

5861
. Click *Create*.

0 commit comments

Comments
 (0)