Measuring the energy and carbon usage of Camunda Workers.
All test ressources are under src/
and tf/
. while the first folder contains the test workers and processes, the latter contains the Terraform files to setup a Camunda 8 cluster based on AWS EKS and deploys the neccessary resources.
Important
There is a bug inside the eks module provided by Camunda which MAY break the destroying of resources, in case that happens, you have to execute terraform apply -destroy
twice
- Make sure you have AWS CLI (and configured), Terraform and Zeebe CLI installed
- Clone Repo
- Setting up the environments
- Running C8 on the locally configured kubernetes cluster i.e. the cluster which is active via the
.kubeconf
file- Use
terraform init
andterraform apply
in thetf/c8
of the project
- Use
- (Optional) If you want to use an AWS EKS cluster configured according to Camunda and setup your
.kubeconf
accordingly- Use
terraform init
andterraform apply
in thetf/eks
of the project and afterwards setup C8
- Use
- Running C8 on the locally configured kubernetes cluster i.e. the cluster which is active via the
- (Camunda 8) When everything is finished you can access the following
- (🗡️ Convenience 🗡️) Execute the script
tf/scripts/forwards.sh
to open all needed port-forwards in the background - Port-forwards needed for local dev:
- (🗡️ Important 🗡️) If you have Camunda Identity and Keycloak enabled you should keep the ports of these open via:
kubectl port-forward -n camunda svc/camunda-platform-keycloak 18080:80
andkubectl port-forward -n camunda svc/camunda-platform-identity 8080:80
afterwards vialocalhost:8083
and credsdemo:demo
- Camunda Operate via:
kubectl port-forward -n camunda svc/camunda-platform-operate 8081:80
and afterwards vialocalhost:8081
and credsdemo:demo
- Camunda Tasklist via:
kubectl port-forward -n camunda svc/camunda-platform-tasklist 8082:80
and afterwards vialocalhost:8082
and credsdemo:demo
- Camunda Zeebee Gateway via:
kubectl port-forward -n camunda svc/camunda-platform-zeebe-gateway 26500:26500
and afterwards vialocalhost:26500
and credsdemo:demo
- The Sample_Process and its worker should already be deployed, therefore you can kick off an instance via
zbctl create instance Fibonacciprocess --insecure
- Alternatively, look at the job resource in the camunda namespace
- Grafana via:
kubectl port-forward -n monitoring svc/kube-prometheus-stack-grafana 9102:80
and afterwards vialocalhost:9102
and credsadmin:prom-operator
- Camunda Optimize via:
kubectl port-forward -n camunda svc/camunda-platform-optimize 8083:80
and afterwards vialocalhost:8083
and credsdemo:demo
- (🗡️ Convenience 🗡️) Execute the script
If you have any questions or ideas feel free to start a discussion.
This open source project is being developed by envite consulting GmbH.