Skip to content

Multiple namespaces

In Kubernetes, the concept of namespaces enables you to create isolated groups of resources within a single cluster. These namespaces provide a way to organize and manage resources without interfering with other resources within the same cluster.

Important

Resource names must be unique within a specific namespace but not across different namespaces.

Use case for multiple namespaces

If you are dealing with complex environments comprising Kubernetes clusters that need to be used with Percona Everest, you can leverage the multiple namespace feature. This feature enables logical partitioning within the cluster.

For example, you can deploy different environments like production, development, and QA within a single cluster by using multiple namespaces. This approach enables you to efficiently manage the clusters.

Default namespaces in Percona Everest

Important

The following namespaces are restricted and cannot be used for deploying databases.

Percona Everest will create the following namespaces by default. You can see these default namespaces while Percona Everest is being installed.

To set up the namespaces that Percona Everest will manage and where you can deploy your databases, see the Installation section.

Configure multiple namespaces

You can configure multiple namespaces in Percona Everest. For detailed information on configuring multiple namespaces, see the Installation section.

Important

To have different operators in different namespaces, run the install command multiple times.

For example, run the install command twice if you want the PXC operator in namespace 1 and the PSMDB operator in namespace 2.

Go to Percona Everest UI and navigate to Settings > Namespaces. A list of all the namespaces that you have created will appear here.

!image

Deploy the database in your namespace

Once you have configured your namespaces, you can choose the namespace where you want to deploy your new database cluster.

!image

For information on deploying a new database cluster in the namespace, see the Provision a database section.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.