marblerun-coordinator

by Edgeless Systems

Helm chartv0.5.0App v0.5.0Verified publisher

The control plane for confidential computing.

About this chart

MarbleRun helm charts

Documentation

See the Getting Started Guide to set up a distributed confidential-computing app in a few simple steps. For more comprehensive documentation, start with the docs.

Add Repository (stable)

helm repo add edgeless https://helm.edgeless.systems/stable
helm repo update

Install Packages (stable)

  • If you are deploying on a cluster with nodes that support SGX1+FLC (e.g. AKS or minikube + Azure Standard_DC*s)

    helm install  marblerun-coordinator edgeless/marblerun-coordinator --create-namespace  --namespace marblerun
    
  • Otherwise

    helm install marblerun-coordinator edgeless/marblerun-coordinator --create-namespace --namespace marblerun --set coordinator.resources=null --set coordinator.simulation=1 --set tolerations=null
    

Configuration

The following table lists the configurable parameters of the marblerun-coordinator chart and their default values.

ParameterTypeDescriptionDefault
coordinator.dcapQplstringDCAP_LIBRARY needs to be "intel" if the libsgx-dcap-default-qpl is to be used, otherwise az-dcap-client is used by default"azure"
coordinator.clientServerHoststringHostname of the client-api server"0.0.0.0"
coordinator.clientServerPortintPort of the client-api server configuration4433
coordinator.hostnamestringDNS-Names for the coordinator certificate"localhost"
coordinator.meshServerHoststringHostname of the mesh-api server"0.0.0.0"
coordinator.meshServerPortintPort of the mesh-api server configuration2001
coordinator.replicasintNumber of replicas for each control plane pod1
coordinator.sealDirstringPath to the directory used for sealing data. Needs to be consistent with the persisten storage setup"/coordinator/data/"
coordinator.simulationstringSGX simulation settings, set to 1 if your not running on an SGX capable cluster"0"
global.coordinatorComponentLabelstringControl plane label. Do not edit"edgeless.systems/control-plane-component"
global.coordinatorNamespaceLabelstringControl plane label. Do not edit"edgeless.systems/control-plane-ns"
global.imageobjectImage configuration for all components{"pullPolicy":"IfNotPresent","version":" v0.5.0","repository":"ghcr.io/edgelesssys"}
global.podAnnotationsobjectAdditional annotations to add to all pods{}
global.podLabelsobjectAdditional labels to add to all pods{}
marbleInjector.CABundlestringSet this to use a custom CABundle for the MutatingWebhook""
marbleInjector.startboolStart the marbleInjector webhookfalse
marbleInjector.replicasintReplicas of the marbleInjector webhook1
nodeSelectorobjectNodeSelector section, See the K8S documentation for more information{"beta.kubernetes.io/os": "linux"}
tolerationsobjectTolerations section, See the K8S documentation for more information{key:"sgx.intel.com/epc",operator:"Exists",effect:"NoSchedule"}
dcapobjectDCAP configuration settings{dcap:{"pccsUrl":"https://localhost:8081/sgx/certification/v3/","useSecureCert:"TRUE"}}

Add new version (maintainers)

cd <marblerun-repo>
helm package charts
mv marblerun-coordinator-x.x.x.tgz <helm-repo>/stable
cd <helm-repo>
helm repo index stable --url https://helm.edgeless.systems/stable

Deploy marblerun-coordinator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has marblerun-coordinator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmarblerun-coordinator is pinned at v0.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply