Skip to content

Commit d8c594f

Browse files
authored
fixing installation values file & installation docs for network manager component (#126)
1 parent 7c76e58 commit d8c594f

File tree

5 files changed

+21
-15
lines changed

5 files changed

+21
-15
lines changed

docs/installation/installation.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,24 @@ Once we have Liqo running, we can install the FLUIDOS Node component via helm:
8989
helm repo add fluidos https://fluidos-project.github.io/node/
9090

9191

92-
helm install node fluidos/node -n fluidos \
93-
--create-namespace -f ../../quickstart/utils/consumer-values.yaml \
94-
--set networkManager.configMaps.nodeIdentity.ip="LOCAL_K8S_CLUSTER_CP_IP:LOCAL_REAR_PORT"\
95-
--set networkManager.configMaps.providers.local="REMOTE_K8S_CLUSTER_CP_IP:REMOTE_REAR_PORT"\
96-
--wait
92+
helm upgrade --install node fluidos/node \
93+
-n fluidos --version "$FLUIDOS_VERSION" \
94+
--create-namespace -f consumer-values.yaml \
95+
--set networkManager.configMaps.nodeIdentity.ip="$NODE_IP" \
96+
--set rearController.service.gateway.nodePort.port="$REAR_PORT" \
97+
--set networkManager.config.enableLocalDiscovery="$ENABLE_LOCAL_DISCOVERY" \
98+
--set networkManager.config.address.thirdOctet="$THIRD_OCTET" \
99+
--set networkManager.config.netInterface="$NET_INTERFACE" \
100+
--wait \
101+
--debug \
102+
--v=2
97103
```
98104

99-
Due to the absence of the Network Manager component that enable the auto-discovery among FLUIDOS Nodes, we need to setup some parameters manually to allow Nodes discovery.
100-
101105
Here, the meaning of the various parameters:
102106

103-
- LOCAL_K8S_CLUSTER_CP_IP: The IP address of your local Kubernetes cluster Control Plane
104-
- LOCAL_REAR_PORT: The port on which your local cluster uses the REAR protocol
105-
- REMOTE_K8S_CLUSTER_CP_IP: It's the IP address of the remote Kubernetes cluster to which you want to negotiate Flavors thorugh REAR with.
106-
- REMOTE_REAR_PORT: It's the port on which the remote cluster uses the REAR protocol.
107+
- FLUIDOS_VERSION: The FLUIDOS Node version to be installed
108+
- NODE_IP: The IP address of your local Kubernetes cluster Control Plane
109+
- REAR_PORT: The port on which your local cluster uses the REAR protocol
110+
- ENABLE_LOCAL_DISCOVERY: A flag that enables the Network Manager, which is the component advertising the local FLUIDOS Node into a LAN
111+
- THIRD_OCTET: This is the third byte of the IP address used by Multus CNI for sending broadcast messages into the LAN. **Warning**: this parameters should be different for each FLUIDOS Node to be working (e.g. 1 for the 1st cluster, 2 for the 2nd cluster, etc.)
112+
- NET_INTERFACE: The host network interface that Multus binds to

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ networkManager:
144144
limits: {}
145145
requests: {}
146146
# -- The resource image to be used by the network-manager pod.
147-
imageName: "ghcr.io/fluidos/network-manager"
147+
imageName: "ghcr.io/fluidos-project/network-manager"
148148
config:
149149
enableLocalDiscovery:
150150
address:

quickstart/utils/consumer-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ networkManager:
143143
limits: {}
144144
requests: {}
145145
# -- The resource image to be used by the network-manager pod.
146-
imageName: "ghcr.io/fluidos/network-manager"
146+
imageName: "ghcr.io/fluidos-project/network-manager"
147147
config:
148148
enableLocalDiscovery:
149149
address:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ networkManager:
143143
limits: {}
144144
requests: {}
145145
# -- The resource image to be used by the network-manager pod.
146-
imageName: "ghcr.io/fluidos/network-manager"
146+
imageName: "ghcr.io/fluidos-project/network-manager"
147147
config:
148148
enableLocalDiscovery:
149149
address:

quickstart/utils/provider-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ networkManager:
143143
limits: {}
144144
requests: {}
145145
# -- The resource image to be used by the network-manager pod.
146-
imageName: "ghcr.io/fluidos/network-manager"
146+
imageName: "ghcr.io/fluidos-project/network-manager"
147147
config:
148148
enableLocalDiscovery:
149149
address:

0 commit comments

Comments
 (0)