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

Make sure topic create jobs use broker defaults #324

Merged
merged 1 commit into from
Jul 10, 2020
Merged
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
6 changes: 1 addition & 5 deletions cruise-control/topic-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: topic-create
image: solsson/kafka-cli@sha256:9fa3306e9f5d18283d10e01f7c115d8321eedc682f262aff784bd0126e1f2221
image: solsson/kafka:native-cli@sha256:7a4cc4ef875aea50b8d4dbb525cbac0ef3a5c6e611fcafc2c415ca432ebe5601
command:
- ./bin/kafka-topics.sh
- --zookeeper
Expand All @@ -17,10 +17,6 @@ spec:
- --if-not-exists
- --topic
- __CruiseControlMetrics
- --partitions
- '12'
- --replication-factor
- '3'
resources:
limits:
cpu: 100m
Expand Down
10 changes: 3 additions & 7 deletions events-kube/topic-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: topic-create
image: solsson/kafka:2.1.0@sha256:ac3f06d87d45c7be727863f31e79fbfdcb9c610b51ba9cf03c75a95d602f15e1
image: solsson/kafka:native-cli@sha256:7a4cc4ef875aea50b8d4dbb525cbac0ef3a5c6e611fcafc2c415ca432ebe5601
command:
- ./bin/kafka-topics.sh
- --zookeeper
Expand All @@ -17,12 +17,8 @@ spec:
- --if-not-exists
- --topic
- ops.kube-events.stream.json
- --partitions
- "12"
- --replication-factor
- "2"
resources:
limits:
cpu: 200m
memory: 100Mi
cpu: 100m
memory: 20Mi
restartPolicy: Never
6 changes: 3 additions & 3 deletions kafka/test/kafkacat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
spec:
containers:
- name: topic-create
image: solsson/kafka-cli@sha256:9fa3306e9f5d18283d10e01f7c115d8321eedc682f262aff784bd0126e1f2221
image: solsson/kafka:native-cli@sha256:7a4cc4ef875aea50b8d4dbb525cbac0ef3a5c6e611fcafc2c415ca432ebe5601
command:
- ./bin/kafka-topics.sh
- --zookeeper
Expand All @@ -83,8 +83,8 @@ spec:
- test-kafkacat
resources:
limits:
cpu: 200m
memory: 100Mi
cpu: 100m
memory: 20Mi
restartPolicy: Never
---
apiVersion: apps/v1
Expand Down
10 changes: 3 additions & 7 deletions kafka/test/produce-consume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
spec:
containers:
- name: topic-create
image: solsson/kafka-cli@sha256:9fa3306e9f5d18283d10e01f7c115d8321eedc682f262aff784bd0126e1f2221
image: solsson/kafka:native-cli@sha256:7a4cc4ef875aea50b8d4dbb525cbac0ef3a5c6e611fcafc2c415ca432ebe5601
command:
- ./bin/kafka-topics.sh
- --zookeeper
Expand All @@ -64,14 +64,10 @@ spec:
- --if-not-exists
- --topic
- test-produce-consume
- --partitions
- "3"
- --replication-factor
- "2"
resources:
limits:
cpu: 200m
memory: 100Mi
cpu: 100m
memory: 20Mi
restartPolicy: Never
---
apiVersion: apps/v1
Expand Down