marblerun-enterprise

by Edgeless Systems

Helm chartv0.0.1App eval-2Verified 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 edgeless/marblerun --create-namespace  --namespace marblerun
    
  • Otherwise

    helm install marblerun edgeless/marblerun --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 chart and their default values.

ParameterTypeDescriptionDefault
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.imagestringName of the coordinator container image"coordinator"
coordinator.meshServerHoststringHostname of the mesh-api server"0.0.0.0"
coordinator.meshServerPortintPort of the mesh-api server configuration2001
coordinator.pvcNamestringName of a Persistent Volume Claim to use for the Coordinator's state. Leave empty to create a new one using the configured StorageClass
coordinator.replicasintNumber of replicas for each control plane pod1
coordinator.repositorystringName of the container registry to pull the coordinator image from"ghcr.io/edgelesssys/marblerun-enterprise"
coordinator.sealDirstringPath to the directory used for sealing data. Needs to be consistent with the persisten storage setup"/coordinator/data/"
coordinator.simulationboolSGX simulation settings, set to true if your not running on an SGX capable clusterfalse
coordinator.storageClassstringKubernetes StorageClass to use for creating the Coordinator PVC. Leave empty to use the default StorageClass
coordinator.versionstringVersion of the coordinator container image to pull"eval-2"
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.podAnnotationsobjectAdditional annotations to add to all pods{}
global.podLabelsobjectAdditional labels to add to all pods{}
marbleInjector.CABundlestringMutatingWebhook CA bundle. Automatically configured by the MarbleRun CLI. Ignore when using standalone helm chart""
marbleInjector.imagestringName of the marbleInjector container image"coordinator"
marbleInjector.startboolStart the marbleInjector webhookfalse
marbleInjector.replicasintReplicas of the marbleInjector webhook1
marbleInjector.repositorystringName of the container registry to pull the marbleInjector image from"ghcr.io/edgelesssys/marblerun"
marbleInjector.versionstringVersion of the marbleInjector container image to pull"v1.1.0"
marbleInjector.useCertManagerboolSet to use cert-manager for certificate provisioning. Required when using standalone helm chart for installationfalse
marbleInjector.objectSelectorobjectObjectSelector to trigger marble-injector mutation, See the K8S documentation for more information{matchExpressions:[{key:"marblerun/marbletype",operator:"Exists"}]}
marbleInjector.namespaceSelectorobjectNamespaceSelector to trigger marble-injector mutation, See the K8S documentation for more information{}
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"}
dcap.qplstringSGX quote provider library (QPL) to use. Needs to be "intel" if the libsgx-dcap-default-qpl is to be used, otherwise az-dcap-client is used by default"azure"
dcap.pccsUrlstringURL of the PCCS. Only applicable if dcap.qpl=intel"https://localhost:8081/sgx/certification/v3/"
dcap.useSecureCertstringWhether or not the TLS certificate of the PCCS should be verified"TRUE"

Add new version (maintainers)

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

Deploy marblerun-enterprise with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has marblerun-enterprise 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-enterprise is pinned at v0.0.1 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