iomete-data-plane-enterprise

by IOMETE Inc.

Helm chartv4.0.3App 4.0.3Verified publisher

IOMETE Data Plane

About this chart

IOMETE Enterprise Data Plane

This Helm chart installs the IOMETE Enterprise Data Plane in Kubernetes. The examples below use data-plane as the Helm release, iomete-system as the release namespace, and spark-resources as an optional Spark namespace.

Set IOMETE_VERSION to the chart version approved for your installation:

export IOMETE_VERSION="<chart-version>"

Before you start

You need:

  • A Kubernetes cluster sized for your IOMETE services and Spark workloads.
  • kubectl and Helm configured for the target cluster.
  • A PostgreSQL database.
  • One of the storage types supported by values.yaml: minio, dell_ecs, aws_s3, gcs, or azure_gen1.
  • Access to iomete.azurecr.io, or credentials for your configured private registry.
  • DNS and TLS prepared for the way users will reach the data plane.

Use the Kubernetes and Helm versions supported by your IOMETE release. Confirm sizing and platform compatibility with the IOMETE documentation before provisioning the cluster.

Prepare the cluster

1. Add the Helm repository

helm repo add iomete https://chartmuseum.iomete.com
helm repo update iomete

2. Create every namespace

The chart does not create namespaces. Create the release namespace and every namespace that you plan to list under namespaces:

kubectl create namespace iomete-system --dry-run=client -o yaml | kubectl apply -f -
kubectl create namespace spark-resources --dry-run=client -o yaml | kubectl apply -f -

3. Create your values file

Start from the values supplied with the selected chart version:

helm show values iomete/iomete-data-plane-enterprise \
  --version "$IOMETE_VERSION" > values.yaml

Review these settings before installation:

SettingWhat to configure
adminUserReplace the default email and temporary password.
databaseConfigure the PostgreSQL endpoint and credentials or credential Secret.
storageSelect a supported backend and configure its bucket and credentials.
namespacesList existing namespaces where Spark workloads may run. Do not repeat the release namespace.
docker.repoSet the registry and repository prefix for IOMETE images.
docker.imagePullSecretsList private-registry Secrets that already exist in every configured namespace.
serviceAccount.annotationsAdd cloud workload identity annotations when pods access object storage without static credentials.
ingress.httpsEnabledKeep enabled when the external endpoint uses HTTPS.
defaultDataPlane.enabledTurn off to install the control plane on its own. Spark jobs then run only on data planes installed separately; the control plane keeps the Spark Connect driver its database explorer reads metadata from.

For example:

namespaces:
  - spark-resources

docker:
  imagePullSecrets:
    - name: iomete-registry

serviceAccount:
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/iomete-lakehouse

The chart attaches docker.imagePullSecrets to lakehouse-service-account, which is used by IOMETE services and Spark pods. It does not copy the Secret, so create iomete-registry in iomete-system, spark-resources, and every other configured namespace.

For GKE workload identity, use iam.gke.io/gcp-service-account instead of the EKS annotation shown above.

With serviceAccount.create: true, the init job runs as its own service account, iomete-data-plane-init, in the release namespace. Helm deletes it once the job succeeds. It gets the same annotations and creates the Spark history folder in object storage, so with workload identity the cloud side must trust it as well as lakehouse-service-account. Otherwise the init job fails with a 403 when it accesses storage:

  • EKS: add system:serviceaccount:iomete-system:iomete-data-plane-init to the IAM role's trust policy.
  • GKE: grant roles/iam.workloadIdentityUser to serviceAccount:<project>.svc.id.goog[iomete-system/iomete-data-plane-init].
  • Azure: add a federated credential for system:serviceaccount:iomete-system:iomete-data-plane-init.

Static storage credentials need no change. If lakehouse-service-account already exists in the release namespace and was created outside Helm, Helm installs run the init job as that account instead, with whatever identity it already has. Argo CD can't see the cluster when it renders the chart, so it always uses iomete-data-plane-init: keep the annotations in serviceAccount.annotations.

Choose who manages privileged resources

