What are namespaces in Tanzu? I like to think of Tanzu namespaces as resource pools on steroids. You get to set resource (CPU, Memory and Storage) limits, assign the storage (datastore) that you want the developers to use (persistent or non-persistent), assign the required permissions to all desired users, monitor the usage and much more!
Below is a list of commands to get you started on VMware Tanzu namespaces. These were extremely useful to me, and I hope that you find them useful too!
Use the kubectl CLI to connect to the vSphere with Tanzu control plane as your desired user.
# kubectl vsphere login --server -u email@example.com
After logging in to the vSphere with Tanzu control plane, list the available namespaces.
# kubectl config get-contexts
If desired namespace (namespace-nlsddc) is not marked as the current one, proceed to run the following command.
# kubectl config use-context namespace-nlsddc
Inspect the namespace.
# kubectl describe ns namespace-nlsddc
Disclaimer: “I am a member of the Tanzu Vanguard community. As an active member, I am passionate about Tanzu and its offerings and willingly share my knowledge and experience with the world. I am not a representative of VMware. My views are my own. If you’d like to learn more about Tanzu Vanguard, please visit https://tanzu.vmware.com/vanguard”