I think you would have to run tctl command for each of the namespaces you want to create
tctl --ns mynamespace1 n re
tctl --ns mynamespace2 n re
tctl --ns mynamespace3 n re
or use the RegisterNamespaceRequest
as shown here for each namespace.
Will it need 3 ServiceStub?
Let me know if this is the same question as here.