-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
createpod doesn't delete dead pods, spawned by the old createpod instance #165
Comments
Other issues caused by Issue 1: If a server with Issue 2: If we accidentally or deliberately have several servers with Both of these issues can actually be solved exactly the same way as the issue with dead pods remaining in the list forever. @denis-tingaikin do you approve fixing this or is current behaviour desired? |
it is a good catch. Within this issue, we need to consider a scenario with a few suppliers on the cluster. So currently it is out of scope and the issue doesn't break the core scenario scale from zero. |
2. resolve issue networkservicemesh#165 Signed-off-by: Denis Tingaikin <denis.tingajkin@xored.com>
…k@main PR link: networkservicemesh/sdk#1505 Commit: f96fdf6 Author: Network Service Mesh Bot Date: 2023-08-28 11:31:19 -0500 Message: - Update go.mod and go.sum to latest version from networkservicemesh/api@main (#1505) PR link: networkservicemesh/api#165 Commit: c4a3ece Author: Nikita Skrynnik Date: 2023-08-22 21:51:24 +0700 Message: - Fix Connection Selector (#165) * fix selector * minor check * fix golang linter * add tests for MatchesMonitorScopeSelector * fix linter issue --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Expected Behavior
createpod
monitors all its pods' state. If a pod died, then this pod should be deleted by thecreatepod
element to prevent pod list pollution.Current Behavior
createpod
only monitors the pods that it has created during the current session. If a server withcreatepod
dies and respawns, then all of the pods that were spawned by the old server remains in the pod list forever, until they are removed manually.Steps to Reproduce
createpod
element.createpod
to spawn a new pod.The pod it was running in will not be removed from the list be the server with
createpod
element.Solution
createpod
spawns.The text was updated successfully, but these errors were encountered: