본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

배포 (Deployment)

원문 보기 위키 갱신

이 문서는 소프트웨어 배포(deployment)를 위한 속성을 정의해요.

출처: 문서

본문

  • 배포 속성 (Deployment Attributes)
  • 배포 폐기(deprecated) 속성 (Deployment Deprecated Attributes)

배포 속성 (Deployment Attributes)

이 문서는 소프트웨어 배포를 위한 속성을 정의해요.

속성 (Attributes):

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

[1] deployment.environment.name: deployment.environment.name은 service.namespace, service.name, service.instance.id 리소스 속성을 통해 정의되는 고유성(uniqueness) 제약에 영향을 주지 않아요. 이는 다음 속성 조합을 가진 리소스가 같은 서비스로 식별되어야 한다는 것을 의미해요(MUST):

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

deployment.environment.name에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

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

deployment.status에는 다음과 같은 잘 알려진 값 목록이 있어요. 그중 하나에 해당한다면 반드시 해당 값을 사용해야 하고(MUST), 그렇지 않으면 사용자 정의 값을 사용할 수 있어요(MAY).

Value Description Stability
failed failed
succeeded succeeded

배포 폐기 속성 (Deployment Deprecated Attributes)

폐기된 배포 속성을 설명해요.

속성 (Attributes):

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

더 알아보기 (Learn more)