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: Improve tuner output script #16576

Merged
merged 4 commits into from
Feb 16, 2024

Conversation

r-vasquez
Copy link
Contributor

@r-vasquez r-vasquez commented Feb 12, 2024

This PR fixes:

  • Missing new line in output script.
  • Improves the file handling behavior, now it creates a file if the provided string does not exist.

Fixes #16552
Fixes #16064

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

Bug Fixes

  • rpk tune --output-script: Add a missing new line in the ballast file tuner when using the --output-script flag

Improvements

  • rpk tune --output-script: rpk now creates a file for you if the provided file does not exist.

- If the user provides a file and does not
  exists: create it. (new)
- If it exists, write on it. (current behavior)
gene-redpanda
gene-redpanda previously approved these changes Feb 12, 2024
@r-vasquez r-vasquez requested a review from a team as a code owner February 13, 2024 00:09
@r-vasquez r-vasquez requested review from rpdevmp and removed request for a team February 13, 2024 00:09
c4milo
c4milo previously approved these changes Feb 13, 2024
@r-vasquez r-vasquez merged commit 30a1ca3 into redpanda-data:dev Feb 16, 2024
24 checks passed
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

@vbotbuildovich
Copy link
Collaborator

/backport v23.2.x

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