Граф коммитов

3 Коммитов

Автор SHA1 Сообщение Дата
Behzad Mirkhanzadeh a9fccfa044
fix: Handle async delete in stateless cni (#2967)
* feat: adding stateless CNI pipeline test

* feat: making change for stateless CNI pipeline

* feat: addressing the comments

* fix: fixing stateles cni yaml

* fix: stateless CNI delete fix

* fix: addressing the comments

* fix: addressing the comments and fix linter issues

* Update cns/fsnotify/fsnotify.go

Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>

* Update cni/network/network.go

Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>

* Update cni/network/network.go

Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>

* fix: addressing the comments

* fix: fix the error code.

* Fix: decoupling hnsclient form CNS watcher

* fix: adding endpointmanager package to resolve platfrom specific call to HNS

* Update cns/endpointmanager/endpointmanager_linux.go

Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>

* Update cns/service/main.go

Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>

* Fix: addressing the comments

* fix: removing stateless CNI pipline changes form the PR

* Update cns/configuration/configuration.go

Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>

* addressing the comment

---------

Signed-off-by: Behzad Mirkhanzadeh <b.mirkhanzadeh@gmail.com>
Co-authored-by: tamilmani1989 <tamanoha@microsoft.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2024-09-21 16:09:30 +00:00
Evan Baker 7dd8342498
fix: add contexts to clean up fsnotify goroutines (#2427)
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
2023-12-12 21:55:34 +00:00
Camryn Lee 4fa3bf4591
feat: CNS/CNI async pod delete (#2183)
* initial changes for cni/cns delete deadlock

* add logs and set watcher path

* working fswatcher, removing extra debug lines

* watcher changes for azure-ipam

* remove additional logger from fsnotify and address comments

* /deleteIDs directory as part of cnsconfig

* add feature flag for async delete

* adds some unit test + remove changes for azure-ipam(split pr, dependency conflicts)

* update ut

* update uts

* swift configmap update

* fix configmap for test

* addressing comments

* fix lint

* adding cause to connection error struct

* connectionerr lint

* addressing comments, change watchfs to watcher method

* add ctx to releaseIP func

* log containerID in failure to add watcher, exit select if context is cancelled

* fix logs in network.go after rebase

* catch release ip error in invoker_cns.go

* retry on failure to release ip

* lint fix

* rework asyncdelete watcher

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>

* include podinterfaceID in file for releaseIP

* close file before delete

---------

Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
Co-authored-by: Evan Baker <rbtr@users.noreply.github.com>
2023-09-18 21:04:38 -07:00