Deploy Svc
The deploy service is responsible of launching containers on whatever infrastructure the OpenOrch is running on (eg. Docker Svc) and registering them into the Registry Svc.
This page is a high level overview of the
Deploy Svc
. For more details, please see the Deploy Svc API documentation.
Types of services
On OpenOrch, services generally fall into the following categories:
- Services deployed by the
Deploy Svc
: These can include services built with the OpenOrch SDK or standard containers (e.g., NGINX) that are not OpenOrch-specific. - Services built with the OpenOrch SDK but deployed through other methods; for example, using Docker Compose or Kubernetes. These services self-register into the
Registry Svc
.
Entities
Deployment
id: depl_dbOdi5eLQK
definitionId: def_deBXZMpxrQ
name: user-service-v2
description: Handles user service requests
replicas: 3
strategy:
type: RollingUpdate
maxUnavailable: 1
maxSurge: 2
resources:
cpu: "500m"
memory: "256Mi"
vram: "24GB"
autoScaling:
minReplicas: 2
maxReplicas: 10
cpuThreshold: 80
targetRegions:
- cluster: us-west1
zone: us-west1-b
- cluster: local-docker
status: OK
details: Deployment is in progress
envars:
ENVIRONMENT: production
LOG_LEVEL: debug
FEATURE_FLAG_X: "true"
Dependencies
- Docker Svc to start containers of services
- Registry Svc to start containers of services