Skip to content

Commit 23b1fe1

Browse files
authored
Merge pull request #34712 from kalexand-rh/BZ1967077
BZ1967077: Updating the nodeSelector YAML for moving the registry
2 parents c21df3e + c41d4a5 commit 23b1fe1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

modules/infrastructure-moving-registry.adoc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,21 @@ status:
5858
$ oc edit configs.imageregistry.operator.openshift.io/cluster
5959
----
6060

61-
. Add the following lines of text the `spec` section of the object:
61+
. Modify the `spec` section of the object to resemble the following YAML:
6262
+
6363
[source,yaml]
6464
----
65+
spec:
66+
affinity:
67+
podAntiAffinity:
68+
preferredDuringSchedulingIgnoredDuringExecution:
69+
- podAffinityTerm:
70+
namespaces:
71+
- openshift-image-registry
72+
topologyKey: kubernetes.io/hostname
73+
weight: 100
74+
logLevel: Normal
75+
managementState: Managed
6576
nodeSelector:
6677
node-role.kubernetes.io/infra: ""
6778
----

0 commit comments

Comments
 (0)