Skip to content
Snippets Groups Projects
Commit 03bf64ff authored by Simon Ehrenstein's avatar Simon Ehrenstein
Browse files

Cleanup

parents f4962c3a 42097e0e
No related branches found
No related tags found
2 merge requests!243Migrate to Strimzi Kafka,!240Draft: Integrate strimzi
Showing
with 26 additions and 40 deletions
...@@ -42,7 +42,7 @@ spec: ...@@ -42,7 +42,7 @@ spec:
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-strimzi-kafka-bootstrap:9092"
topics: topics:
- name: "input" - name: "input"
numPartitions: 40 numPartitions: 40
......
...@@ -24,11 +24,11 @@ dependencies: ...@@ -24,11 +24,11 @@ dependencies:
version: 0.6.0 version: 0.6.0
repository: https://soerenhenning.github.io/cp-helm-charts repository: https://soerenhenning.github.io/cp-helm-charts
condition: cp-helm-charts.enabled condition: cp-helm-charts.enabled
condition: kafka-lag-exporter.enabled
- name: strimzi-kafka-operator - name: strimzi-kafka-operator
version: 0.27.1 version: 0.27.1
repository: https://strimzi.io/charts/ repository: https://strimzi.io/charts/
version: 0.7.0-SNAPSHOT version: 0.7.0-SNAPSHOT
appVersion: 0.7.0-SNAPSHOT appVersion: 0.7.0-SNAPSHOT
...@@ -5,13 +5,8 @@ metadata: ...@@ -5,13 +5,8 @@ metadata:
name: {{ template "theodolite.fullname" . }}-prometheus name: {{ template "theodolite.fullname" . }}-prometheus
spec: spec:
serviceAccountName: {{ template "theodolite.fullname" . }}-prometheus serviceAccountName: {{ template "theodolite.fullname" . }}-prometheus
podMonitorSelector: podMonitorSelector: {}
matchLabels: serviceMonitorSelector: {}
app: theodolite
serviceMonitorSelector:
matchLabels:
#app: cp-kafka
appScope: theodolite
resources: resources:
requests: requests:
memory: 400Mi memory: 400Mi
......
...@@ -43,4 +43,4 @@ spec: ...@@ -43,4 +43,4 @@ spec:
regex: (.*) regex: (.*)
targetLabel: node_ip targetLabel: node_ip
replacement: $1 replacement: $1
action: replace action: replace
\ No newline at end of file
...@@ -38,6 +38,7 @@ rules: ...@@ -38,6 +38,7 @@ rules:
- monitoring.coreos.com - monitoring.coreos.com
resources: resources:
- servicemonitors - servicemonitors
- podmonitors
verbs: verbs:
- update - update
- delete - delete
......
...@@ -64,7 +64,7 @@ cp-helm-charts: ...@@ -64,7 +64,7 @@ cp-helm-charts:
## Zookeeper ## Zookeeper
## ------------------------------------------------------ ## ------------------------------------------------------
cp-zookeeper: cp-zookeeper:
enabled: true enabled: false
nodeSelector: {} nodeSelector: {}
servers: 3 servers: 3
image: confluentinc/cp-zookeeper image: confluentinc/cp-zookeeper
...@@ -81,7 +81,7 @@ cp-helm-charts: ...@@ -81,7 +81,7 @@ cp-helm-charts:
## Kafka ## Kafka
## ------------------------------------------------------ ## ------------------------------------------------------
cp-kafka: cp-kafka:
enabled: true enabled: false
nodeSelector: {} nodeSelector: {}
brokers: 3 brokers: 3
image: confluentinc/cp-enterprise-kafka image: confluentinc/cp-enterprise-kafka
...@@ -137,6 +137,10 @@ cp-helm-charts: ...@@ -137,6 +137,10 @@ cp-helm-charts:
nodePort: 30099 nodePort: 30099
annotations: {} annotations: {}
kafka:
bootstrapServers: theodolite-strimzi-kafka-bootstrap:9092
cp-kafka-rest: cp-kafka-rest:
enabled: false enabled: false
...@@ -149,20 +153,6 @@ cp-helm-charts: ...@@ -149,20 +153,6 @@ cp-helm-charts:
cp-control-center: cp-control-center:
enabled: false enabled: false
###
# Kafka Lag Exporter
###
kafka-lag-exporter:
enabled: false
image:
pullPolicy: IfNotPresent
nodeSelector: {}
clusters:
- name: "theodolite-cp-kafka"
bootstrapBrokers: "theodolite-cp-kafka:9092"
## The interval between refreshing metrics ## The interval between refreshing metrics
pollIntervalSeconds: 15 pollIntervalSeconds: 15
......
...@@ -20,7 +20,7 @@ spec: ...@@ -20,7 +20,7 @@ spec:
image: ghcr.io/cau-se/theodolite-uc1-flink:latest image: ghcr.io/cau-se/theodolite-uc1-flink:latest
env: env:
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS - name: COMMIT_INTERVAL_MS
......
...@@ -20,7 +20,7 @@ spec: ...@@ -20,7 +20,7 @@ spec:
image: ghcr.io/cau-se/theodolite-uc1-flink:latest image: ghcr.io/cau-se/theodolite-uc1-flink:latest
env: env:
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS - name: COMMIT_INTERVAL_MS
......
...@@ -50,7 +50,7 @@ spec: ...@@ -50,7 +50,7 @@ spec:
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-strimzi-kafka-bootstrap:9092"
topics: topics:
- name: "input" - name: "input"
numPartitions: 40 numPartitions: 40
......
...@@ -21,7 +21,7 @@ spec: ...@@ -21,7 +21,7 @@ spec:
name: jmx name: jmx
env: env:
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
- name: JAVA_OPTS - name: JAVA_OPTS
......
...@@ -37,7 +37,7 @@ spec: ...@@ -37,7 +37,7 @@ spec:
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-strimzi-kafka-bootstrap:9092"
topics: topics:
- name: "input" - name: "input"
numPartitions: 40 numPartitions: 40
......
...@@ -32,7 +32,7 @@ loadTypes: ...@@ -32,7 +32,7 @@ loadTypes:
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-strimzi-kafka-bootstrap:9092"
topics: topics:
- name: "input" - name: "input"
numPartitions: 40 numPartitions: 40
......
...@@ -27,6 +27,6 @@ spec: ...@@ -27,6 +27,6 @@ spec:
- name: KUBERNETES_DNS_NAME - name: KUBERNETES_DNS_NAME
value: "titan-ccp-load-generator.$(KUBERNETES_NAMESPACE).svc.cluster.local" value: "titan-ccp-load-generator.$(KUBERNETES_NAMESPACE).svc.cluster.local"
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
...@@ -20,7 +20,7 @@ spec: ...@@ -20,7 +20,7 @@ spec:
image: ghcr.io/cau-se/theodolite-uc2-flink:latest image: ghcr.io/cau-se/theodolite-uc2-flink:latest
env: env:
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS - name: COMMIT_INTERVAL_MS
......
...@@ -20,7 +20,7 @@ spec: ...@@ -20,7 +20,7 @@ spec:
image: ghcr.io/cau-se/theodolite-uc2-flink:latest image: ghcr.io/cau-se/theodolite-uc2-flink:latest
env: env:
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
- name: COMMIT_INTERVAL_MS - name: COMMIT_INTERVAL_MS
......
...@@ -50,7 +50,7 @@ spec: ...@@ -50,7 +50,7 @@ spec:
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-strimzi-kafka-bootstrap:9092"
topics: topics:
- name: "input" - name: "input"
numPartitions: 40 numPartitions: 40
......
...@@ -21,7 +21,7 @@ spec: ...@@ -21,7 +21,7 @@ spec:
name: jmx name: jmx
env: env:
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
- name: JAVA_OPTS - name: JAVA_OPTS
......
...@@ -37,7 +37,7 @@ spec: ...@@ -37,7 +37,7 @@ spec:
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-strimzi-kafka-bootstrap:9092"
topics: topics:
- name: "input" - name: "input"
numPartitions: 40 numPartitions: 40
......
...@@ -33,7 +33,7 @@ loadTypes: ...@@ -33,7 +33,7 @@ loadTypes:
properties: properties:
loadGenMaxRecords: "150000" loadGenMaxRecords: "150000"
kafkaConfig: kafkaConfig:
bootstrapServer: "theodolite-cp-kafka:9092" bootstrapServer: "theodolite-strimzi-kafka-bootstrap:9092"
topics: topics:
- name: "input" - name: "input"
numPartitions: 40 numPartitions: 40
......
...@@ -27,6 +27,6 @@ spec: ...@@ -27,6 +27,6 @@ spec:
- name: KUBERNETES_DNS_NAME - name: KUBERNETES_DNS_NAME
value: "titan-ccp-load-generator.$(KUBERNETES_NAMESPACE).svc.cluster.local" value: "titan-ccp-load-generator.$(KUBERNETES_NAMESPACE).svc.cluster.local"
- name: KAFKA_BOOTSTRAP_SERVERS - name: KAFKA_BOOTSTRAP_SERVERS
value: "theodolite-cp-kafka:9092" value: "theodolite-strimzi-kafka-bootstrap:9092"
- name: SCHEMA_REGISTRY_URL - name: SCHEMA_REGISTRY_URL
value: "http://theodolite-cp-schema-registry:8081" value: "http://theodolite-cp-schema-registry:8081"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment