Manage Project
Applications in Arvancloud Container are categorized into projects, which correspond to Kubernetes namespaces. Namespaces allow users to implement resources independently and in an isolated manner at the cluster level.
Each project or namespace can host an unlimited number of applications. In many cases, multiple projects may be necessary to organize different sets of applications, each treated as a separate project.
Namespaces are designed for environments with large numbers of users, teams, or services, providing the following benefits:
Environment and Team Isolation
For example, you can separate Production and Staging environments using namespaces, or implement various services of your organization independently.
Resource Management
Using Quotas, you can efficiently manage resources for each namespace, ensuring adequate resource allocation for all projects.
Easier Naming
Resource naming within each namespace must be unique. This means you cannot use the same names for two deployments, services, pods, etc., within the same project. However, this restriction does not apply across different namespaces, allowing identical names for an application in different projects.
Note that for segregating resources that do not differ significantly, using multiple projects may not be necessary. For example, you can differentiate different versions of an application using labels.
First Project
If you haven't used Arvancloud Container before, there are no projects in your account initially. When creating your first application in the container, you'll be prompted to create your first project by entering a desired name.
To do this, after selecting your desired data center, click on the "New Project" button and enter a name.
Project names must be unique, without spaces, and only lowercase letters or '-' characters.
Note that the chosen title will be displayed at the end of the URL for all applications in this project and cannot be changed.
If you already have a project in your account, you can select it during this step.
Additional Projects
To create more projects, in the user panel after selecting the data center, click on the current project name and choose "Create New Project" from the dropdown menu.
Then, choose a name for the new project.
Project names must be unique, without spaces, and only lowercase letters or '-' characters.
Note that the chosen title will be displayed at the end of the URL for all applications in this project and cannot be changed.
Switching Projects
To switch between projects, click on the active project name and select another project from the dropdown menu.
Note that projects are isolated from each other and cannot directly access resources between them.
Delete a Project
You can delete a project by selecting it from the dropdown menu and choosing "Delete."
Be aware that this action will also delete all resources associated with the project, and they cannot be recovered.