This directory contains all the Kubernetes deployments.
We opted to use Helm to facilitate configuration changes and to make the repos suitable to different environments.
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
sudo chmod 700 get_helm.sh
./get_helm.sh
The orchest helm charts are located in the helm directory, the contents of the thirdparty directory are imported from other third party components which are needed for Orchest to run and are added for sake of completeness.
The Makefile is configured to do the most common actions and it can be configured using envirement variables.
NAMESPACE
this will be the namespace where orchest and its dependencies are going to be deployed, the default value isorchest
KUBECONFIG
the location of the k8s configuration file, the default value is~/.kube/config
DEBUG
if specified, helm is executed with--debug --dry-run
DEPEND_RESOURCES
if set toFALSE
theorchest
target is not dependent onorchest-resources
targetROOK_CEPH_NAMESPACE
is the namespace for the deployment of rook/ceph. default :rook-ceph
ROOK_NFS_NAMESPACE
the deployment namespace of rook/nfs, default:rook-nfs
ENABLE_ROOK_NFS
enables the rook-nfs as a storage provider (if no storage is enabled, theENABLE_ROOK_NFS
will be set to TRUE)ENABLE_ROOK_CEPH
enables the rook-ceph as a storage providerENABLE_HOSTPATH
enables the hostpath or standard as a storage provider, useful for single-node clusters.ORCHEST_DEFAULT_TAG
the default container tag oforchest-api
,orchest-webserver
,auth-server
,node-agent
andcelery worker
, if specified, the tags of all mentioned components will be adjusted accordingly. default:k8s-beta
ORCHEST_API_TAG
defines the tag oforchest-api
, if not defined, falls back toORCHEST_DEFAULT_TAG
AUTH_SERVER_TAG
defines the tag ofauth-server
, if not defined, falls back toORCHEST_DEFAULT_TAG
CELERY_WORKER_TAG
defines the tag ofcelery-worker
, if not defined, falls back toORCHEST_DEFAULT_TAG
ORCHEST_WEBSERVER_TAG
defines the tag oforchest-webserver
, if not defined, falls back toORCHEST_DEFAULT_TAG
NODE_AGENT_TAG
defines the tag ofnode-agent
, if not defined, falls back toORCHEST_DEFAULT_TAG
RABBITMQ_TAG
defines the tag ofrabbitmq
, default:3
ROOK_NFS_IMAGE_TAGE
defines the rook-nfs docker tag, default:v1.7.3
ROOK_CEPH_IMAGE_TAGE
defines the rook-ceph docker tag, default:v1.8.2
ORCHEST_FQDN
defines the orchest FQDN.`REGISTRY_STORAGE_CLASS
the storage class for docker-registry volume, default :standard
The following targets are defined:
orchest
to deploy orchest in the cluster