Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase ES disk size, Fix tests and fetch correct Camunda version #213

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sources:
dependencies:
- name: camunda-platform
repository: "oci://ghcr.io/camunda/helm"
version: "0.0.0-12.0.0-alpha1"
version: "0.0.0-8.7.0-alpha1"
condition: "camunda.enabled"
- name: prometheus-elasticsearch-exporter
repository: "https://prometheus-community.github.io/helm-charts"
Expand Down
4 changes: 2 additions & 2 deletions charts/zeebe-benchmark/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ sources:
dependencies:
- name: camunda-platform
repository: "oci://ghcr.io/camunda/helm"
version: "0.0.0-12.0.0-alpha1"
version: "0.0.0-8.7.0-alpha1"
condition: "camunda.enabled"
- name: prometheus-elasticsearch-exporter
repository: "https://prometheus-community.github.io/helm-charts"
version: 6.4.0
condition: "prometheus-elasticsearch-exporter.enabled"
maintainers:
- name: Zelldon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

- name: ChrisKujawa
email: [email protected]
annotations:
artifacthub.io/links: |
Expand Down
192 changes: 192 additions & 0 deletions charts/zeebe-benchmark/test/golden/c8-core-configmap.golden.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
---
# Source: zeebe-benchmark/charts/camunda-platform/templates/core/configmap.yaml
kind: ConfigMap
metadata:
name: benchmark-test-core-configuration
labels:
app: camunda-platform
app.kubernetes.io/name: camunda-platform
app.kubernetes.io/instance: benchmark-test
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: camunda-platform
app.kubernetes.io/component: core
app.kubernetes.io/version: "8.7.0-alpha1"
apiVersion: v1
data:
startup.sh: |
# The Node ID depends on the Pod name so it cannot be templated in the StatefulSet level.
export ZEEBE_BROKER_CLUSTER_NODEID="${ZEEBE_BROKER_CLUSTER_NODEID:-$[${K8S_NAME##*-} * 1 + 0]}"
echo "export ZEEBE_BROKER_CLUSTER_NODEID=${ZEEBE_BROKER_CLUSTER_NODEID}" >> ~/.bashrc

exec /usr/local/camunda/bin/camunda
application.yaml: |

spring:
profiles:
active: auth

management:
server:
port: 9600

server:
forward-headers-strategy: framework
address: 0.0.0.0
port: 8080

zeebe:
host: 0.0.0.0
log:
level: "info"

broker:
# zeebe.broker.experimental
experimental:
engine:
authorization:
enableAuthorization: true

# zeebe.broker.gateway
gateway:
enable: true
network:
host: 0.0.0.0
port: 26500

# zeebe.broker.network
network:
advertisedHost: "${K8S_NAME}.${K8S_SERVICE_NAME}"
host: 0.0.0.0
commandApi:
port: 26501
internalApi:
port: 26502

# zeebe.broker.cluster
cluster:
initialContactPoints:
- ${K8S_SERVICE_NAME}-0.${K8S_SERVICE_NAME}:26502
- ${K8S_SERVICE_NAME}-1.${K8S_SERVICE_NAME}:26502
- ${K8S_SERVICE_NAME}-2.${K8S_SERVICE_NAME}:26502
clusterSize: "3"
replicationFactor: "3"
partitionsCount: "3"
clusterName: benchmark-test-zeebe

# zeebe.broker.data
data:
snapshotPeriod: 5m
freeSpace:
processing: 2GB
replication: 3GB

# zeebe.broker.threads
threads:
cpuThreadCount: "3"
ioThreadCount: "3"

# zeebe.broker.exporters
exporters:
elasticsearch:
className: "io.camunda.zeebe.exporter.ElasticsearchExporter"
args:
url: "http://benchmark-test-elasticsearch:9200"
index:
prefix: "zeebe-record"
CamundaExporter:
className: "io.camunda.exporter.CamundaExporter"
args:
connect:
type: elasticsearch
url: "http://benchmark-test-elasticsearch:9200"
createSchema: true

camunda:
rest:
query:
enabled: true

#
# Camunda Database Configuration.
#
database:
type: elasticsearch
# Cluster name
clusterName: elasticsearch
# Elasticsearch full url
url: "http://benchmark-test-elasticsearch:9200"

#
# Camunda Operate Configuration.
#
operate:

# ELS instance to store Operate data
elasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: benchmark-test-elasticsearch
# Transport port
port: 9200
# Elasticsearch full url
url: "http://benchmark-test-elasticsearch:9200"
# ELS instance to export Zeebe data to
zeebeElasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: benchmark-test-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
prefix: zeebe-record
# Elasticsearch full url
url: "http://benchmark-test-elasticsearch:9200"
# Zeebe instance
zeebe:
# Gateway address
gatewayAddress: "benchmark-test-core:26500"

#
# Camunda Tasklist Configuration.
#
tasklist:

identity:
redirectRootUrl: "http://localhost:8082/tasklist"

# Set Tasklist username and password.
# If user with <username> does not exists it will be created.
# Default: demo/demo
#username:
#password:
# ELS instance to store Tasklist data
elasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: benchmark-test-elasticsearch
# Transport port
port: 9200
# Elasticsearch full url
url: "http://benchmark-test-elasticsearch:9200"
# ELS instance to export Zeebe data to
zeebeElasticsearch:
# Cluster name
clusterName: elasticsearch
# Host
host: benchmark-test-elasticsearch
# Transport port
port: 9200
# Index prefix, configured in Zeebe Elasticsearch exporter
prefix: zeebe-record
# Elasticsearch full url
url: "http://benchmark-test-elasticsearch:9200"
# Zeebe instance
zeebe:
# Gateway address
gatewayAddress: benchmark-test-core:26500
restAddress: "http://benchmark-test-core:8080"

log4j2.xml: |
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
# Source: zeebe-benchmark/charts/camunda-platform/templates/service-monitor/zeebe-service-monitor.yaml
# Source: zeebe-benchmark/charts/camunda-platform/templates/service-monitor/core-service-monitor.yaml
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: benchmark-test-camunda-platform-zeebe
name: benchmark-test-camunda-platform-core
labels:
app: camunda-platform
app.kubernetes.io/name: camunda-platform
Expand All @@ -15,7 +15,7 @@ spec:
selector:
matchLabels:
app: camunda-platform
app.kubernetes.io/component: zeebe-broker
app.kubernetes.io/component: core
endpoints:
- honorLabels: true
path: /actuator/prometheus
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
---
# Source: zeebe-benchmark/charts/camunda-platform/templates/zeebe/service.yaml
# Source: zeebe-benchmark/charts/camunda-platform/templates/core/service.yaml
apiVersion: v1
kind: Service
metadata:
name: "benchmark-test-zeebe"
name: benchmark-test-core
labels:
app: camunda-platform
app.kubernetes.io/name: camunda-platform
app.kubernetes.io/instance: benchmark-test
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: camunda-platform
app.kubernetes.io/component: zeebe-broker
app.kubernetes.io/version: "SNAPSHOT"
app.kubernetes.io/component: core
app.kubernetes.io/version: "8.7.0-alpha1"
annotations:
spec:
clusterIP: None
publishNotReadyAddresses: true
type: ClusterIP
ports:
- port: 9600
- port: 8080
protocol: TCP
name: http
- port: 26502
Expand All @@ -27,10 +27,16 @@ spec:
- port: 26501
protocol: TCP
name: command
- port: 9600
protocol: TCP
name: server
- port: 26500
protocol: TCP
name: gateway
selector:
app: camunda-platform
app.kubernetes.io/name: camunda-platform
app.kubernetes.io/instance: benchmark-test
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: camunda-platform
app.kubernetes.io/component: zeebe-broker
app.kubernetes.io/component: core
Loading