-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use DPC Reconciler to assign cluster IP to cluster interface
NIM subscribes to EdgeNodeClusterStatus published by zedkube and passes this to DPCManager and further into DPCReconciler. Cluster IP address is assigned to the cluster interface statically (directly using netlink, not via dhcpcd). zedkube subscribes to DeviceNetworkStatus to determine if the cluster IP address is assigned and ready to use. Once assigned, it will update EdgeNodeClusterStatus with ClusterIPIsReady set to true, which the script cluster-init.sh is waiting for before it starts the procedure of node joining the cluster. Signed-off-by: Milan Lenco <milan@zededa.com>
- Loading branch information
1 parent
634b692
commit f79132c
Showing
11 changed files
with
311 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.