@@ -213,6 +213,39 @@ Vnet:
213
213
oc get machineset <machineset_name> -n openshift-machine-api -o jsonpath='{.spec.template.spec.providerSpec.value.vnet}'
214
214
```
215
215
216
+ ## DNS
217
+
218
+ Follow the instructions below to enable scheduling of DNS pods on the infrastructure nodes.
219
+
220
+ > [!NOTE]
221
+ > This section is crucial to support log collection from infrastructure nodes, ensuring supportability of your deployment.
222
+ >
223
+
224
+ 1. Allow the DNS pods to run on the infrastructure nodes.
225
+
226
+ ```
227
+ oc edit dns.operator/default
228
+ ```
229
+
230
+ ```
231
+ apiVersion: operator.openshift.io/v1
232
+ kind: DNS
233
+ metadata:
234
+ name: default
235
+ spec:
236
+ nodePlacement:
237
+ tolerations:
238
+ - operator: Exists
239
+ ```
240
+
241
+ 1. Verify that DNS pods are scheduled onto all infra nodes.
242
+
243
+ ```
244
+ oc get ds/dns-default -n openshift-dns
245
+ NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
246
+ dns-default 7 7 7 7 7 kubernetes.io/os=linux 35d
247
+ ```
248
+
216
249
## Moving workloads to the new infrastructure nodes
217
250
218
251
Use the instructions below to move your infrastructure workloads to the infrastructure nodes previously created.
@@ -359,30 +392,4 @@ Use this procedure for any additional ingress controllers you may have in the cl
359
392
kube-state-metrics-574c5bfdd7-f7fjk 3/3 Running 0 2m49s 10.131.4.8 cz-cluster-hsmtw-infra-aro-machinesets-eastus-1-vr56r <none> <none>
360
393
```
361
394
362
- ### DNS
363
-
364
- 1. Allow the DNS pods to run on the infrastructure nodes.
365
-
366
- ```
367
- oc edit dns.operator/default
368
- ```
369
-
370
- ```
371
- apiVersion: operator.openshift.io/v1
372
- kind: DNS
373
- metadata:
374
- name: default
375
- spec:
376
- nodePlacement:
377
- tolerations:
378
- - operator: Exists
379
- ```
380
-
381
- 1. Verify that DNS pods are scheduled onto all infra nodes.
382
-
383
- ```
384
- oc get ds/dns-default -n openshift-dns
385
- NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
386
- dns-default 7 7 7 7 7 kubernetes.io/os=linux 35d
387
- ```
388
395
0 commit comments