All three switches ship off, because creating a service account, RBAC, the Spark Operator CRDs and a cluster-scoped webhook needs permissions not every Helm principal holds. Turn them on wherever yours does: that is the path to prefer, and for the service account and webhook it is the only one where Helm keeps them up to date. CRDs are different: Helm creates them but never updates them, see upgrade the CRDs. Use the restricted path when a cluster administrator has to create them instead.

Helm-managed resources

Set all three:

serviceAccount:
  create: true

crds:
  create: true

webhook:
  create: true

Without serviceAccount.create: true, and without an administrator applying the resources as described below, no pod starts: every workload in this chart runs as lakehouse-service-account.

The Helm principal must be able to read and manage serviceaccounts, roles, and rolebindings in the release namespace and every namespace under namespaces. Kubernetes also requires the principal to hold the permissions granted by iomete-lakehouse-role, or to have escalate permission on Roles.

For the webhook, the principal must be able to read and manage the spark-operator-webhook-certs Secret in the release namespace and the cluster-scoped MutatingWebhookConfiguration. For the CRDs, it must be able to get, list, watch, create and patch cluster-scoped customresourcedefinitions.

crds.create only acts on a release's first install. Helm 3 then creates the CRDs missing from the cluster and skips the ones already there. Helm 4 applies all of them server-side, so the install fails with a conflict when a CRD already on the cluster differs from the chart's, and --force-conflicts overwrites it. On a cluster whose CRDs another release or an administrator manages, leave crds.create off. Turning it on for a release that is already installed creates nothing, so apply them as described under upgrade the CRDs.

Administrator-managed resources

Use this path when a cluster administrator must create the CRDs, RBAC and webhook resources before Helm runs.

First render and apply the service account, Role, and RoleBinding. The command includes every namespace from values.yaml, and keeps only the lakehouse resources: the chart's iomete-data-plane-init account is used only when Helm manages RBAC. The yq step also strips hook annotations that older chart versions put on these resources:

helm template data-plane iomete/iomete-data-plane-enterprise \
  --namespace iomete-system \
  --version "$IOMETE_VERSION" \
  --values values.yaml \
  --set serviceAccount.create=true \
  --show-only templates/lakehouse-runtime/service-account.yaml \
  | yq 'select(.metadata.name == "lakehouse-service-account" or .metadata.name == "iomete-lakehouse-role" or .metadata.name == "iomete-lakehouse-role-binding")
        | del(.metadata.annotations."helm.sh/hook", .metadata.annotations."helm.sh/hook-weight")' \
  > lakehouse-service-account.yaml

kubectl apply -f lakehouse-service-account.yaml

Then the operator CRDs (the Spark Operator's, and the Doris operator's), which the chart ships in its charts/operator-crds/crds/ directory. These are far larger than kubectl's 256KB last-applied-configuration annotation, so this apply has to be server-side:

helm pull iomete/iomete-data-plane-enterprise \
  --version "$IOMETE_VERSION" \
  --untar --untardir "chart-$IOMETE_VERSION"

kubectl apply --server-side -f "chart-$IOMETE_VERSION"/iomete-data-plane-enterprise/charts/operator-crds/crds/

Then render and apply the webhook certificate Secret and webhook configuration together. Argo CD installs must use this step even when Helm manages everything else: set argocd: true and webhook.create: false, because under Argo CD the chart would replace the certificate on every sync. They do not need the other create: false values below unless they also apply those files by hand.

helm template data-plane iomete/iomete-data-plane-enterprise \
  --namespace iomete-system \
  --version "$IOMETE_VERSION" \
  --values values.yaml \
  --set webhook.create=true \
  --set argocd=false \
  --show-only templates/lakehouse-runtime/spark-operator-webhook.yaml \
  > spark-operator-webhook.yaml

kubectl apply -f spark-operator-webhook.yaml

After the administrator applies all three files, record external ownership in values.yaml:

serviceAccount:
  create: false

crds:
  create: false

webhook:
  create: false

