-
Notifications
You must be signed in to change notification settings - Fork 22
NETOBSERV-1788: manage services case #580
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
Skipping CI for Draft Pull Request. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #580 +/- ##
=======================================
Coverage 56.29% 56.29%
=======================================
Files 190 190
Lines 9289 9289
Branches 1197 1197
=======================================
Hits 5229 5229
Misses 3691 3691
Partials 369 369
Flags with carried forward coverage won't be shown. Click here to find out more.
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=833aedc make set-plugin-image |
@jpinsonneau: This pull request references NETOBSERV-1788 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
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.
Thanks @jpinsonneau , tested and LGTM
This approach looks more correct
any reason to have it as a draft? |
This was just waiting to validate the approach. We need to add |
@jpinsonneau: This pull request references NETOBSERV-1788 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@jpinsonneau: This pull request references NETOBSERV-1788 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
The operator PR linked is incorrect. Here's the correct one: netobserv/network-observability-operator#765 |
@jpinsonneau: This pull request references NETOBSERV-1788 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Sorry about that ! bad copy / paste |
pkg/handler/topology.go
Outdated
q2 := filters.SingleQuery{ | ||
filters.NewMatch(fields.FlowDirection, `"`+string(constants.Egress)+`"`), | ||
filters.NewMatch(fields.DstOwnerName, `""`), | ||
filters.NewMatch(fields.DstOwnerType, `"","Service"`), |
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.
in fact we could use:
filters.NewMatch(fields.DstOwnerType, `"","Service"`), | |
filters.NewMatch(fields.DstType, `"","Service"`), |
.. it works the same, but with the advantage to not have to add another index (it's already indexed)
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.
Here we go
609a606
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=cb28dd5 make set-plugin-image |
/lgtm => Ticket created: https://issues.redhat.com/browse/NETOBSERV-1848 |
/ok-to-test |
/label qe-approved |
@jpinsonneau: This pull request references NETOBSERV-1788 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: 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 |
Description
Currently, Pod to Service traffic is ignored in metrics because of reporter deduplication mecanism.
This PR suggest an approach taking Pod -> Service traffic
It will require
SrcOwnerType
&DstOwnerType
as labelsDependencies
netobserv/network-observability-operator#765
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.