From 33bac2cb8526e0a87a7739354c7e4adbabb4ffb1 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Mon, 8 Jul 2024 15:00:23 +0200 Subject: [PATCH] current rpk needs more memory + stop listing topics --- kafka/topic-job/kafka-topic-job.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kafka/topic-job/kafka-topic-job.yaml b/kafka/topic-job/kafka-topic-job.yaml index f0e4405..949a22b 100644 --- a/kafka/topic-job/kafka-topic-job.yaml +++ b/kafka/topic-job/kafka-topic-job.yaml @@ -32,7 +32,7 @@ spec: for C in $(echo "$TOPIC_CONFIG" | tr ',' ' '); do echo -n " $FLAG $C"; done echo '' } - until rpk cluster --brokers $KAFKA_BOOTSTRAP info; do sleep 1; done; + until rpk cluster --brokers $KAFKA_BOOTSTRAP info -b -c; do sleep 1; done; if rpk topic --brokers $KAFKA_BOOTSTRAP describe "$TOPIC_NAME"; then rpk topic --brokers $KAFKA_BOOTSTRAP alter-config "$TOPIC_NAME" $(config_args --set) | grep OK else @@ -65,7 +65,7 @@ spec: resources: requests: cpu: 100m - memory: 20Mi + memory: 50Mi limits: cpu: 100m - memory: 20Mi + memory: 50Mi