-
Notifications
You must be signed in to change notification settings - Fork 667
rpk: introduce --sandbox flag in rpk redpanda start #5628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
What about |
Exactly!!!! This one too. |
@r-vasquez we May need to change the flag name because kubernetes has a developerMode variable too that means something different. So we should think how this mode would interact with other modes and it may need a different name. |
Where do we warn the user that their data is unsafe in this mode? I think it needs to be very clear and explicit. |
This mode should set (that property is new in 22.2.x & defaults to 7000, but that default value is only for backward compat reasons to avoid breaking any existing systems: when we introduce a new mode it is an opportunity to set a conservative limit). |
Related thought: we should look at producing a separate container image ("redpanda-sandbox" or similar) that defaults to this mode, so that we can then make the regular redpanda image strictly configured for production (and then in the production image we can do things like refusing to run on bad setups). |
@ajfabbri there's this dev mode and I see there's the discussion about full disk handling thresholds:
I think we should account full disk threshold values for dev mode. Any thoughts? |
This makes sense. @r-vasquez we should rename to —sandbox and use this limit too. |
@jcsp is w.r.t
@emaxerrno will rename the flag to |
You can either use the admin API, or on first startup write a |
d80ce72
to
fc5c603
Compare
Update:
Created #5661 to follow up the work to add cluster properties into this bundle (also suggested a couple of properties there) |
A way of bundling commonly used flag for dev purposes. Fixes redpanda-data#5208
fc5c603
to
896b597
Compare
Cover letter
Introduces
--sandbox
flag forrpk redpanda start
command, it will bundle the following flags:--check=false
--node-id 0
--smp 1
--reserve-memory 0M
--overprovisioned
--unsafe-bypass-fsync=true
Fixes #5208
#5997 contains the latest release notes.
Release notes