Before you begin
Create a namespace
You can create regular namespaces where you can deploy and run Orka VMs, or you can create a sandboxed namespace where you can deploy and run only Kubernetes custom pods.- Connect to your cluster via VPN.
- Log in as an administrator.
- Run the following command:
Orka CLI
Orka API
- Begins with the orka- prefix.
- Does not exceed 63 characters (including the prefix).
- Consists of lowercase alphanumeric characters or dashes (-).
- The string ends with an alphanumeric character.
- The name is unique to the cluster.
Grant access to the namespace
You can dedicate a pool of resources to one or more users or service accounts by assigning them to a specific namespace.- To add one or more users, run the following command:
Orka CLI
Orka API
- To add one or more service accounts, run the following command:
Orka CLI
Orka API
Dedicate resources to the namespace
The resources within a namespace are completely isolated and cannot be shared between namespaces. By default, users and service accounts limited to a specific namespace cannot access the resources in other namespaces, unless added to the respective role binding. Formerly, this feature was known as node dedication and was achieved with node and user grouping. Run the following command:Orka CLI
Orka API
Revoke access to a specific namespace
If needed, you can revoke the access of a user or a service account to a namespace. You need to remove the respective subjects from the respective role binding.- To add one or more users, run the following command:
Orka CLI
Orka API
- To add one or more service accounts, run the following command:
Orka CLI
Orka API
Remove resources from a namespace
If needed, you can move unused resources (nodes) across namespaces.- Verify that there are no VMs deployed on the node.
- Run the following command: