'hyve environment'
An environment is a named scope within your organization on a hyve-api server — default, staging, production, and so on. Clusters are created in one, and two environments can each have a cluster with the same name. Every organization starts with default. Cluster mode only.
Commands
hyve environment list # your organization's environments, marking the selected onehyve environment create <name> # add onehyve environment delete <name> # refused while it still has clustershyve environment use <name> # select it for cluster commandshyve environment unset # clear the selectionhyve environment current # show the selectionThese act on the organization you’re acting in (hyve organization use), or another one for a single command with the global --org <name>.
Selecting an environment
use records the selection on the active context, and every cluster-mode command then sends it to the server until you change it. Each context keeps its own selection, so hyve context use switches environments with it.
hyve environment use staginghyve cluster list # staging's clusters onlyhyve cluster create web --file web.yamlhyve cluster show web --env default # one-off override for a single commandThe global --env flag overrides the selection for one command.
Related
hyve context— where the selection is stored- Multi-Tenancy — organizations and environments
hyve cluster