Manually Create Projects
Introduction¶
The Administrator creates Run:ai Projects via the Run:ai user interface. When enabling Researcher Authentication you also assign users to Projects.
Run:ai Projects are implemented as Kubernetes namespaces. When creating a new Run:ai Project, Run:ai does the following automatically:
- Creates a namespace by the name of
runai-<PROJECT-NAME>
. - Labels the namespace as managed by Run:ai.
- Provides access to the namespace for Run:ai services.
- Associates users with the namespace.
This process may need to be altered if,
- Researchers already have existing Kubernetes namespaces
- The organization's Kubernetes namespace naming convention does not allow the
runai-
prefix. - The organization's policy does not allow the automatic creation of namespaces.
Process¶
Run:ai allows the association of a Run:ai Project with any existing Kubernetes namespace:
- When setting up a Run:ai cluster, Disable namespace creation by setting the cluster flag
createNamespaces
tofalse
. - Using the Run:ai User Interface, create a new Project
<PROJECT-NAME>
. A namespace will not be created. - Associate and existing namepace
<NAMESPACE>
with the Run:ai project by running:
Caution
Setting the createNamespaces
flag to false
moves the responsibility of creating namespaces to match Run:ai Projects to the administrator.