Skip to content

Commit ec15100

Browse files
committed
fix: update longhorn instance manager pod name
In Longhorn, since 1.5 release, engine instance manager and replica instance manager have been consolidated. Related to harvester/harvester#7446 Signed-off-by: Damiano Cipriani <[email protected]>
1 parent 8729883 commit ec15100

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

docs/advanced/storagenetwork.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The following occur once the `storage-network` setting is applied:
109109

110110
- Harvester stops all pods that are related to Longhorn volumes, Prometheus, Grafana, Alertmanager, and the VM Import Controller.
111111
- Harvester creates a new `NetworkAttachmentDefinition` and updates the Longhorn Storage Network setting.
112-
- Longhorn restarts all `instance-manager-r`, `instance-manager-e`, and `backing-image-manager` pods to apply the new network configuration.
112+
- Longhorn restarts all `instance-manager` and `backing-image-manager` pods to apply the new network configuration.
113113

114114
### Configuration Steps
115115

@@ -238,7 +238,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
238238
type: configured
239239
```
240240

241-
1. Verify that the Longhorn pods (`instance-manager-e`, `instance-manager-r`, and `backing-image-manager`) are ready and that their networks are correctly configured.
241+
1. Verify that the Longhorn pods (`instance-manager` and `backing-image-manager`) are ready and that their networks are correctly configured.
242242

243243
You can inspect each pod using the following command:
244244

@@ -324,15 +324,15 @@ Harvester does not start virtual machines automatically. You must ensure that th
324324
325325
To test the communication between Longhorn pods, perform the following steps:
326326
327-
1. Obtain the storage network IP of each Longhorn Instance Manager pod identified in the previous step.
327+
1. Obtain the storage network IP of each Longhorn Instance Manager pod (we have one per node) identified in the previous step.
328328
329329
Example:
330330
331331
```
332-
instance-manager-r-43f1624d14076e1d95cd72371f0316e2
332+
instance-manager-43f1624d14076e1d95cd72371f0316e2
333333
storage network IP: 10.0.16.8
334334

335-
instance-manager-e-ba38771e483008ce61249acf9948322f
335+
instance-manager-ba38771e483008ce61249acf9948322f
336336
storage network IP: 10.0.16.14
337337
```
338338
@@ -343,7 +343,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
343343
Example:
344344

345345
```
346-
$ kubectl exec -i -t -n longhorn-system instance-manager-e-ba38771e483008ce61249acf9948322f -- /bin/sh
346+
$ kubectl exec -i -t -n longhorn-system instance-manager-ba38771e483008ce61249acf9948322f -- /bin/sh
347347

348348
$ ip addr
349349
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
@@ -386,7 +386,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
386386
Example:
387387

388388
```
389-
From instance-manager-r-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
389+
From instance-manager-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
390390

391391
$ curl http://10.0.16.14:8000
392392
```

versioned_docs/version-v1.4/advanced/storagenetwork.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ After applying Harvester's Storage Network setting, Harvester will stop all pods
199199

200200
Harvester will also create a new NetworkAttachmentDefinition and update the Longhorn Storage Network setting.
201201

202-
Once the Longhorn setting is updated, Longhorn will restart all `instance-manager-r`, `instance-manager-e`, and `backing-image-manager` pods to apply the new network configuration, and Harvester will restart the pods.
202+
Once the Longhorn setting is updated, Longhorn will restart all `instance-manager` and `backing-image-manager` pods to apply the new network configuration, and Harvester will restart the pods.
203203

204204
:::note
205205

@@ -242,7 +242,7 @@ status:
242242

243243
#### Step 2
244244

245-
Verify the readiness of all Longhorn `instance-manager-e`, `instance-manager-r`, and `backing-image-manager` pods, and confirm that their networks are correctly configured.
245+
Verify the readiness of all Longhorn `instance-manager` and `backing-image-manager` pods, and confirm that their networks are correctly configured.
246246

247247
Execute the following command to inspect a pod's details:
248248

@@ -354,15 +354,15 @@ longhorn-manager-j6dhh/longhorn-manager.log:2024-03-20T16:25:24.662251001Z time=
354354

355355
To test the communication between Longhorn pods, perform the following steps:
356356

357-
4.1 Obtain the storage network IP of each Longhorn Instance Manager pod identified in the previous step.
357+
4.1 Obtain the storage network IP of each Longhorn Instance Manager pod (we have one per node) identified in the previous step.
358358

359359
Example:
360360

361361
```
362-
instance-manager-r-43f1624d14076e1d95cd72371f0316e2
362+
instance-manager-43f1624d14076e1d95cd72371f0316e2
363363
storage network IP: 10.0.16.8
364364
365-
instance-manager-e-ba38771e483008ce61249acf9948322f
365+
instance-manager-ba38771e483008ce61249acf9948322f
366366
storage network IP: 10.0.16.14
367367
```
368368

@@ -373,7 +373,7 @@ When you run the command `ip addr`, the output includes IPs that are identical t
373373
Example:
374374

