Managing Projects
Applications in the Arvancloud Cloud Container are placed in groups called projects. Projects in the Arvancloud Cloud Container are the same as Kubernetes namespaces. Namespaces let users deploy resources independently and in isolation within a cluster.
Each project or namespace can hold an unlimited number of applications. In many cases, you may also need to create more than one project. This way, you have several different groups of applications, each known as a project.
Namespaces are designed for environments with many users, teams, or services, and provide the following benefits:
-
Separating environments and teams
For example, you can separate your Production and Staging environments with namespaces. Or you can deploy your organization's different services independently of each other.
-
Resource management
With quotas, you can manage each namespace's resources optimally and make sure all projects get enough resources.
-
Simpler naming
Resource names within each namespace must be unique. This means you can't choose the same name for two Deployments, Services, Pods, and so on in one project. But this limit doesn't exist between two namespaces, and you can give an application the same name in two different projects.
Note that you don't need multiple projects to separate resources that aren't very different from each other. For example, you can use labels to separate different versions of an application.
Your First Project
If you haven't used the Arvancloud Cloud Container before, there are no projects in your account. When creating your first application in the Cloud Container, in the first step of the process you're asked to create your first project by entering a name of your choice.
To do this, after choosing your data center, click New Project and enter a name. The project name must be unique, without spaces, and only use lowercase English letters or '-'.
Note that the name you choose is shown at the end of the URL of all applications in this project, and it can't be changed.
If a project already exists in your account, you can select it in this step.
Creating More Projects
To create more projects, in the panel, after choosing the data center, click the current project's name and select Add New Project from the drop-down.
Then choose a name for the project to create it. The project name must be unique, without spaces, and only use lowercase English letters or '-'.
Note that the name you choose is shown at the end of the URL of all applications in this project, and it can't be changed.
Switching Between Projects
To switch between projects, click the active project's name and select another project from the drop-down.
Note that projects are isolated from each other and don't have direct access to each other.
Deleting a Project
You can select and delete a project from the drop-down.
Note that this also deletes all of that project's resources, and they can't be restored.