Skip to content
Closed
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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ undeploy-flink:

deploy-kafka: deploy deploy-flink
kubectl create namespace kafka || echo "skipping"
kubectl apply -f "https://strimzi.io/install/latest?namespace=kafka" -n kafka
curl -sL "https://github.com/strimzi/strimzi-kafka-operator/releases/download/1.0.0/strimzi-cluster-operator-1.0.0.yaml" | sed 's/namespace: myproject/namespace: kafka/g' | kubectl apply -f - -n kafka
sleep 10 # avoid kubectl race condition
kubectl wait --for=condition=Established=True crds/kafkas.kafka.strimzi.io
kubectl apply -f ./deploy/samples/kafkadb.yaml
Expand All @@ -89,7 +89,7 @@ undeploy-kafka:
kubectl delete kafkatopic.kafka.strimzi.io --all || echo "skipping"
kubectl delete strimzi -n kafka --all || echo "skipping"
kubectl delete pvc -l strimzi.io/name=one-kafka -n kafka || echo "skipping"
kubectl delete -f "https://strimzi.io/install/latest?namespace=kafka" -n kafka || echo "skipping"
curl -sL "https://github.com/strimzi/strimzi-kafka-operator/releases/download/1.0.0/strimzi-cluster-operator-1.0.0.yaml" | sed 's/namespace: myproject/namespace: kafka/g' | kubectl delete -f - -n kafka || echo "skipping"
kubectl delete -f ./deploy/samples/kafkadb.yaml || echo "skipping"
kubectl delete namespace kafka || echo "skipping"

Expand Down
5 changes: 1 addition & 4 deletions deploy/dev/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,10 @@ kind: Kafka
metadata:
name: one
namespace: kafka
annotations:
strimzi.io/node-pools: enabled
strimzi.io/kraft: enabled
spec:
kafka:
version: 4.2.0
metadataVersion: "4.0"
metadataVersion: 4.2-IV1
listeners:
- name: plain
port: 9094
Expand Down
Loading