375375
```
376-
$ kubectl exec -i -t -n longhorn-system instance-manager-e-ba38771e483008ce61249acf9948322f -- /bin/sh
376+
$ kubectl exec -i -t -n longhorn-system instance-manager-ba38771e483008ce61249acf9948322f -- /bin/sh
377377
378378
$ ip addr
379379
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
@@ -420,7 +420,7 @@ Explicitly bind the simple HTTP server to the storage network IP.
420420
Example:
421421

422422
```
423-
From instance-manager-r-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
423+
From instance-manager-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
424424
425425
$ curl http://10.0.16.14:8000
426426
```

versioned_docs/version-v1.5/advanced/storagenetwork.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The following occur once the `storage-network` setting is applied:
109109

110110
- Harvester stops all pods that are related to Longhorn volumes, Prometheus, Grafana, Alertmanager, and the VM Import Controller.
111111
- Harvester creates a new `NetworkAttachmentDefinition` and updates the Longhorn Storage Network setting.
112-
- Longhorn restarts all `instance-manager-r`, `instance-manager-e`, and `backing-image-manager` pods to apply the new network configuration.
112+
- Longhorn restarts all `instance-manager` and `backing-image-manager` pods to apply the new network configuration.
113113

114114
### Configuration Steps
115115

@@ -238,7 +238,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
238238
type: configured
239239
```
240240

241-
1. Verify that the Longhorn pods (`instance-manager-e`, `instance-manager-r`, and `backing-image-manager`) are ready and that their networks are correctly configured.
241+
1. Verify that the Longhorn pods (`instance-manager` and `backing-image-manager`) are ready and that their networks are correctly configured.
242242

243243
You can inspect each pod using the following command:
244244

@@ -324,15 +324,15 @@ Harvester does not start virtual machines automatically. You must ensure that th
324324
325325
To test the communication between Longhorn pods, perform the following steps:
326326
327-
1. Obtain the storage network IP of each Longhorn Instance Manager pod identified in the previous step.
327+
1. Obtain the storage network IP of each Longhorn Instance Manager pod (we have one per node) identified in the previous step.
328328
329329
Example:
330330
331331
```
332-
instance-manager-r-43f1624d14076e1d95cd72371f0316e2
332+
instance-manager-43f1624d14076e1d95cd72371f0316e2
333333
storage network IP: 10.0.16.8
334334

335-
instance-manager-e-ba38771e483008ce61249acf9948322f
335+
instance-manager-ba38771e483008ce61249acf9948322f
336336
storage network IP: 10.0.16.14
337337
```
338338
@@ -343,7 +343,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
343343
Example:
344344

345345
```
346-
$ kubectl exec -i -t -n longhorn-system instance-manager-e-ba38771e483008ce61249acf9948322f -- /bin/sh
346+
$ kubectl exec -i -t -n longhorn-system instance-manager-ba38771e483008ce61249acf9948322f -- /bin/sh
347347

348348
$ ip addr
349349
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
@@ -386,7 +386,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
386386
Example:
387387

388388
```
389-
From instance-manager-r-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
389+
From instance-manager-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
390390

391391
$ curl http://10.0.16.14:8000
392392
```

versioned_docs/version-v1.6/advanced/storagenetwork.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The following occur once the `storage-network` setting is applied:
109109

110110
- Harvester stops all pods that are related to Longhorn volumes, Prometheus, Grafana, Alertmanager, and the VM Import Controller.
111111
- Harvester creates a new `NetworkAttachmentDefinition` and updates the Longhorn Storage Network setting.
112-
- Longhorn restarts all `instance-manager-r`, `instance-manager-e`, and `backing-image-manager` pods to apply the new network configuration.
112+
- Longhorn restarts all `instance-manager` and `backing-image-manager` pods to apply the new network configuration.
113113

114114
### Configuration Steps
115115

@@ -238,7 +238,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
238238
type: configured
239239
```
240240

241-
1. Verify that the Longhorn pods (`instance-manager-e`, `instance-manager-r`, and `backing-image-manager`) are ready and that their networks are correctly configured.
241+
1. Verify that the Longhorn pods (`instance-manager` and `backing-image-manager`) are ready and that their networks are correctly configured.
242242

243243
You can inspect each pod using the following command:
244244

@@ -324,15 +324,15 @@ Harvester does not start virtual machines automatically. You must ensure that th
324324
325325
To test the communication between Longhorn pods, perform the following steps:
326326
327-
1. Obtain the storage network IP of each Longhorn Instance Manager pod identified in the previous step.
327+
1. Obtain the storage network IP of each Longhorn Instance Manager pod (we have one per node) identified in the previous step.
328328
329329
Example:
330330
331331
```
332-
instance-manager-r-43f1624d14076e1d95cd72371f0316e2
332+
instance-manager-43f1624d14076e1d95cd72371f0316e2
333333
storage network IP: 10.0.16.8
334334

335-
instance-manager-e-ba38771e483008ce61249acf9948322f
335+
instance-manager-ba38771e483008ce61249acf9948322f
336336
storage network IP: 10.0.16.14
337337
```
338338
@@ -343,7 +343,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
343343
Example:
344344

345345
```
346-
$ kubectl exec -i -t -n longhorn-system instance-manager-e-ba38771e483008ce61249acf9948322f -- /bin/sh
346+
$ kubectl exec -i -t -n longhorn-system instance-manager-ba38771e483008ce61249acf9948322f -- /bin/sh
347347

348348
$ ip addr
349349
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
@@ -386,7 +386,7 @@ Harvester does not start virtual machines automatically. You must ensure that th
386386
Example:
387387

388388
```
389-
From instance-manager-r-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
389+
From instance-manager-43f1624d14076e1d95cd72371f0316e2 (IP 10.0.16.8)
390390

391391
$ curl http://10.0.16.14:8000
392392
```

0 commit comments

Comments
 (0)