Skip to content

Commit 7c76e58

Browse files
authored
Add configurable master interface (#125)
1 parent 9ba0584 commit 7c76e58

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

deployments/node/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ A Helm chart for Fluidos Node
3434
| networkManager.config.address.thirdOctet | string | `nil` | The third octet of the CNI virtual network subnet |
3535
| networkManager.config.multicast.address | string | `"239.11.11.1"` | |
3636
| networkManager.config.multicast.port | int | `4000` | |
37+
| networkManager.config.netInterface | string | `"eth0"` | |
3738
| networkManager.imageName | string | `"ghcr.io/fluidos-project/network-manager"` | |
3839
| networkManager.pod.annotations | object | `{}` | Annotations for the network-manager pod. |
3940
| networkManager.pod.extraArgs | list | `[]` | Extra arguments for the network-manager pod. |

deployments/node/templates/fluidos-pre-install-hook-network.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
config: '{
1616
"cniVersion": "0.3.0",
1717
"type": "macvlan",
18-
"master": "eth0",
18+
"master": "{{ .Values.networkManager.config.netInterface }}",
1919
"mode": "bridge",
2020
"ipam": {
2121
"type": "host-local",

deployments/node/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ networkManager:
151151
multicast:
152152
address: "239.11.11.1"
153153
port: 4000
154+
netInterface: "eth0"
154155

155156
provider: "your-provider"
156157

quickstart/utils/consumer-values-no-ad.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ networkManager:
157157
multicast:
158158
address: "239.11.11.1"
159159
port: 4000
160+
netInterface: "eth0"
160161

161162
webhook:
162163
# -- Enable the webhook server for the local-resource-manager.

quickstart/utils/consumer-values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ networkManager:
156156
multicast:
157157
address: "239.11.11.1"
158158
port: 4000
159+
netInterface: "eth0"
159160

160161
webhook:
161162
# -- Enable the webhook server for the local-resource-manager.

quickstart/utils/provider-values-no-ad.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ networkManager:
156156
multicast:
157157
address: "239.11.11.1"
158158
port: 4000
159+
netInterface: "eth0"
159160

160161
webhook:
161162
# -- Enable the webhook server for the local-resource-manager.

quickstart/utils/provider-values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ networkManager:
156156
multicast:
157157
address: "239.11.11.1"
158158
port: 4000
159+
netInterface: "eth0"
159160

160161
webhook:
161162
# -- Enable the webhook server for the local-resource-manager.

0 commit comments

Comments
 (0)