DaveDuggins commented on code in PR #18379: URL: https://github.com/apache/pulsar/pull/18379#discussion_r1018456755
########## site2/docs/tutorials-tenant.md: ########## @@ -0,0 +1,45 @@ +--- +Id: tutorials-tenant +title: How to set up a tenant +sidebar_label: “Tutorials” +— + +Pulsar is a powerful messaging system you can use to process and route high volumes of data. Each tenant provides a distinct unit of isolation with its own set of roles, permissions, configuration settings, and bookmarks. + +In this tutorial, you will create a new tenant, named “apache,” in your Pulsar cluster, hosted in K8s helm. + + +To create a tenant: + +Enter the toolset container. + +kubectl exec -it -n pulsar pulsar-mini-toolset-0 -- /bin/bash + +In the toolset container, create a tenant named apache. + + bin/pulsar-admin tenants create apache + +List the tenants to see if the tenant is created successfully. + +bin/pulsar-admin tenants list + +You should see a similar output as below. + +The tenant apache has been successfully created. +"apache" +"public" +"pulsar" + +## Related Topics + +[How to create a namespace](tutorials-namespace) +[How to create a topic](tutorials-topic) +[Run a standalone cluster in Kubernetes](getting-started-helm) Review Comment: OK -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
