You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Whereabouts reconciler is responsible for managing dynamic IP address assignments for the pods within a cluster using the Whereabouts IP Address Management (IPAM) solution. It ensures that each pods gets a unique IP address from the specified IP address range. It also handles IP address releases when pods are deleted or scaled down.
248
+
249
+
[NOTE]
250
+
====
251
+
You can also use a `NetworkAttachmentDefinition` custom resource for dynamic IP address assignment.
252
+
====
253
+
254
+
The Whereabouts reconciler daemon set is automatically created when you configure an additional network through the Cluster Network Operator. It is not automatically created when you configure an additional network from a YAML manifest.
255
+
256
+
To trigger the deployment of the Whereabouts reconciler daemonset, you must manually create a `whereabouts-shim` network attachment by editing the Cluster Network Operator custom resource file.
257
+
258
+
Use the following procedure to deploy the Whereabouts reconciler daemonset.
259
+
260
+
.Procedure
261
+
262
+
. Edit the `Network.operator.openshift.io` custom resource (CR) by running the following command:
263
+
+
264
+
[source,terminal]
265
+
----
266
+
$ oc edit network.operator.openshift.io cluster
267
+
----
268
+
269
+
. Modify the `additionalNetworks` parameter in the CR to add the `whereabouts-shim` network attachment definition. For example:
270
+
+
271
+
[source,yaml]
272
+
----
273
+
apiVersion: operator.openshift.io/v1
274
+
kind: Network
275
+
metadata:
276
+
name: cluster
277
+
spec:
278
+
additionalNetworks:
279
+
- name: whereabouts-shim
280
+
namespace: default
281
+
rawCNIConfig: |-
282
+
{
283
+
"name": "whereabouts-shim",
284
+
"cniVersion": "0.3.1",
285
+
"type": "bridge",
286
+
"ipam": {
287
+
"type": "whereabouts"
288
+
}
289
+
}
290
+
type: Raw
291
+
----
292
+
293
+
. Save the file and exit the text editor.
294
+
295
+
. Verify that the `whereabouts-reconciler` daemon set deployed successfully by running the following command:
296
+
+
297
+
[source,terminal]
298
+
----
299
+
$ oc get all -n openshift-multus | grep whereabouts-reconciler
0 commit comments