Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Latest commit

 

History

History
159 lines (106 loc) · 3.55 KB

File metadata and controls

159 lines (106 loc) · 3.55 KB

Installation Steps

Install resources in Kubernetes

  1. Create Namespace
sh hack/pre-setup-ktwin.sh
  1. Deploy Event Store ScyllaDB instance.
sh hack/setup-scylla-db.sh
  1. Install Knative and Istio dependencies.
sh hack/setup-knative-operator.sh

Note: KTWIN uses Knative node selector features to deploy workloads to specific nodes based on node labels. The node selector feature is disabled by default in KTWIN and it can be enabled by feature flag. You can apply with the following command in knative-serving namespace: kubectl apply -f hack/knative-operator/config-features.yaml

  1. Install Event Brokers.
sh hack/setup-brokers.sh
  1. Install CDRs in Cluster and deploy Operator container.
make install
make deploy IMG=ghcr.io/open-digital-twin/ktwin-operator@sha256:d17285f3e2852023c0dc0d0389615ea96e81ed594d2de8fa480ca178ca2a7b08
  1. Install Event Store and MQTT Dispatcher resources.
kubectl apply -Rf hack/ktwin/resources

Local Development using Kind

  1. Configure your Kubernetes cluster. You can run the platform in Kind in your local computer.
kind create cluster
  1. Load Docker image into cluster.
sh hack/setup-kind.sh
  1. Create Namespace and Pre-Dependencies
sh hack/pre-setup-ktwin.sh
  1. Deploy Event Store ScyllaDB instance.
sh hack/setup-scylla-db.sh
  1. Deploy Event Store ScyllaDB instance.
sh hack/scylla-manual-deploy.sh
  1. Deploy Event Store ScyllaDB instance.
sh hack/scylla-manual-deploy.sh
  1. Install Knative and Istio dependencies.
sh hack/setup-knative-operator.sh

Note: KTWIN uses Knative node selector features to deploy workloads to specific nodes based on node labels. The node selector feature is disabled by default in KTWIN and it can be enabled by feature flag. You can apply with the following command in knative-serving namespace: kubectl apply -f hack/knative-operator/config-features.yaml

  1. Install Event Brokers.
sh hack/setup-brokers.sh
  1. Install CDRs in Cluster and Run the Operator locally.
make install
make run-local
  1. Install Event Store and MQTT Dispatcher resources.
kubectl apply -Rf hack/ktwin/resources

Local Development using Minikube

  1. Configure your Kubernetes cluster. You can run the platform in Minikube in your local computer.
minikube start --driver=docker
  1. Load Docker image into cluster.
sh hack/setup-minikube.sh
  1. Create Namespace and Pre-Dependencies
sh hack/pre-setup-ktwin.sh
  1. Deploy Event Store ScyllaDB instance.
sh hack/scylla-manual-deploy.sh
  1. Install Knative and Istio dependencies.
sh hack/setup-knative-operator.sh

Note: KTWIN uses Knative node selector features to deploy workloads to specific nodes based on node labels. The node selector feature is disabled by default in KTWIN and it can be enabled by feature flag. You can apply with the following command in knative-serving namespace: kubectl apply -f hack/knative-operator/config-features.yaml

  1. Install Event Brokers.
sh hack/setup-brokers.sh
  1. Install CDRs in Cluster and Run the Operator locally.
make install
make run-local
  1. Install Event Store and MQTT Dispatcher resources.
kubectl apply -Rf hack/ktwin/resources