Skip to content

Commit

Permalink
current rpk needs more memory + stop listing topics
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Jul 8, 2024
1 parent 8c44dd5 commit 33bac2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kafka/topic-job/kafka-topic-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -65,7 +65,7 @@ spec:
resources:
requests:
cpu: 100m
memory: 20Mi
memory: 50Mi
limits:
cpu: 100m
memory: 20Mi
memory: 50Mi

0 comments on commit 33bac2c

Please sign in to comment.