-
Notifications
You must be signed in to change notification settings - Fork 387
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 a per-rule example for NetworkpolicyStats docs #3356
Add a per-rule example for NetworkpolicyStats docs #3356
Conversation
docs/feature-gates.md
Outdated
|
||
# List per-rule statistics for Antrea ClusterNetworkPolicy cluster-access-dns. | ||
# Both Antrea NetworkPolicy and Antrea ClusterNetworkPolicy support per-rule statistics view. | ||
kubectl get antreaclusternetworkpolicystats cluster-access-dns -o json |
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.
kubectl get antreaclusternetworkpolicystats cluster-access-dns -o json | |
> kubectl get antreaclusternetworkpolicystats cluster-access-dns -o json |
for consistency
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.
updated
docs/feature-gates.md
Outdated
@@ -159,6 +159,42 @@ cluster-access-dns 10 120 12210 2020-09-07T13:22:42Z | |||
NAMESPACE NAME SESSIONS PACKETS BYTES CREATED AT | |||
default access-http 3 36 5199 2020-09-07T13:19:38Z | |||
foo bar 1 12 1221 2020-09-07T13:22:42Z | |||
|
|||
# List per-rule statistics for Antrea ClusterNetworkPolicy cluster-access-dns. | |||
# Both Antrea NetworkPolicy and Antrea ClusterNetworkPolicy support per-rule statistics view. |
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.
# Both Antrea NetworkPolicy and Antrea ClusterNetworkPolicy support per-rule statistics view. | |
# Both Antrea NetworkPolicy and Antrea ClusterNetworkPolicy support per-rule statistics. |
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.
updated
Signed-off-by: ceclinux <src655@gmail.com>
1a70637
to
65185ed
Compare
Codecov Report
@@ Coverage Diff @@
## main #3356 +/- ##
===========================================
- Coverage 62.13% 39.82% -22.31%
===========================================
Files 266 305 +39
Lines 26519 38460 +11941
===========================================
- Hits 16477 15317 -1160
- Misses 8222 21601 +13379
+ Partials 1820 1542 -278
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
LGTM
/skip-all |
Signed-off-by: ceclinux <src655@gmail.com>
It seems the per-rule example for feature NetworkpolicyStats is missing.
Signed-off-by: ceclinux src655@gmail.com