These settings also disable the corresponding Helm lookup calls. The restricted Helm principal therefore does not need read access to these service accounts, Roles, RoleBindings, the certificate Secret, or the webhook configuration. It still needs permission to manage the chart's other resources.

Helm does not update externally managed resources. Re-render and apply the RBAC file after changing docker.imagePullSecrets, serviceAccount.annotations, or namespaces, and after upgrading to a chart version whose release notes add permissions. One such case: enabling features.doris.enabled grants the lakehouse agent networkpolicies, which it needs to fence each Doris compute. With an administrator-managed Role that lacks it, Doris computes are refused with "the agent is not permitted to manage NetworkPolicies". After applying the Role, restart the iomete-lakehouse-agent Deployment so it checks again at once; otherwise the next check is up to 6 hours later. Update the webhook selector separately when namespaces changes, and re-apply the CRDs as described under upgrade the CRDs.

Install or upgrade

Run the same command for the first installation and later upgrades:

helm upgrade --install data-plane iomete/iomete-data-plane-enterprise \
  --namespace iomete-system \
  --version "$IOMETE_VERSION" \
  --values values.yaml

With serviceAccount.create: true, Helm creates lakehouse-service-account, iomete-lakehouse-role, and iomete-lakehouse-role-binding in the release namespace and every configured Spark namespace. With crds.create: true, the first install creates the sparkapplications, scheduledsparkapplications and dorisclusters CRDs that are missing from the cluster. With webhook.create: true, it also creates the webhook certificate Secret and spark-operator-iomete-system webhook configuration.

If an object with one of those names already exists but is not owned by this release, the chart leaves it unchanged. Set the corresponding create value to false when those objects are managed outside Helm.

With any of them at false, the administrator must have applied the matching resources before this command runs, and again after every change to docker.imagePullSecrets, serviceAccount.annotations, namespaces, or the chart version. Helm never updates them for you. See administrator-managed resources.

Upgrade the CRDs

helm upgrade never updates or deletes the CRDs, whether Helm created them or not. When the release notes of the chart version you are moving to say its CRDs changed, apply them before running the upgrade:

helm pull iomete/iomete-data-plane-enterprise \
  --version "$IOMETE_VERSION" \
  --untar --untardir "chart-$IOMETE_VERSION"

kubectl apply --server-side --force-conflicts -f "chart-$IOMETE_VERSION"/iomete-data-plane-enterprise/charts/operator-crds/crds/

--force-conflicts takes over the fields Helm set when it created the CRDs. Without it, kubectl refuses the change.

Flux behaves differently. With crds.create: true and server-side apply (its default), helm-controller v1.6 re-applies the chart's CRDs on every upgrade unless the HelmRelease sets upgrade.crds: Skip. Older controllers default differently, so set upgrade.crds explicitly to get the behaviour you want.

Earlier chart versions created the CRDs from templates when crds.create was true. Upgrading from one of them leaves those CRDs in place, because they carry a keep policy, and from then on the CRDs are handled as described above.

Recreate the event stream StatefulSet

The event stream now starts its pods in parallel. Kubernetes does not allow podManagementPolicy to change on an existing StatefulSet, so helm upgrade cannot apply it and fails with Forbidden: updates to statefulset spec for fields other than ... are forbidden.

Delete the StatefulSet without its pods, then upgrade. The pods keep running throughout, and the new StatefulSet adopts them:

kubectl delete statefulset iom-event-stream \
  --namespace iomete-system \
  --cascade=orphan

Volumes are untouched: each pod keeps its own PersistentVolumeClaim, and the claims are retained on both delete and scale-down.

Verify the installation

Check the Helm release and the pre-install job first:

helm status data-plane --namespace iomete-system
kubectl wait --namespace iomete-system \
  --for=condition=complete job/iomete-data-plane-init \
  --timeout=10m
kubectl get pods --namespace iomete-system

The Helm release should report deployed, the init job should complete, and the IOMETE pods should become ready.

Check the service account and RBAC in every namespace used by the installation:

for namespace in iome

Deploy iomete-data-plane-enterprise with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has iomete-data-plane-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 chartiomete-data-plane-enterprise is pinned at v4.0.3 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