...
Create a Kubernetes Namespace
...
Kubernetes lets you create multiple virtual clusters called Namespaces on a single physical cluster. Namespaces let you distribute your cluster resources across multiple users by creating resource quotas. Kubernetes Namespace – acts as a workspace with optional quotas and limits for each pod (containers). Creating a Namespace lets you support environments with multiple users (10 or more users) who are spread across many teams, projects, or regions. Namespaces provide a scope for names so that you can add unique resource-names within a Namespace. You’ll need to separately add these resource-names to each Namespace as these cannot be added on a global level.
You cannot nest Namespaces inside one another and you can have only one Kubernetes resource for a Namespace. You don’t have to create multiple namespaces for segregating slightly varying resources. Example: Different versions of the software within the same Namespace.
In such cases, you can add labels for various versions to differentiate between your resources.
Tip |
---|
Kubernetes best practice
|
To create a Namespace:
Login to your HyperCloud™ Platform (HCP) account.
Click Service Orchestration and navigate to Containers > Click open your provisioned Kubernetes Cluster.
Click Action > Click New Namespace.
Enter a Name for your Namespace in the New Namespace dialog.
Click Save.