Skip to content

Commit

Permalink
Fix Redpanda command (#7045)
Browse files Browse the repository at this point in the history
Mode `dev-container` already configures

* --overprovisioned
* --reserve-memory 0M
* --check=false
* --unsafe-bypass-fsync

Also, set recommended memory
  • Loading branch information
eddumelendez authored May 19, 2023
1 parent be7cbe4 commit be5b4d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void containerIsStarting(InspectContainerResponse containerInfo) {

String command = "#!/bin/bash\n";

command += "/usr/bin/rpk redpanda start --mode dev-container --overprovisioned --smp 1 ";
command += "/usr/bin/rpk redpanda start --mode dev-container --smp 1 --memory 1G ";
command += "--kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092 ";
command +=
"--advertise-kafka-addr PLAINTEXT://127.0.0.1:29092,OUTSIDE://" + getHost() + ":" + getMappedPort(9092);
Expand Down

0 comments on commit be5b4d5

Please sign in to comment.