Skip to main content

Workspace

Create Workspace

initz create workspace --name=<name> --desc=<desc> --prod-cluster=<prod-cluster> --non-prod-cluster=<non-prod-cluster> --registry=<registry> --gpu_enable=true
Flags
--name
  • Indicates the name of the workspace.
  • required
  • Shorthand : n
--desc
  • Indicates the description of the workspace.
  • required
--prod-cluster
  • stands for: Production cluster.
  • required
  • Default : initializ-prod-eks-cluster
--non-prod-cluster
  • stands for: Non-production cluster (used for test or stage environments).
  • required
  • Default : initializ-np-eks-cluster
--registry
  • required
  • Default : DockerConfig
--gpu_enable
  • stands for : Graphics Processing Unit
  • required
  • Default : false

To create a workspace in an organization other than the current one, you need to include an additional flag orgid=< organizationID > or you can set that particular organization.
Use command :

  • To add orgid=< organizationID > :
    initz create workspace --name=<name> --desc=<desc> --prod-cluster=<prod-cluster> --non-prod-cluster=<non-prod-cluster> --registry=<registry> --gpu_enable=<true/false> --orgid=<organization ID>
  • To set the organization :
    initz set org --orgid=<organization ID>

How to use your own cluster and registry

  • How can you use your own prod-cluster and non-prod-cluster

    You can use your own cluster instead of the default cluster provided by Initializ.ai. For more information, refer (Bring your own clusters).

  • How can you use your own registry

    To use your own registry refer (Bring your own registry)

note
  • The workspace name is mandatory, while all other arguments are optional. By default, 'prod-cluster,' 'non-prod-cluster,' and 'registry' are assigned, provided by Initializ.ai.

  • For more information, you can use command :

    initz create workspace -h