Skip to content

Commit 2b34323

Browse files
committed
added to assembly for preview
1 parent 8fe0331 commit 2b34323

File tree

4 files changed

+52
-50
lines changed

4 files changed

+52
-50
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,8 @@ Topics:
12901290
File: ovn-k-anp
12911291
- Name: About BaselineAdminNetworkPolicy
12921292
File: ovn-k-banp
1293+
- Name: Metrics for AdminNetworkPolicy
1294+
File: ovn-k-anp-banp-metrics
12931295
- Name: Network policy
12941296
Dir: network_policy
12951297
Distros: openshift-enterprise, openshift-origin

modules/nw-anp-banp-metrics.adoc

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * list of assemblies where this module is included:
4+
// networking/network_security/AdminNetworkPolicy/nw-ovn-k-anp-banp-metric.adoc
5+
6+
:_mod-docs-content-type: CONCEPT
7+
[id="anp-banp-metrics_{context}"]
8+
= Metrics for AdminNetworkPolicy
9+
10+
[cols="1,1a,1"]
11+
|===
12+
| Name | Description |Explanation
13+
14+
|`ovnkube_controller_admin_network_policies`
15+
|Not applicable
16+
|The total number of `AdminNetworkPolicy` resources in the cluster.
17+
18+
|`ovnkube_controller_baseline_admin_network_policies`
19+
|Not applicable
20+
|The total number of `BaselineAdminNetworkPolicy` resources in the cluster. The value should be 0 or 1.
21+
22+
|`ovnkube_controller_admin_network_policies_rules`
23+
|* `direction`: specifies either `Ingress` or `Egress`.
24+
* `action`: specifies either `Pass`, `Allow`, or `Deny`.
25+
|The total number of rules across all ANP policies in the cluster grouped by `direction` and `action`.
26+
27+
|`ovnkube_controller_baseline_admin_network_policies_rules`
28+
|* `direction`: specifies either `Ingress` or `Egress`.
29+
* `action`: specifies either `Allow` or `Deny`.
30+
|The total number of rules across all BANP policies in the cluster grouped by `direction` and `action`.
31+
32+
|`ovnkube_controller_admin_network_policies_db_objects`
33+
|`table_name`: specifies either `ACL` or `Address_Set`
34+
|The total number of OVN Northbound database (nbdb) objects that are created by all the ANP in the cluster grouped by the `table_name`.
35+
36+
|`ovnkube_controller_baseline_admin_network_policies_db_objects`
37+
|`table_name`: specifies either `ACL` or `Address_Set`
38+
|The total number of OVN Northbound database (nbdb) objects that are created by all the BANP in the cluster grouped by the `table_name`.
39+
|===
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="ovn-k-anp-banp-metrics"]
3+
= Monitoring ANP and BANP
4+
include::_attributes/common-attributes.adoc[]
5+
:context: ovn-k-anp-banp-metrics
6+
7+
toc::[]
8+
9+
`AdminNetworkPolicy` and `BaselineAdminNetworkPolicy` resources have metrics that can be used for monitoring and managing your policies. See the following table for more details on the metrics.
10+
11+
include::modules/nw-anp-banp-metrics.adoc[leveloffset=+1]

networking/nw-anp-banp-metrics.adoc

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)