Requirements Overview
Requirements prior to installation
Before beginning the installation, ensure that your current system has the full set of required system resources described on this page.
These requirements are broken down into the following categories:
- Essential system resources
- Suggested requirements for Amazon Web Services
- Suggested requirements for Oracle Cloud Infrastructure
- Other suggested requirements
Essential system resources
A Digital Twin Platform environment will generally require the following system resources:
- Core Networking
- Subnets, routing tables, internet access, etc.
- Load balancing, WAF, etc. for ingress into Kubernetes
- Kubernetes v1.34+
- Network Policy Implementation
- Custom Metrics Collection Implementation (see Autoscaling and metrics)
- Block storage CSI Provider
- Shared file system CSI Provider, providing a
ReadWriteManystorage class (see Shared storage)
- Gateway API v1.5.0+ CRDs (standard channel) and a conformant implementation (see Gateway API below)
- Postgres v14
- MongoDB v6 through v8.0 (v8.1 and later are not supported)
- Redis v7
- Neo4J v4.4
- Kafka v3.7
- ActiveMQ v5.18
- SMTP
- DNS
Shared storage
Two services mount a shared volume that must be readable and writable by several pods at once, so it requires a ReadWriteMany storage class. Block storage (EBS, OCI Block Volume, and most default classes) is ReadWriteOnce only and will not work.
| Service | Claim name | Contents |
|---|---|---|
staticwebsvc | staticwebsvc | Web application assets, written by the dtconsole, dtreference, and dtplugins asset migration jobs |
graphicssvc | graphicssvc | Generated graphics artifacts |
Both are ReadWriteMany because the deployments run multiple replicas and the asset migration jobs write to the same volume concurrently.
By default the chart does not create these claims. It expects them to exist in the release namespace before installation, because the backing volume is cloud-specific. Examples of provisioning them are in the base modules under devops/modules (OCI File Storage for OKE, EFS for EKS).
To have the chart create the claims instead, set persistentVolumeClaims.<service>.create to true and supply a storage class that provisions ReadWriteMany volumes dynamically:
persistentVolumeClaims:
staticwebsvc:
create: true
size: 50Gi
storageClassName: my-rwx-class
graphicssvc:
create: true
size: 50Gi
storageClassName: my-rwx-class
Omit storageClassName to use the cluster default class. Set volumeName instead to bind a PersistentVolume that was created separately. The claim names the deployments mount are configured at deployment.<service>.persistentVolumeClaimName.
If the claims are missing, the affected pods stay in Pending with a FailedScheduling event referring to the unbound claim.
Gateway API
The Platform routes all inbound traffic through the Gateway API using HTTPRoute resources. There are no Ingress resources.
Gateway API is not part of Kubernetes. It is a set of CRDs installed separately and versioned independently of the cluster, so the Kubernetes version alone does not determine whether the Platform will install. A current cluster with no Gateway API CRDs installed has no Gateway API support at all.
CRD version
Gateway API CRDs at v1.5.0 or later are required, from the standard release channel. The experimental channel is not required.
kubectl apply --server-side -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.5.1/standard-install.yaml
To check what is installed:
kubectl get crd httproutes.gateway.networking.k8s.io \
-o jsonpath='{.metadata.annotations.gateway\.networking\.k8s\.io/bundle-version}{"\n"}'
Implementation
The implementation must support two features beyond core Gateway API routing:
ListenerSet, used to contribute per-namespace TLS listeners to the shared gateway.- The
HTTPRouteCORSfilter, used for browser-facing CORS on the web application host.
Both reached the standard channel in Gateway API v1.5.0. Support for them varies by implementation and lags the upstream release, so verify against the Gateway API conformance reports rather than assuming that Gateway API support is sufficient. Roughly half of the conformant implementations do not support ListenerSet.
The reference deployment uses Istio 1.30.2, which is conformant for both. Istio 1.30 or later is recommended.
Autoscaling and metrics
Two of the Platform's autoscalers scale on custom metrics rather than CPU or memory: scriptworker and workflowwkr-backend. These depend on monitoring components that are not part of Kubernetes, and they are two separate requirements.
Custom metrics API
The autoscalers read their metrics through the external.metrics.k8s.io API, which no built-in Kubernetes component provides. An adapter such as prometheus-adapter must be installed and configured with a rule that exposes the metric named in horizontalpodautoscaler.<service>.customMetricName.
Without this, the autoscaler is still created and accepted by the cluster, but never scales. The failure is silent apart from a FailedGetExternalMetric condition on the HorizontalPodAutoscaler. To check that the API is being served:
kubectl get apiservices v1beta1.external.metrics.k8s.io
The autoscalers that scale on CPU or memory (passportsvc, platformiamsvc) need only metrics-server and are unaffected.
ServiceMonitor CRD
The chart can create ServiceMonitor resources so that Prometheus scrapes the metrics the adapter serves. ServiceMonitor is a prometheus-operator CRD (monitoring.coreos.com/v1) and is not part of Kubernetes.
If prometheus-operator is not installed, set serviceMonitor.enabled to false. Leaving it enabled on a cluster without the CRD causes the whole install to fail, not just the monitoring resources.
If you collect metrics another way, or manage your own ServiceMonitor resources, also set serviceMonitor.enabled to false.
When enabled, these settings must match the target Prometheus deployment:
| Key | Description | Default |
|---|---|---|
serviceMonitor.enabled | Create ServiceMonitor resources | true |
serviceMonitor.namespace | Namespace to create them in. Empty uses the release namespace | prometheus |
serviceMonitor.labels | Labels the Prometheus instance uses to discover them | release: kube-prometheus-stack |
serviceMonitor.interval | Scrape interval | 5s |
serviceMonitor.scrapeVia | Scrape target. istio scrapes Istio's merged metrics endpoint (port 15020, exempt from mTLS) and requires an Istio sidecar on the scraped pods. direct scrapes the application port | istio |
The labels value must match the serviceMonitorSelector of the Prometheus resource that should scrape these targets. To find it:
kubectl get prometheus -A -o custom-columns=NAME:.metadata.name,SELECTOR:.spec.serviceMonitorSelector
Note that a non-empty serviceMonitor.namespace means the chart creates resources outside its own release namespace, so the installer needs write access there. Set it to an empty string to keep everything in the release namespace, which requires the Prometheus instance to be configured to discover ServiceMonitors in other namespaces.
Suggested requirements for Amazon Web Services
For a detailed list of requirements, refer to the AWS requirements page.
Suggested requirements for Oracle Cloud Infrastructure
For a detailed list of requirements, refer to the page Oracle requirements page.
Other suggested requirements
It is also recommended to have the following:
- Ingress, Naming, and Certificates: the Platform routes inbound traffic using the Gateway API (
HTTPRouteresources), so a Gateway API implementation such as Istio is required to serve them through a shared gateway and load balancer. Gateway API CRDs at v1.5.0 or later from the standard channel are required, along with an implementation that supports theListenerSetresource and theHTTPRouteCORSfilter; see the Gateway API requirements below. Use external-dns and cert-manager to assign DNS names and issue certificates from Let’s Encrypt or another ACME-based certificate provider. - External Secrets: store all generated secrets in AWS Secrets Manager and pull them into Kubernetes using the External Secrets Operator. This is especially helpful for managing the secrets used by external services referenced by the Digital Twin Platform Helm Chart.
- Service Mesh: for mTLS connections between services inside Kubernetes. The Platform does not provide native TLS between its own services or to other Kubernetes installations (such as neo4j); a service mesh is expected to encrypt that traffic (for example, Istio, Linkerd, or AWS App Mesh Controller).
- Cluster Autoscaling: services are configured to scale horizontally as needed, so a cluster autoscaler should be in place (for example, cluster-autoscaler or AWS Karpenter).