-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set Disk resource status to unknown when ndm pod is shutdown (#66)
This PR contains cleaning of resources when ndm pod deleted gracefully. This will make resources state unknown which are attached with that node when we shutdown that node/pod. This will make sure that there are no stale disk resources as nodes are added/removed to cluster. Changes committed: modified: cmd/controller/controller.go modified: cmd/controller/diskstore.go modified: cmd/controller/diskstore_test.go Signed-off-by: Shovan Maity <[email protected]>
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 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