Skip to content

Commit 479f8c4

Browse files
authored
Merge pull request #63368 from rh-tokeefe/OSSM-4592
OSSM-4592: Fix indentation in ossm-config-operator-infrastructure-node
2 parents 2b0dd75 + 4533a4e commit 479f8c4

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

modules/ossm-config-operator-infrastructure-node.adoc

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,36 @@ If the operator will run on a worker node, skip this task.
1818
1919
.Procedure
2020

21+
. List the operators installed in the namespace:
22+
+
23+
[source,terminal]
24+
----
25+
$ oc -n openshift-operators get subscriptions
26+
----
27+
2128
. Edit the {SMProductShortName} Operator `Subscription` resource to specify where the operator should run:
2229
+
2330
[source,terminal]
2431
----
2532
$ oc -n openshift-operators edit subscription <name> <1>
2633
----
27-
<1> `<name>` represents the name of the `Subscription` resource.
34+
<1> `<name>` represents the name of the `Subscription` resource. The default name of the `Subscription` resource is `servicemeshoperator`.
2835

2936
. Add the `nodeSelector` and `tolerations` to `spec.config` in the `Subscription` resource:
3037
+
3138
[source,yaml]
3239
----
3340
spec:
34-
config:
35-
nodeSelector: <1>
36-
node-role.kubernetes.io/infra: ""
37-
tolerations: <2>
38-
- effect: NoSchedule
39-
key: node-role.kubernetes.io/infra
40-
value: reserved
41-
- effect: NoExecute
42-
key: node-role.kubernetes.io/infra
43-
value: reserved
41+
config:
42+
nodeSelector: <1>
43+
node-role.kubernetes.io/infra: ""
44+
tolerations: <2>
45+
- effect: NoSchedule
46+
key: node-role.kubernetes.io/infra
47+
value: reserved
48+
- effect: NoExecute
49+
key: node-role.kubernetes.io/infra
50+
value: reserved
4451
----
4552
<1> Ensures that the operator pod is only scheduled on an infrastructure node.
4653
<2> Ensures that the pod is accepted by the infrastructure node.

0 commit comments

Comments
 (0)