-
Notifications
You must be signed in to change notification settings - Fork 24
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
NETOBSERV-182 Drop unused fields #141
Conversation
When using IPFIX, it's now possible to avoid storing lots of garbage by turning dropUnusedFields to true (it actually defaults to true)
|
||
//+kubebuilder:default:=true | ||
// Set true to drop fields that are known to be unused by OVS, in order to save storage space. | ||
DropUnusedFields bool `json:"dropUnusedFields,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mariomac I'm adding this field in FLP section as this is where it has an impact, however following the discussion on API review, maybe it makes more sense to have it under "ipfix"? (because it only has effect with ipfix, it would be ignored when agent is ebpf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, when this PR is merged, I'll rebase my branch and incorporate these changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking it twice, I think this field could still be in the FLP section, as:
- It's a configuration for FLP
- Despite it's useless in EBPF, it could still have generic functionality if in the future we use other technologies/agents.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me. Have you found any noticeable impact in the FLP CPU consumption?
@@ -127,6 +128,13 @@ func (b *builder) daemonSet(configDigest string) *appsv1.DaemonSet { | |||
} | |||
} | |||
|
|||
func (b *builder) portProtocol() corev1.Protocol { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
/ok-to-test |
New image: ["quay.io/netobserv/network-observability-operator:64090ca"]. It will expire after two weeks. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jotak 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 |
add animated gif
When using IPFIX, it's now possible to avoid storing lots of garbage by
turning dropUnusedFields to true (it actually defaults to true)
I saw about 30% less space used with this method, uncompressed (it's probably less with compression)