I work in a multi-tenant node app, I know to create a new namespace in Kubernetes is possible to run a kubectl command as follow:
kubectl create namespace
Depends on the language in whcih your Microservice
is implemeneted , you can just use the Client library
inside that Microservice or write a new microservice in language of your choice, and as Answered above , use a service account
with ClusterRoleBinding
that can create namespaces. and you are good to go.
Client Libraries here: