-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Add support for hubble-export-file-max-backups and max-size-mb variables #12072
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
Add support for hubble-export-file-max-backups and max-size-mb variables #12072
Conversation
|
Hi @ErmolenkoMaxim. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
@ant31 Hello, both files modified, please check. |
|
it's expected to be a string ? you must rebase master to for the ci the pass |
49d22bf to
085f714
Compare
|
rebased |
|
@mzaian |
|
/lgtm |
|
You should have the actual default values in the This is turn allow to eschew the |
roles/kubespray-defaults/tasks/main.yaml <--- here? @VannTen |
1091a11 to
73df2da
Compare
a606e0b to
1909c6a
Compare
1909c6a to
bbe8842
Compare
|
Please squash your changes into 1 commit with a descriptive message.
(in particular, not referring to the PR discussion but only to the
changes themselves)
|
- Adds support for `cilium_hubble_export_file_max_backups` and `cilium_hubble_export_file_max_size_mb` - Applies values only if `cilium_hubble_export_file_path` is defined - Default values are set in role defaults - Cleans up template logic by removing unnecessary conditionals
bbe8842 to
6f2c5e3
Compare
|
@VannTen please check. |
92d0a8b to
2fff4e4
Compare
…caused pre-commit errors
rollback
|
/lgtm
/approve
Thanks 👍
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ErmolenkoMaxim, VannTen The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind feature
What this PR does / why we need it:
Adds support for configuring additional Hubble file export parameters in the Cilium ConfigMap via Kubespray inventory:
hubble-export-file-max-backupshubble-export-file-max-size-mbThese variables are useful for controlling the size and rotation of flow logs when using file-based export in Hubble. They were previously not configurable from Kubespray and had to be set manually.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?: