Skip to content

Production deploy

Angel edited this page Oct 6, 2023 · 13 revisions

Morpheus is a platform that uses Kubernetes to be deployed in production. It has different advantages including the portability among infrastructure and cloud providers.

The method to deploy the different components is Helm. This tool enables to deployment of different types of resources in the Kubernetes cluster and to use of parameters to configure the different settings.

Below we are going to explain better the different helm charts to deploy Morpheus in a production environment.

Morpheus worker

The helm chart for this component is located here.

Values

image:
  repository: monadicalsas/morpheus-worker
  pullPolicy: Always
  tag: "worker-ray-latest"
worker:
  headNodeSelector: "worker-head"
  nodeSelector: "gpu-adv"
  rayVersion: 2.7.0
  head:
    rayStartParams:
      numCpus: "3"
      numGpus: "0"
    resources:
      limits:
        cpu: "3"
        memory: "13G"
  workerGroup:
    replicas: 2
    minReplicas: 6
    maxReplicas: 14
    rayStartParams:
      numCpus: "3"
      numGpus: "1"
    resources:
      limits:
        cpu: "7"
        # memory: "15G"
        gpu: 1
imagePullSecrets:
  - name: regcred

Morpheus server

The helm chart for this component is located here.

Values

worker:
  type: daemonSet
  replicaCount: 0
  maxSkew: 1
image:
  repository: monadicalsas/morpheus-api
  pullPolicy: Always
  # Overrides the image tag whose default is the chart appVersion.
  tag: "latest"
service:
  type: ClusterIP
  port: 80
workerMonitorService:
  type: ClusterIP
  port: 80
container:
  port: 8001
domain: https://morpheus.monadical.io
imagePullSecrets:
  - name: regcred

Morpheus client

The helm chart for this component is located here.

Values

client:
  service:
    type: ClusterIP
    port: 3000
  container:
    port: 3000
  replicas: 1
image:
  repository: monadicalsas/morpheus-client
  pullPolicy: Always
  # Overrides the image tag whose default is the chart appVersion.
  tag: "latest"
imagePullSecrets:
  - name: regcred
Clone this wiki locally