Skip to content

Create gp info command #10797

Closed
Closed
@loujaybee

Description

@loujaybee

Create a gp info command that includes:

  • Workspace class name
  • Resources available (CPU/RAM/Storage)
  • URL
  • Workspace cluster and region

To replace the use of the respective environment variables.


Original description

Deprecate all "default environment variables" in favour of either gp cli wrapper, or namespaced variables.

We currently have listed "default" environment variables listed in the documentation. For a user to understand which environment variables they can rely on, they have to bounce from the docs to the product. It would be good if they can discover these variables more easily using an approach more familiar to "linux", e.g. through gp, and/or man pages.

Some preferred experience could be:

  1. Move all default environment variables under gp
  2. Namespace protected environment variabes with a prefix, etc to make it clear which ones can be relied upon.

Examples:

Important: This doesn't mean breaking backwards compatibility, or removing the env variables (yet) but introducing an alias, or a clear API, such as the gp wrapper, to open the opportunity for future removal as an integration point within the product.

Related issues:

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions