*: add complete CNI support
This commit enables Kilo to work as an independent networking provider. This is done by leveraging CNI. Kilo brings the necessary CNI plugins to operate and takes care of all networking. Add-on compatibility for Calico, Flannel, etc, will be re-introduced shortly.
This commit is contained in:
@@ -142,7 +142,7 @@ func (nb *nodeBackend) Init(stop <-chan struct{}) error {
|
||||
if ok := cache.WaitForCacheSync(stop, func() bool {
|
||||
return nb.informer.HasSynced()
|
||||
}); !ok {
|
||||
return errors.New("failed to start sync node cache")
|
||||
return errors.New("failed to sync node cache")
|
||||
}
|
||||
nb.informer.AddEventHandler(
|
||||
cache.ResourceEventHandlerFuncs{
|
||||
@@ -357,7 +357,7 @@ func (pb *peerBackend) Init(stop <-chan struct{}) error {
|
||||
if ok := cache.WaitForCacheSync(stop, func() bool {
|
||||
return pb.informer.HasSynced()
|
||||
}); !ok {
|
||||
return errors.New("failed to start sync peer cache")
|
||||
return errors.New("failed to sync peer cache")
|
||||
}
|
||||
pb.informer.AddEventHandler(
|
||||
cache.ResourceEventHandlerFuncs{
|
||||
|
Reference in New Issue
Block a user