marblerun
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.
| Parameter | Type | Description | Default |
|---|---|---|---|
coordinator.clientServerHost | string | Hostname of the client-api server | "0.0.0.0" |
coordinator.clientServerPort | int | Port of the client-api server configuration | 4433 |
coordinator.debugLogging | bool | Enable debug logging in the coordinator | false |
coordinator.hostname | string | Additional DNS-Names or IPs for the coordinator TLS certificate | |
coordinator.httpErrorLogLevel | string | Log level for HTTP error messages (handshake failures, etc.) | "error" |
coordinator.image | string | Name of the coordinator container image | "coordinator" |
coordinator.meshServerHost | string | Hostname of the mesh-api server | "0.0.0.0" |
coordinator.meshServerPort | int | Port of the mesh-api server configuration | 2001 |
coordinator.pvcName | string | Name of a Persistent Volume Claim to use for the Coordinator's state. Leave empty to create a new one using the configured StorageClass | |
coordinator.probes | object | Configuration 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.replicas | int | Number of replicas for each control plane pod | 1 |
coordinator.repository | string | Name of the container registry to pull the coordinator image from | "ghcr.io/edgelesssys/marblerun" |
coordinator.sealDir | string | Path to the directory used for sealing data. Needs to be consistent with the persisten storage setup | "/coordinator/data/" |
coordinator.simulation | bool | SGX simulation settings, set to true if your not running on an SGX capable cluster | false |
coordinator.simulationModeHash | string | Digest of the simulation image | "" |
coordinator.storageClass | string | Kubernetes StorageClass to use for creating the Coordinator PVC. Leave empty to use the default StorageClass | |
coordinator.distributedDeployment | bool | Enable distributed deployment for the coordinator | false |
coordinator.storeBackend | string | Store backend to use for distributed deployment. Only used if coordinator.distributedDeployment is set to true | "k8s-secret" |
coordinator.stateSecretName | string | Name of the secret to use for storing the coordinator state. Only used if coordinator.distributedDeployment is set to true | "marblerun-state" |
coordinator.kekConfigMap | string | Name 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.keyAPIName | string | Name of the Kubernetes service connecting to the Coordinator key exchange API. Only used if coordinator.distributedDeployment is set to true | "marblerun-keyapi" |
coordinator.version | string | Version of the coordinator container image to pull | "v1.9.5" |
coordinator.azureCredentials.clientID | string | Client ID of the Azure Service Principal / Managed Identity to use for Azure Managed HSM integration | "" |
coordinator.azureCredentials.enableWorkloadIdentity | bool | Set to true to use AKS Workload Identity to provide credentials to the Coordinator for HSM integration | false |
coordinator.azureCredentials.tenantID | string | Tenant ID of the Azure Service Principal to use for HSM integration. Not needed when enableWorkloadIdentity is set to true | "" |
coordinator.azureCredentials.clientSecret | string | Client Secret of the Azure Service Principal to use for HSM integration. Not needed when enableWorkloadIdentity is set to true | "" |
coordinator.azureCredentials.secretName | string | Name 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.keyName | string | Name of the HSM key to use for sealing. Only needed if using Azure Managed HSM integration | "" |
coordinator.azureHSM.keyVersion | string | Optional version of the HSM key to use for sealing. If not set, the latest key version is used | "" |
coordinator.azureHSM.vaultURL | string | URL of HSM | "" |
coordinator.azureHSM.maaURL | string | URL of the MAA service to request tokens from. This needs to match the authority set in your HSM key policy | "" |
global.coordinatorComponentLabel | string | Control plane label. Do not edit | "edgeless.systems/control-plane-component" |
global.coordinatorNamespaceLabel | string | Control plane label. Do not edit | "edgeless.systems/control-plane-ns" |
global.podAnnotations | object | Additional annotations to add to all pods | {} |
global.podLabels | object | Additional labels to add to all pods | {} |
marbleInjector.CABundle | string | MutatingWebhook CA bundle. Automatically configured by the MarbleRun CLI. Ignore when using standalone helm chart | "" |
marbleInjector.httpErrorLogLevel | string | Log level for HTTP error messages (handshake failures, etc.) | "error" |
marbleInjector.image | string | Name of the marbleInjector container image | "coordinator" |
marbleInjector.start | bool | Start the marbleInjector webhook | false |
marbleInjector.replicas | int | Replicas of the marbleInjector webhook | 1 |
marbleInjector.repository | string | Name of the container registry to pull the marbleInjector image from | "ghcr.io/edgelesssys/marblerun" |
marbleInjector.version | string | Version of the marbleInjector container image to pull | "v1.9.5" |
marbleInjector.useCertManager | bool | Set to use cert-manager for certificate provisioning. Required when using standalone helm chart for installation | false |
marbleInjector.objectSelector | object | ObjectSelector to trigger marble-injector mutation, See the K8S documentation for more information | {matchExpressions:[{key:"marblerun/marbletype",operator:"Exists"}]} |
marbleInjector.namespaceSelector | object | NamespaceSelector to trigger marble-injector mutation, See the K8S documentation for more information | {} |
nodeSelector | object | NodeSelector section, See the K8S documentation for more information | {"beta.kubernetes.io/os": "linux"} |
tolerations | object | Tolerations section, See the K8S documentation for more information | {key:"sgx.intel.com/epc",operator:"Exists",effect:"NoSchedule"} |
dcap.qcnlConfig | string | Inline defined QCNL configuration. If set, this configuration is used instead of the one created from dcap.pccsUrl and dcap.useSecureCert | "" |
dcap.pccsUrl | string | URL of the PCCS. Only used if dcap.qcnlConfig is not set | "https://global.acccache.azure.net/sgx/certification/v4/" |
dcap.useSecureCert | bool | Whether or not the TLS certificate of the PCCS should be verified. Only used if dcap.qcnlConfig is not set | true |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmarblerun is pinned at v1.9.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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