Skip to content

Commit

Permalink
Update RedpandaContainer (#6939)
Browse files Browse the repository at this point in the history
Add `--overprovisioned` and `--smp` flags to the default RedpandaContainer configuration to make it more resilient on systems with Docker having access to lots of resources.
  • Loading branch information
shelajev authored Apr 30, 2023
1 parent 2ea0969 commit ab90c0f
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 ";
command += "/usr/bin/rpk redpanda start --mode dev-container --overprovisioned --smp 1 ";
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 ab90c0f

Please sign in to comment.