Getting Started
All you need to get started is access to a Kubernetes cluster plus kubectl and Helm installed on your machine.
-
To install Theodolite with all its dependencies run:
helm repo add theodolite https://www.theodolite.rocks helm repo update helm install theodolite theodolite/theodolite -f https://raw.githubusercontent.com/cau-se/theodolite/main/helm/preconfigs/minimal.yamlAfter installation, it may take some time until all components are ready. You can check the status of the installation by running:
kubectl get podsIn particular, the Kafka Schema Registry may restart a couple of times.
-
Get the Theodolite examples from the Theodolite repository and
cdinto its example directory:git clone https://github.com/cau-se/theodolite.git cd theodolite/theodolite/examples/operator/ -
Deploy the example Benchmark and package its associated Kubernetes resources in a ConfigMap:
kubectl apply -f example-benchmark.yaml kubectl apply -f example-configmap.yaml -
Verify that the Benchmark has been deployed successfully:
kubectl get benchmarksThe output is similar to this:
NAME AGE STATUS example-benchmark 81s Ready -
Run the Benchmark by deploying an Execution:
kubectl apply -f example-execution.yaml -
Verify that the Executions is running:
kubectl get executionsThe output is similar to this:
NAME STATUS DURATION AGE theodolite-example-execution Running 13s 14sTheodolite provides additional information on the current status of an Execution by producing Kubernetes events. To see them:
kubectl describe execution theodolite-example-execution