marblerun

by Edgeless Systems

Helm chartv1.9.5App v1.9.5Verified 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=true --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.debugLoggingboolEnable debug logging in the coordinatorfalse
coordinator.hostnamestringAdditional DNS-Names or IPs for the coordinator TLS certificate
coordinator.httpErrorLogLevelstringLog level for HTTP error messages (handshake failures, etc.)"error"
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.probesobjectConfiguration for Kubernetes readiness, liveness, and startup probes. See the Kubernetes docs for more information on probes.{"probes":{"readiness":{"failureThreshold":7,"periodSeconds":60,"timeoutSeconds":15},"liveness":{"failureThreshold":3,"periodSeconds":60,"timeoutSeconds":15},"startup":{"failureThreshold":3,"periodSeconds":2,"timeoutSeconds":15}}}
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"
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.simulationModeHashstringDigest of the simulation image""
coordinator.storageClassstringKubernetes StorageClass to use for creating the Coordinator PVC. Leave empty to use the default StorageClass
coordinator.distributedDeploymentboolEnable distributed deployment for the coordinatorfalse
coordinator.storeBackendstringStore backend to use for distributed deployment. Only used if coordinator.distributedDeployment is set to true"k8s-secret"
coordinator.stateSecretNamestringName of the secret to use for storing the coordinator state. Only used if coordinator.distributedDeployment is set to true"marblerun-state"
coordinator.kekConfigMapstringName of the ConfigMap containing the Key Encryption Keys for the k8s-secret store backend. Only used if coordinator.distributedDeployment is set to true"marblerun-sealed-kek"
coordinator.keyAPINamestringName of the Kubernetes service connecting to the Coordinator key exchange API. Only used if coordinator.distributedDeployment is set to true"marblerun-keyapi"
coordinator.versionstringVersion of the coordinator container image to pull"v1.9.5"
coordinator.azureCredentials.clientIDstringClient ID of the Azure Service Principal / Managed Identity to use for Azure Managed HSM integration""
coordinator.azureCredentials.enableWorkloadIdentityboolSet to true to use AKS Workload Identity to provide credentials to the Coordinator for HSM integrationfalse
coordinator.azureCredentials.tenantIDstringTenant ID of the Azure Service Principal to use for HSM integration. Not needed when enableWorkloadIdentity is set to true""
coordinator.azureCredentials.clientSecretstringClient Secret of the Azure Service Principal to use for HSM integration. Not needed when enableWorkloadIdentity is set to true""
coordinator.azureCredentials.secretNamestringName of a pre-existing Kubernetes Secret containing the Azure credentials for HSM integration. If set, clientID, tenantID, clientSecret, and enableWorkloadIdentity may be ignored""
coordinator.azureHSM.keyNamestringName of the HSM key to use for sealing. Only needed if using Azure Managed HSM integration""
coordinator.azureHSM.keyVersionstringOptional version of the HSM key to use for sealing. If not set, the latest key version is used""
coordinator.azureHSM.vaultURLstringURL of HSM""
coordinator.azureHSM.maaURLstringURL of the MAA service to request tokens from. This needs to match the authority set in your HSM key policy""
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.httpErrorLogLevelstringLog level for HTTP error messages (handshake failures, etc.)"error"
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.9.5"
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.qcnlConfigstringInline defined QCNL configuration. If set, this configuration is used instead of the one created from dcap.pccsUrl and dcap.useSecureCert""
dcap.pccsUrlstringURL of the PCCS. Only used if dcap.qcnlConfig is not set"https://global.acccache.azure.net/sgx/certification/v4/"
dcap.useSecureCertboolWhether or not the TLS certificate of the PCCS should be verified. Only used if dcap.qcnlConfig is not settrue

Add new version (maintainers)

cd <marblerun-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 with OpenTenant

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