Open ashraffouda opened 2 months ago
@muhamadazmy @maxux
The Zdbs themselves are multiuser and are created when Zos first starts up. What the user's workload represents is a Zdb namespace within the shared Zdb, which can be public or private and password protected.
So I think it's normal that there's no changes to Zdb networking when workloads are deployed/deleted, since all users access their Zdb workload over the same IPs assigned to the shared Zdb instances.
Well namespace
here is ambiguous. Each zdb
process have their own network namespace
to get a dedicated IP address. Each zdb
can have multiple namespace
(eg: 1 per user).
Network namespaces are persistant and mandatory per zdb instance. ZDB namespaces are dynamically allocated.
To get a list of zdb namespaces, you can connect to the zdb and send NSLIST
command.
A deployment is related to a zdb namespace, not a zdb instance AFAIK, so Scott it right for me.
Describe the bug
this happens on zos3 and zos4. I create a zdb workload a node then deleted the deployment but found the namespace still exists after deleting the deployment
To Reproduce
ip netns
ip netns
againzdb-ns-86596a4a6be4
Expected behavior
zdb namespace should be deleted when the zdb deployment is deleted
note when I created new zdbs no more namespaces are created, the old one is used for all zdbs even for different users