I had to modify the default setup script as below, to mask distro as Ubuntu: [1]
Process
#1 Getting things ready
curl -1sLf 'https://dl.redpanda.com/nzc4ZYQK3WRGd9sy/redpanda/cfg/setup/bash.deb.sh' | distro=ubuntu version=20.04 codename=focal sudo -E bash
Finally, try running apt search redpanda
and check if there's the setup. You can gently install with the apt
command now:
#2 Install and tune
sudo apt install redpanda redpanda-console
You can find this as the installation is completed:
Redpanda Console is installed succesfully. To start Console, run the
following:
sudo systemctl start redpanda-console
Setting up redpanda (23.3.1-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/redpanda-tuner.service → /lib/systemd/system/redpanda-tuner.service.
Created symlink /etc/systemd/system/multi-user.target.wants/redpanda.service → /lib/systemd/system/redpanda.service.
redpanda:x:129:138::/var/lib/redpanda:/usr/sbin/nologin
redpanda:x:138:
To get the most out of the fastest queue in the west, enable production mode by
running the following:
sudo rpk redpanda mode production
followed by:
sudo rpk redpanda tune all
sudo systemctl start redpanda
This will autotune your system to give you the best performance from Redpanda.
You can get more information on the tuning parameters here:
https://docs.redpanda.com/docs/introduction/autotune/
I also ran this in sequence (to go to production mode). Find you redpanda console at http://localhost:8080/overview.
Here's how tuning looked like for the first time when I did it:
user@laptop:~$ sudo rpk redpanda tune all
Restarting & Configuring 'irqbalance' with banned IRQs '[123]'
Restarting & Configuring 'irqbalance' with banned IRQs '[140]'
TUNER APPLIED ENABLED SUPPORTED ERROR
aio_events true true true
ballast_file true true true
clocksource true true true
coredump false false true
cpu true true true
disk_irq true true true
disk_nomerges true true true
disk_scheduler true true true
disk_write_cache false true false Disk write cache tuner is only supported in GCP
fstrim false false true
net true true true
swappiness true true true
transparent_hugepages false false true
#3 Enjoy
You can expect this kind of dashboard opening on that URL.
Playing with clusters
sudo rpk container start -n 1
sudo rpk container purge
Top comments (0)