Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 2.75 KB

File metadata and controls

46 lines (32 loc) · 2.75 KB

Deployment

Deployment Attributes

This document defines attributes for software deployments.

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

[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.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 Experimental
succeeded succeeded Experimental

Deployment Deprecated Attributes

"Describes deprecated deployment attributes."

Attribute Type Description Examples Stability
deployment.environment string 'Deprecated, use deployment.environment.name instead.' staging; production Deprecated
Deprecated, use deployment.environment.name instead.