Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 3.36 KB

File metadata and controls

58 lines (40 loc) · 3.36 KB

Deployment

Deployment Attributes

This document defines attributes for software deployments.

Attributes:

Key Stability Value Type Description Example Values
deployment.environment.name Development string Name of the deployment environment (aka deployment tier). [1] staging; production
deployment.id Development string The id of the deployment. 1208
deployment.name Development string The name of the deployment. deploy my app; deploy-frontend
deployment.status Development string The status of the deployment. failed; succeeded

[1] deployment.environment.name: deployment.environment.name does not affect the uniqueness constraints defined through the service.namespace, service.name and service.instance.id resource attributes. This implies that resources carrying the following attribute combinations MUST be considered to be identifying the same service:

  • service.name=frontend, deployment.environment.name=production
  • service.name=frontend, deployment.environment.name=staging.

deployment.environment.name has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

Value Description Stability
development Development environment Development
production Production environment Development
staging Staging environment Development
test Testing environment Development

deployment.status has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

Value Description Stability
failed failed Development
succeeded succeeded Development

Deployment Deprecated Attributes

Describes deprecated deployment attributes.

Attributes:

Key Stability Value Type Description Example Values
deployment.environment Deprecated
Replaced by deployment.environment.name.
string Deprecated, use deployment.environment.name instead. staging; production