Skip to content
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

rpk: cluster config get doesn't handle aliases #22666

Closed
JFlath opened this issue Jul 31, 2024 · 0 comments · Fixed by #22674
Closed

rpk: cluster config get doesn't handle aliases #22666

JFlath opened this issue Jul 31, 2024 · 0 comments · Fixed by #22674
Labels

Comments

@JFlath
Copy link
Contributor

JFlath commented Jul 31, 2024

Version & Environment

Redpanda version: (use rpk version):

Tested on 24.1.13

What went wrong?

Unable to get certain properties such as data_transforms_per_core_memory_reservation with their aliased names (in this case, wasm_per_core_memory_reservation)

What should have happened instead?

get operations should be able to use the alias.

How to reproduce the issue?

$ rpk cluster config set wasm_per_core_memory_reservation=123456789
Successfully updated configuration. New configuration version is 3.

Cluster needs to be restarted. See more details with 'rpk cluster config status'.

$ rpk cluster config get  wasm_per_core_memory_reservation
Property 'wasm_per_core_memory_reservation' not found

$ rpk cluster config get  data_transforms_per_core_memory_reservation
123456789

Additional information

This is a little difficult, as get CONFIG_NAME in rpk actually gets the whole config and then searches that, so would likely require some Core changes to include the aliases somehow in the result.

JIRA Link: CORE-6757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant