State(value)
State defines which state the current deployment is in.
Enums |
|
---|---|
Name | Description |
STATE_UNSPECIFIED |
Unspecified state. |
DRAFT |
A deployment starts in DRAFT state. All edits are made in DRAFT state. A deployment opened for editing after applying will be in draft state, while its prevision revision will be its current applied version. |
APPLIED |
This state means that the contents (YAML files containing kubernetes resources) of the deployment have been applied to an Orchestration or Workload Cluster. A revision is created when a deployment is applied. This revision will represent the latest view of what is applied on the cluster until the deployment is modified and applied again, which will create a new revision. |
DELETING |
A deployment in DELETING state has been marked for deletion. Its deletion status can be queried using `ComputeDeploymentStatus` API. No updates are allowed to a deployment in DELETING state. |