Skip to content
Railgrid Docs
Sections
Open console

Enter a topic to search documentation.

    railgrid use

    Switch the active organization and workspace

    Synopsis

    Switch the kubeconfig “railgrid” context between the organizations and workspaces you belong to.

    With no flags it opens an interactive picker — first an organization, then a workspace within it. Pass –org and/or –workspace (display name or UUID) to skip the picker, e.g. for scripts:

    Terminal
    railgrid use                                  # fully interactive
    railgrid use --org acme                       # pick a workspace in "acme"
    railgrid use --org acme --workspace platform  # non-interactive

    Terminal
    railgrid use [flags]

    Options

    TEXT
      -h, --help               help for use
          --org string         Organization display name or UUID (skips the org picker)
          --workspace string   Workspace display name or UUID (skips the workspace picker)

    Inherited options

    TEXT
          --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
          --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)

    See also

    • railgrid — railgrid: an open-source control plane for platform teams