orka3
Manage OrkaOptions
Sub-commands (quick glossary)
- orka3 completion - Generate the autocompletion script for the specified shell
- orka3 config - Manage the local Orka CLI configuration
- orka3 image - Manage locally stored images
- orka3 iso - Manage locally stored ISOs
- orka3 login - Log in to your Orka cluster or create a new user
- orka3 namespace - (Admin-only) Manage namespaces
- orka3 node - Manage Orka nodes in the specified namespace
- orka3 registrycredential - (Admin-only) Manage OCI registry credentials
- orka3 remote-image - List or pull images from the remote repository
- orka3 remote-iso - List or pull ISOs from the remote repository
- orka3 rolebinding - (Admin-only) Manage rolebindings (used for user access management)
- orka3 serviceaccount - (Admin-only) Manage service accounts
- orka3 user - Manage your authentication with Orka
- orka3 version - Print the current version of the Orka CLI
- orka3 vm - Manage VMs
- orka3 vm-config - Manage VM configurations
orka3 completion
Generate the autocompletion script for the specified shellSynopsis
Generate the autocompletion script for orka3 for the specified shell.See each sub-command’s help for details on how to use the generated script.
Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 completion bash - Generate the autocompletion script for bash
- orka3 completion fish - Generate the autocompletion script for fish
- orka3 completion powershell - Generate the autocompletion script for powershell
- orka3 completion zsh - Generate the autocompletion script for zsh
orka3 completion bash
Generate the autocompletion script for bashSynopsis
Generate the autocompletion script for the bash shell. This script depends on the ‘bash-completion’ package.If it is not installed already, you can install it via your OS’s package manager. To load completions in your current shell session:
Linux :
macOS :
Options
orka3 completion fish
Generate the autocompletion script for fishSynopsis
Generate the autocompletion script for the fish shell. To load completions in your current shell session:Options
orka3 completion powershell
Generate the autocompletion script for powershellSynopsis
Generate the autocompletion script for powershell. To load completions in your current shell session:to your powershell profile.
Options
orka3 completion zsh
Generate the autocompletion script for zshSynopsis
Generate the autocompletion script for the zsh shell. If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:Linux :
macOS :
Options
orka3 config
Manage the local Orka CLI configurationSynopsis
View or edit your current Orka CLI configuration. The first time you run the Orka CLI, you need to set your Orka service URL. Orka CLI commands are executed against this address.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 config set - Set your Orka CLI local configuration
- orka3 config view - View your current local Orka CLI configuration
orka3 config set
Set your Orka CLI local configurationSynopsis
Set your Orka CLI local configuration. The first time you run the Orka CLI, you need to set your Orka service URL. Orka CLI commands are executed against this address. For environments initially deployed with Orka 2.1 or later, this is typically http://10.221.188.20. For environments initially deployed before Orka 2.1, this is typically http://10.221.188.100. You can also use your built-in Orka domain (COMPANY.orka.app) or an external custom domain. For more information, see Built-In Orka Domains and External Custom Domains.Examples
Options
orka3 config view
View your current local Orka CLI configurationSynopsis
View your current local Orka CLI configuration.Examples
Options
orka3 image
Manage locally stored imagesSynopsis
Manage the images stored locally in your Orka cluster. Images are used to spin up VMs.An ‘amd64’ architecture indicates an Intel-based image. (Previously denoted by an ‘.img’ extension. Extensions are no longer required as part of an image name.)
An ‘arm64’ extension indicates an Apple silicon-based image. (Previously denoted by an ‘.orkasi’ extension. Extensions are no longer required as part of an image name.) Remote and local images are accessible from all namespaces.
Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 image copy - Copy the specified image
- orka3 image delete - Delete the specified locally stored image(s)
- orka3 image generate - (Intel-only) Generate a new empty image with the specified size
- orka3 image list - List the locally stored images
- orka3 image set-description - Set a custom description for the specified image
orka3 image copy
Copy the specified imageSynopsis
Copy the specified image and set a new name for the copy. The new name for the copy must meet the following requirements:_Does not exceed 63 characters including the file extension (if set)
_ Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
- Must be unique to the cluster
orka3 image list IMAGE_COPY_NAME Images are used to spin up VMs.
An ‘amd64’ architecture indicates an Intel-based image. (Previously denoted by an ‘.img’ extension. Extensions are no longer required as part of an image name.)
An ‘arm64’ extension indicates an Apple silicon-based image. (Previously denoted by an ‘.orkasi’ extension. Extensions are no longer required as part of an image name.) Remote and local images are accessible from all namespaces.
Examples
Options
orka3 image delete
Delete the specified locally stored image(s)Synopsis
Delete the specified locally stored image(s). CAUTION: This operation cannot be undone. VMs or VM configurations that use this image will be affected and might stop working as expected.Examples
Options
orka3 image generate
(Intel-only) Generate a new empty image with the specified sizeSynopsis
(Intel-only) Generate a new empty image with the specified size. You can use an empty image to perform a fresh macOS install from ISO. The name of the generated image must meet the following requirements:Does not exceed 63 characters including the file extension (if set)
Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
- Must be unique to the cluster
orka3 image list GENERATED_IMAGE_NAME Images are used to spin up VMs. Generated images are always created as ‘amd64’ images (Intel-based images). Generated images are accessible from all namespaces.
Examples
Options
orka3 image list
List the locally stored imagesSynopsis
List the locally stored images. Images are used to spin up VMs.An ‘amd64’ architecture indicates an Intel-based image. (Previously denoted by an ‘.img’ extension. Extensions are no longer required as part of an image name.)
An ‘arm64’ extension indicates an Apple silicon-based image. (Previously denoted by an ‘.orkasi’ extension. Extensions are no longer required as part of an image name.) Remote and local images are accessible from all namespaces. If ‘—output’ is not set, prints only the essential information in a table format.
You can also print an extended table with error information or JSON.
Examples
Options
orka3 image set-description
Set a custom description for the specified imageSynopsis
Set a custom description for the specified image. This might be helpful to identify the owner of the image, where the image originated from, or how it’s used across workflows. CAUTION: This operation overrides the existing description and cannot be undone. Images are used to spin up VMs.An ‘amd64’ architecture indicates an Intel-based image. (Previously denoted by an ‘.img’ extension. Extensions are no longer required as part of an image name.)
An ‘arm64’ extension indicates an Apple silicon-based image. (Previously denoted by an ‘.orkasi’ extension. Extensions are no longer required as part of an image name.) Remote and local images are accessible from all namespaces.
Examples
Options
orka3 iso
Manage locally stored ISOsSynopsis
Manage locally stored ISOs. You can use ISOs to perform a fresh macOS install on an empty Intel-based disk. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 iso copy - Copy the specified locally stored ISO
- orka3 iso delete - Delete the specified locally stored ISO(s)
- orka3 iso list - List the locally stored ISOs
- orka3 iso set-description - Set a custom description for the specified locally stored ISO
orka3 iso copy
Copy the specified locally stored ISOSynopsis
Copy the specified locally stored ISO and set a new name for the copy. The copy is also stored locally in the Orka cluster. The new name for the copy must meet the following requirements:Does not exceed 63 characters including the file extension (if set)
Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
- Must be unique to the cluster
orka3 iso list ISO_COPY_NAME You can use ISOs to perform a fresh macOS install on an empty Intel-based disk. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces.
Examples
Options
orka3 iso delete
Delete the specified locally stored ISO(s)Synopsis
Delete the specified locally stored ISO(s). CAUTION: This operation cannot be undone. VMs or VM configurations that use this ISO will be affected and might stop working as expected. You can use ISOs to perform a fresh macOS install on an empty Intel-based disk. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces.Examples
Options
orka3 iso list
List the locally stored ISOsSynopsis
List the locally stored ISOs. You can use ISOs to perform a fresh macOS install on an empty Intel-based disk. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces. If ‘—output’ is not set, prints only the essential information in a table format.You can also print an extended table with error information or JSON.
Examples
Options
orka3 iso set-description
Set a custom description for the specified locally stored ISOSynopsis
Set a custom description for the specified locally stored ISO. This might be helpful to identify the owner of the ISO, where the ISO originated from, or how it’s used across workflows. CAUTION: This operation overrides the existing description and cannot be undone. You can use ISOs to perform a fresh macOS install on an empty Intel-based disk. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces.Examples
Options
orka3 login
Log in to your Orka cluster or create a new userSynopsis
Log in to your Orka cluster with your MacStadium Customer Portal credentials. This operation launches a browser window with a login form. You must already be an administrator or a member of your company account in the MacStadium Customer Portal. If you can’t access the MacStadium Customer Portal, contact your account administrator and request to be invited to the account. After you log in successfully, Orka generates an authentication token and stores it in ’~/.kube/config’. Alternatively, you can log in with a valid authentication token (e.g., a service account token):orka3 user set-token
Examples
Options
orka3 namespace
(Admin-only) Manage namespacesSynopsis
Manage the namespaces for your cluster. All operations in this group require administrative privileges. Namespaces let you group and dedicate resources to specific Orka users or service accounts. All users have access to the ‘orka-default’ namespace. Based on specific rolebindings, a user or a service account might also be able to access the resources within additional namespaces. All cluster namespaces must have the ‘orka-’ prefix.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 namespace create - (Admin-only) Create a new namespace
- orka3 namespace delete - (Admin-only) Delete the specified namespace
- orka3 namespace list - (Admin-only) List namespaces
orka3 namespace create
(Admin-only) Create a new namespaceSynopsis
Create a new namespace with the specified name. This operation requires administrative privileges. Your namespace name must meet the following requirements:Begins with the ‘orka-’ prefix
Does not exceed 63 characters (including the prefix)
Consists of lowercase alphanumeric characters or dashes (-)
Еnds with an alphanumeric character
- Must be unique to the cluster
orka3 tag namespace NODE —namespace NAMESPACE You also need to provide explicit access to one or more users (or service accounts) to the namespace:
orka3 rolebinding add-subject —namespace NAMESPACE —user EMAIL
orka3 rolebinding add-subject —namespace NAMESPACE —serviceaccount SA_NAMESPACE:SERVICE_ACCOUNT
Examples
Options
orka3 namespace delete
(Admin-only) Delete the specified namespaceSynopsis
Delete the specified namespace. This operation requires administrative privileges. You need to remove all VMs (or custom pods) and nodes from the namespace before running this operation. CAUTION: This is a destructive operation and cannot be undone. To restore a deleted namespace, you need to re-create it, move the respective Orka nodes, and re-add the respective users to the respective rolebindings.Examples
Options
orka3 namespace list
(Admin-only) List namespacesSynopsis
List all namespaces for your Orka cluster. You can also use this command to check if one or more specific namespaces already exist (see examples). This operation requires administrative privileges.Examples
Options
orka3 node
Manage Orka nodes in the specified namespaceSynopsis
Manage Orka nodes in the specified namespace: list, move across namespaces, and configure node affinity. If ‘—namespace’ is not set, operates in the ‘orka-default’ namespace. Some commands require administrative privileges.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 node list - Show information about the specified Orka node(s)
- orka3 node namespace - (Admin-only) Move Orka nodes across namespaces
- orka3 node tag - (Admin-only) Tag the specified Orka node for targeted VM deployment (set node affinity)
- orka3 node untag - (Admin-only) Untag the specified Orka node for targeted VM deployment (remove node affinity)
orka3 node list
Show information about the specified Orka node(s)Synopsis
Show basic or extended information about the specified Orka node(s).Based on the specified output, the command returns information ranging from available resources and status
to node IP and architecture, among others. If ‘—output’ is not set, prints only the essential information in a table format.
You can also print an extended table or JSON. If ‘—namespace’ is not set, operates in the ‘orka-default’ namespace.
Examples
Options
orka3 node namespace
(Admin-only) Move Orka nodes across namespacesSynopsis
Move Orka nodes across namespaces. This operation requires administrative privileges. If ‘—namespace’ is not set, assumes that the specified node is located in the ‘orka-default’ namespace.Examples
Options
orka3 node tag
(Admin-only) Tag the specified Orka node for targeted VM deployment (set node affinity)Synopsis
Tag the specified Orka node for targeted VM deployment (set node affinity). This operation requires administrative privileges. Node affinity indicates that the tagged node is preferred for the deployment of VMs with the same tag. Orka will firstattempt to deploy on any nodes with the respective tag, before moving to the remaining nodes in the environment. Orka will
attempt to deploy on other nodes, only if the VM setting to require a tag is no. Your tag must meet the following requirements:
Does not exceed 63 characters
Consists of alphanumeric characters, dashes (-), underscores (_), or periods (.)
- Begins and ends with an alphanumeric character
orka3 node list NAME [—namespace NAMESPACE] —output wide
Examples
Options
orka3 node untag
(Admin-only) Untag the specified Orka node for targeted VM deployment (remove node affinity)Synopsis
Untag the specified Orka node for targeted VM deployment (remove node affinity). This operation requires administrative privileges. Node affinity indicates that the tagged node is preferred for the deployment of VMs with the same tag. Orka will firstattempt to deploy on any nodes with the respective tag, before moving to the remaining nodes in the environment. Orka will
attempt to deploy on other nodes, only if the VM setting to require a tag is no. You can remove only one tag at a time. To remove multiple tags, run the command separately for each tag. If ‘—namespace’ is not set, assumes that the specified node is located in the ‘orka-default’ namespace. To list the tags applied to a node, run the following command:
orka3 node list NAME [—namespace NAMESPACE] —output wide
Examples
Options
orka3 registrycredential
(Admin-only) Manage OCI registry credentialsSynopsis
Manage OCI registry credentials. This group of operations requires administrative privileges. OCI registry credentials are required to push and pull OCI-compatible Apple silicon-based Orka images to or from private repositories.OCI images are available only for Apple silicon-based VMs. To deploy a VM using an OCI image, run:
orka3 vm deploy —image server.com/repository/image:tag To push an image to an OCI registry (for example, GitHub packages), run:
orka3 vm push VM_NAME server.com/repository/image:tag If ‘—namespace’ is not set, creates the registry credentials in the ‘orka-default’ namespace.
Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 registrycredential add - (Admin-only) Add credentials for an OCI registry server
- orka3 registrycredential list - (Admin-only) List OCI registry servers
- orka3 registrycredential remove - (Admin-only) Remove credentials for an OCI registry server
orka3 registrycredential add
(Admin-only) Add credentials for an OCI registry serverSynopsis
Add credentials for the specified OCI registry server in the ‘orka-default’ namespace or the specified namespace. This operation requires administrative privileges. You can add new credentials for a new server, or you can replace the existing credentials for an existing server.The server address of the registry must include the scheme, hostname and (optionally) port. For example, ‘https://ghcr.io’ or ‘https://10.221.188.5:30080’. OCI registry credentials are required to push and pull OCI-compatible Apple silicon-based Orka images to or from private repositories. If insecure communication is allowed, requests to the registry server will fall back to HTTP when HTTPS is unavailable (disabled by default). If ‘—namespace’ is not set, adds the credentials in the ‘orka-default’ namespace.
Examples
Options
orka3 registrycredential list
(Admin-only) List OCI registry serversSynopsis
List the OCI registry servers for which you have stored credentials in the ‘orka-default’ namespace or the specified namespace. This operation requires administrative privileges. If ‘—output’ is not set, prints only the essential information in a table format.You can also print an extended table or JSON. If ‘—namespace’ is not set, lists the servers stored in the ‘orka-default’ namespace.
Examples
Options
orka3 registrycredential remove
(Admin-only) Remove credentials for an OCI registry serverSynopsis
Remove the authentication credentials for the specified registry server in the ‘orka-default’ namespace or the specified namespace. This operation requires administrative privileges. The server address of the registry must include the scheme, hostname and (optionally) port. For example, ‘https://ghcr.io’ or ‘https://10.221.188.5:30080’. If ‘—namespace’ is not set, removes the credentials from the ‘orka-default’ namespace.Examples
Options
orka3 remote-image
List or pull images from the remote repositorySynopsis
List or pull images from the remote repository (also referred to as remote images). Images are used to spin up VMs. MacStadium manages a remote repository of vanilla macOS images. To use a remote image to spin up a VM, you need to have it pulled locally on the Orka cluster. Images are used to spin up VMs. MacStadium manages a remote repository of vanilla macOS images. To use a remote image to spin up a VM, you need to have it pulled locally on the Orka cluster. An ‘amd64’ architecture indicates an Intel-based image. (Previously denoted by an ‘.img’ extension. Extensions are no longer required as part of an image name.)An ‘arm64’ extension indicates an Apple silicon-based image. (Previously denoted by an ‘.orkasi’ extension. Extensions are no longer required as part of an image name.) Remote and local images are accessible from all namespaces.
Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 remote-image list - List images in the remote repository
- orka3 remote-image pull - Pull an image from the remote repository
orka3 remote-image list
List images in the remote repositorySynopsis
List the available images in the remote repository or look for specific images in the remote repository. Images in the remote repository are also referred to as remote images. Images are used to spin up VMs. MacStadium manages a remote repository of vanilla macOS images. To use a remote image to spin up a VM, you need to have it pulled locally on the Orka cluster. Images are used to spin up VMs. MacStadium manages a remote repository of vanilla macOS images. To use a remote image to spin up a VM, you need to have it pulled locally on the Orka cluster. An ‘amd64’ architecture indicates an Intel-based image. (Previously denoted by an ‘.img’ extension. Extensions are no longer required as part of an image name.)An ‘arm64’ extension indicates an Apple silicon-based image. (Previously denoted by an ‘.orkasi’ extension. Extensions are no longer required as part of an image name.) Remote and local images are accessible from all namespaces.
Examples
Options
orka3 remote-image pull
Pull an image from the remote repositorySynopsis
Copy an image from the remote repository (also referred to as remote image) and store it locally in your Orka cluster. You can keep the original name or set a new name in the local cluster storage. Note that pulling a remote image locally takes up from the available cluster storage. If set, the new local name for the image must meet the following requirements:Does not exceed 63 characters including the file extension, if set
Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
- Must be unique to the cluster
orka3 image list PULLED_IMAGE_NAME Images are used to spin up VMs. MacStadium manages a remote repository of vanilla macOS images. To use a remote image to spin up a VM, you need to have it pulled locally on the Orka cluster. An ‘amd64’ architecture indicates an Intel-based image. (Previously denoted by an ‘.img’ extension. Extensions are no longer required as part of an image name.)
An ‘arm64’ extension indicates an Apple silicon-based image. (Previously denoted by an ‘.orkasi’ extension. Extensions are no longer required as part of an image name.) Remote and local images are accessible from all namespaces.
Examples
Options
orka3 remote-iso
List or pull ISOs from the remote repositorySynopsis
List or pull ISOs from the remote repository (also referred to as remote ISOs). MacStadium maintains a remote repository with ISOs that you can use to perform a fresh macOS install on an empty Intel-based disk. To use a remote ISO, you need to have it pulled locally to the Orka cluster. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 remote-iso list - List ISOs in the remote repository
- orka3 remote-iso pull - Pull an ISO from the remote repository
orka3 remote-iso list
List ISOs in the remote repositorySynopsis
List the available ISOs in the remote repository or look for specific ISOs in the remote repository. ISOs in the remote repository are also referred to as remote ISOs. MacStadium maintains a remote repository with ISOs that you can use to perform a fresh macOS install on an empty Intel-based disk. To use a remote ISO, you need to have it pulled locally to the Orka cluster. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces.Examples
Options
orka3 remote-iso pull
Pull an ISO from the remote repositorySynopsis
Copy an ISO from the remote repository (also referred to as remote ISO) and store it locally in your Orka cluster. You can keep the original name or set a new name in the local cluster storage. Note that pulling a remote ISO locally takes up from the available cluster storage. If set, the new local name for the ISO must meet the following requirements:Does not exceed 63 characters including the extension (if set)
Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
- Must be unique to the cluster
orka3 iso list PULLED_ISO_NAME MacStadium maintains a remote repository with ISOs that you can use to perform a fresh macOS install on an empty Intel-based disk. To use a remote ISO, you need to have it pulled locally to the Orka cluster. Working with ISOs is applicable only to Intel-based VMs. Remote and local ISOs are accessible from all namespaces.
Examples
Options
orka3 rolebinding
(Admin-only) Manage rolebindings (used for user access management)Synopsis
Manage rolebindings in your Orka cluster. This group of operations requires administrative privileges. Orka relies on RBAC (role-based access control) for the management of user access to resources. In Orka, RBAC consists of the following elements:Roles: a set of permissions. Roles are managed by MacStadium.
Subjects: users and service accounts which can be bound to a role. Subjects are managed by Orka users with administrative privileges.
Namespaces: groups of resources dedicated to specific users or service accounts. Namespaces are managed by Orka users with administrative privileges.
Rolebindings: K8s objects describing which subjects belong to which role and which subjects can access which namespaces. Rolebindings are managed by Orka users with administrative privileges. By default, all admin users have access to all namespaces.
All non-admin users have user access to the ‘orka-default’ namespace. To grant a user access to a specific namespace, you need to add that user as a subject to the rolebinding for the namespace.
Service accounts automatically have access to the namespace where they were created. To grant a service account access to a specific namespace, you need to add that service account as a subject to the rolebinding for the namespace.
Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 rolebinding add-subject - (Admin-only) Add a subject to a rolebinding
- orka3 rolebinding list-subjects - (Admin-only) List rolebinding subjects
- orka3 rolebinding remove-subject - (Admin-only) Remove a subject from a rolebinding
orka3 rolebinding add-subject
(Admin-only) Add a subject to a rolebindingSynopsis
Add a subject to the rolebinding for the specified namespace. This grants the user or the service account access to the specified namespace. This operation requires administrative privileges. If ‘—namespace’ is not set, assumes that you’re adding subjects to the rolebinding for the ‘orka-default’ namespace.Examples
Options
orka3 rolebinding list-subjects
(Admin-only) List rolebinding subjectsSynopsis
List all rolebinding subjects, along with their kind, in the ‘orka-default’ namespace or another specified namespace. This operation requires administrative privileges. If ‘—namespace’ is not set, operates in the ‘orka-default’ namespace.Examples
Options
orka3 rolebinding remove-subject
(Admin-only) Remove a subject from a rolebindingSynopsis
Remove a subject from a rolebinding. This revokes the user’s or service account’s access to the specified namespace. This operation requires administrative privileges. If ‘—namespace’ is not set, assumes that you’re removing subjects from the rolebinding for the ‘orka-default’ namespace.Examples
Options
orka3 serviceaccount
(Admin-only) Manage service accountsSynopsis
Manage the service accounts, including any authetication tokens for them, for your CI/CD integrations. All operations in this group require administrative privileges. Service accounts are intended for use by CI/CD integrations. To use your cluster with one of the available Orka integrations, you need to create a service account, obtain an authentication token for it, and configure the token in your preferred integration. If ‘—namespace’ is not set, creates the service account with access to the ‘orka-default’ namespace.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 serviceaccount create - (Admin-only) Create a service account
- orka3 serviceaccount delete - (Admin-only) Delete the specified service account(s)
- orka3 serviceaccount list - (Admin-only) List service accounts
- orka3 serviceaccount token - (Admin-only) Obtain a service account token
orka3 serviceaccount create
(Admin-only) Create a service accountSynopsis
Create a service account with the specified name in the ‘orka-default’ namespace or in another specified namespace. After you create the service account, you cannot move it across namespaces. This operation requires administrative privileges. Your service account name must meet the following requirements:Does not exceed 253 characters
Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
Begins and ends with a lowercase alphanumeric character
Must be unique to the namespace To use the newly created service account, you need to obtain a token for it by running:
orka3 sa token SERVICE_ACCOUNT_NAME If ‘—namespace’ is not set, creates the service account with access to the ‘orka-default’ namespace.
Examples
Options
orka3 serviceaccount delete
(Admin-only) Delete the specified service account(s)Synopsis
Delete one or more service accounts in the ‘orka-default’ namespace or another specified namespace. This operation requires administrative privileges. CAUTION: Deleting the service account also invalidates any tokens associated with it. This cannot be undone. If ‘—namespace’ is not set, operates in the ‘orka-default’ namespace.Examples
Options
orka3 serviceaccount list
(Admin-only) List service accountsSynopsis
List the service accounts in the ‘orka-default’ namespace or another specified namespace. You can also use this command to check if a specific service account already exists (see examples). This operation requires administrative privileges. If ‘—namespace’ is not set, operates in the ‘orka-default’ namespace.Examples
Options
orka3 serviceaccount token
(Admin-only) Obtain a service account tokenSynopsis
Obtain an authentication token for the specified service account name. This operation requires administrative privileges. If ‘—duration’ is not set, the token is valid for 8760 hours (1 year). Note that even when set, Orka might return a token with a shorter or a longer lifetime.If ‘—namespace’ is not set, assumes that the specified service account is located in the ‘orka-default’ namespace.
Examples
Options
orka3 user
Manage your authentication with OrkaSynopsis
Manage your authentication with Orka.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 user get-token - Print your authentication token
- orka3 user login - Log in to your Orka cluster or create a new user
- orka3 user logout - Log out of the Orka cluster
- orka3 user set-token - Log in with a valid authentication token
orka3 user get-token
Print your authentication tokenSynopsis
If you are logged in, print your authentication token from your ’~/.kube/config’. You can use the token to log in to the Web UI or work with the Orka API.Examples
Options
orka3 user login
Log in to your Orka cluster or create a new userSynopsis
Log in to your Orka cluster with your MacStadium Customer Portal credentials. This operation launches a browser window with a login form. You must already be an administrator or a member of your company account in the MacStadium Customer Portal. If you can’t access the MacStadium Customer Portal, contact your account administrator and request to be invited to the account. After you log in successfully, Orka generates an authentication token and stores it in ’~/.kube/config’. Alternatively, you can log in with a valid authentication token (e.g., a service account token):orka3 user set-token
Examples
Options
orka3 user logout
Log out of the Orka clusterSynopsis
Log out of the Orka cluster.Examples
Options
orka3 user set-token
Log in with a valid authentication tokenSynopsis
Log in with a valid authentication token. This operation lets you bypass logging in through the browser. You can print your authentication token from ’~/.kube/config’ by running:orka3 user get-token Or, you can generate a valid service account token by running:
orka3 serviceaccount token SERVICE_ACCOUNT_NAME
Examples
Options
orka3 version
Print the current version of the Orka CLISynopsis
Print the current version of the Orka CLI.Examples
Options
orka3 vm-config
Manage VM configurationsSynopsis
Manage VM configurations (templates for deploying virtual machines). All VM configurations reside in the ‘orka-default’ namespace and are available to all users and service accounts with access to orka-default. To deploy a VM from a VM configuration, run:orka3 vm deploy VM_NAME —config VM_CONFIG
Examples
Options
orka3 vm-config create
Create a VM configurationSynopsis
Create a VM configuration (template for deploying virtual machines) with the specified settings. The required minimum configuration consists of base image to use. Orka creates the VM configuration in the ‘orka-default’ namespace. It will be available to all users and service accounts with access to ‘orka-default’. The name of the Vm configuration must meet the following requirements:Does not exceed 50 characters
Consists of lowercase alphanumeric characters or dashes (-)
Starts with an alphabetic character and ends with an alphanumeric character
Must be unique to the cluster To deploy a VM from a newly created VM configuration, run:
orka3 vm deploy VM_NAME —config VM_CONFIG
Examples
Options
orka3 vm-config delete
Delete VM configuration(s)Synopsis
Delete the specified VM configuration(s) (template(s) for deploying virtual machines). All VM configurations reside in the ‘orka-default’ namespace and are available to all users and service accounts with access to ‘orka-default’.Examples
Options
orka3 vm-config list
List the available VM configurationsSynopsis
Show basic or extended information about the available VM configurations (templates for deploying virtual machines). You can list all available configurations or show information about one or more specified VM configurations. All VM configurations reside in the ‘orka-default’ namespace and are available to all users and service accounts with access to ‘orka-default’. To deploy a VM from a VM configuration, run:orka3 vm deploy VM_NAME —config VM_CONFIG If ‘—output’ is not set, prints only the essential information in a table format.
You can also print an extended table or JSON.
Examples
Options
orka3 vm
Manage VMsSynopsis
Spin up or manage VMs in your Orka cluster.Options
Sub-commands (quick glossary)
- orka3 - Manage Orka
- orka3 vm commit - Update an existing image from a running VM
- orka3 vm delete - Delete the specified VM(s)
- orka3 vm deploy - Deploy a VM
- orka3 vm get-push-status - (Apple silicon-only) View the status of an image being pushed to an OCI-compatible registry
- orka3 vm list - Show information about the specified VM(s)
- orka3 vm push - (Apple silicon-only) Push an image from a running VM to an OCI-compatible registry
- orka3 vm resize - Resize the disk of a running VM
- orka3 vm resume - (Intel-only) Resume a suspended VM
- orka3 vm revert - (Intel-only) Revert a VM to the latest state of its image
- orka3 vm save - Save a new image from a running VM
- orka3 vm start - (Intel-only) Power ON a stopped VM
- orka3 vm stop - (Intel-only) Power OFF a running VM
- orka3 vm suspend - (Intel-only) Suspend a running VM
orka3 vm commit
Update an existing image from a running VMSynopsis
Take the changes from the specified deployed VM and commit them back to its respective base image. For Intel-based VMs, the image must not be in use by any other VMs. This operation applies any file system changes and the state of the OS, including any running applications, to the original image. This way you can deploy new VMs with the applied changes from the same image. Committing changes to an existing image is an async operation. To check the status of the operation, run:orka3 image list IMAGE_NAME This operation restarts the VM.
Examples
Options
orka3 vm delete
Delete the specified VM(s)Synopsis
Delete the specified VM(s). This frees up the respective resources and ports on the respective Orka node. CAUTION: This operation cannot be undone. You will not be able to restore any unsaved or uncommitted data from the VM. If ‘—namespace’ is not set, operates in the ‘orka-default’ namespace.Examples
Options
orka3 vm deploy
Deploy a VMSynopsis
Deploy a VM with the specified configuration. The minimum required configuration consists of an image and a number of CPU cores to assign to the VM. Setting a VMNAME is optional:When VMNAME is not provided, Orka generates a unique name consisting of ‘vm-’ and a unique suffix.
When VM_NAME is provided, Orka attempts to create the VM using the provided name. If the name is not unique, the VM will not be deployed.
- When both VM_NAME and ‘—generate-name’ are provided, Orka generates a uniqe name based on the VM_NAME and a unique suffix.
Does not exceed 63 characters (including the ‘-suffix’ generated with ‘—generate-name’, if set)
Consists of lowercase alphanumeric characters or dashes
Starts with an alphabetic character and ends with an alphanumeric character
_ Must be unique to the namespace Note that some settings are Intel-only (‘amd64’ architecture) and that some settings might be mutually exclusive. If ‘—output’ is not set, prints only the essential information about the newly deployed VM in a table format.
You can also print an extended table or JSON.
Examples
Options
orka3 vm get-push-status
(Apple silicon-only) View the status of an image being pushed to an OCI-compatible registrySynopsis
View the status of an image being pushed to an OCI-compatible registry. This operation is applicable only to Apple silicon-based VMs. The status is viewable for one (1) hour after finishing, after which point the underlying job is cleaned up. If a job name is not provided, the status of all current image push operations is shown.The job name is initially shown when the image push operation is started.
For more information, run:
orka3 vm push —help
Examples
Options
orka3 vm list
Show information about the specified VM(s)Synopsis
Show basic or extended information about the specified VM(s). INFO: Stopped or suspended VMs appear as ‘Running’ when listed. If ‘—output’ is not set, prints only the essential information in a table format.You can also print an extended table or JSON. If ‘—namespace’ is not set, operates in the ‘orka-default’ namespace.
Examples
Options
orka3 vm push
(Apple silicon-only) Push an image from a running VM to an OCI-compatible registrySynopsis
The state of a running VM is saved on the host and pushed to an OCI-compatible registry. This operation is applicable only to Apple silicon-based VMs. The provided image must be in the following format: ‘server.com/repository/image:tag’.The ‘:tag’ portion of the image path is optional. If not provided, defaults to ‘latest’. If ‘—namespace’ is not set, assumes that the VM is running in the ‘orka-default’ namespace.
Registry credentials must exist in the same namespace as the VM. Registry credentials are required to authenticate to the registry for the push operation.
For more information, run:
orka3 regcred —help Pushing an OCI image is an async operation. To check the status of the operation, run:
orka3 vm get-push-status JOB_NAME
Examples
Options
orka3 vm resize
Resize the disk of a running VMSynopsis
Resize the disk of a running VM. You can only increase the size of the disk. For Apple silicon-based VMs (‘arm64’ architecture), you don’t need to do anything after the command completes. For Intel-based VMs (‘amd64’ architecture), you can provide SSH access credentials for Orka to complete the resize and repartition automatically. If you don’t provide SSH access credentials, you need to complete the resize manually. See ‘https://orkadocs.macstadium.com/docs/disk-image-resize’ For Intel-based VMs, you can later save or commit the modified image manually:orka3 vm save VM_NAME NEW_IMAGE_NAME
orka3 vm commit VM_NAME Resize always assumes you’re working in GB. This operation restarts the VM.
Examples
Options
orka3 vm resume
(Intel-only) Resume a suspended VMSynopsis
Resume a suspended VM. This operation resumes all suspended processes on the VM, without turning it on. This operation is applicable only to Intel-based VMs. INFO: Suspended VMs appear as ‘Running’ when listed with ‘orka vm list VM_NAME’. The ‘orka vm suspend’ and ‘orka vm resume’ sequence acts as putting the VM on hold then resuming it.Examples
Options
orka3 vm revert
(Intel-only) Revert a VM to the latest state of its imageSynopsis
Revert VM to the latest state of its image. This operation restarts the VM. This operation is applicable only to Intel-based VMs. CAUTION: This operation cannot be undone. You will lose any unsaved or uncommitted data and you will not be able to retrieve it.Examples
Options
orka3 vm save
Save a new image from a running VMSynopsis
Save a new image from a running VM. This saves the file system and the state of the OS, including any running applications. This way you can preserve the original image and deploy new VMs with the applied changes from the new image. The name for the new image must meet the following requirements:Does not exceed 63 characters including the file extension (if set)
Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
- Must be unique to the cluster
orka3 image list NEW_IMAGE_NAME This operation does not affect the original image of the VM. This operation restarts the VM.