Skip to content

Commit 14fb7c6

Browse files
committed
OSDOCS#6181: Amend references to k8s.v1.cni.cncf.io/networks-status
The correct annotation is now `k8s.v1.cni.cncf.io/network-status`.
1 parent 5def314 commit 14fb7c6

5 files changed

+6
-6
lines changed

modules/cnf-associating-secondary-interfaces-metrics-to-network-attachments.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The network name label is produced using the annotation added by Multus. It is t
5858

5959
The new metric alone does not provide much value, but combined with the network related `container_network_*` metrics, it offers better support for monitoring secondary networks.
6060

61-
Using a `promql` query like the following ones, it is possible to get a new metric containing the value and the network name retrieved from the `k8s.v1.cni.cncf.io/networks-status` annotation:
61+
Using a `promql` query like the following ones, it is possible to get a new metric containing the value and the network name retrieved from the `k8s.v1.cni.cncf.io/network-status` annotation:
6262

6363
[source,bash]
6464
----

modules/configuring-default-seccomp-profile.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ metadata:
6161
"default": true,
6262
"dns": {}
6363
}]
64-
k8s.v1.cni.cncf.io/networks-status: |-
64+
k8s.v1.cni.cncf.io/network-status: |-
6565
[{
6666
"name": "openshift-sdn",
6767
"interface": "eth0",

modules/getting-started-cli-examining-pod.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Annotations: k8s.v1.cni.cncf.io/network-status:
6363
"default": true,
6464
"dns": {}
6565
}]
66-
k8s.v1.cni.cncf.io/networks-status:
66+
k8s.v1.cni.cncf.io/network-status:
6767
[{
6868
"name": "openshift-sdn",
6969
"interface": "eth0",

modules/nw-multus-add-pod.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ kind: Pod
115115
metadata:
116116
annotations:
117117
k8s.v1.cni.cncf.io/networks: macvlan-bridge
118-
k8s.v1.cni.cncf.io/networks-status: |- <1>
118+
k8s.v1.cni.cncf.io/network-status: |- <1>
119119
[{
120120
"name": "openshift-sdn",
121121
"interface": "eth0",
@@ -140,7 +140,7 @@ spec:
140140
status:
141141
...
142142
----
143-
<1> The `k8s.v1.cni.cncf.io/networks-status` parameter is a JSON array of
143+
<1> The `k8s.v1.cni.cncf.io/network-status` parameter is a JSON array of
144144
objects. Each object describes the status of an additional network attached
145145
to the pod. The annotation value is stored as a plain text value.
146146

modules/nw-multus-advanced-annotations.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ $ oc exec -it <pod_name> -- ip route
9292

9393
[NOTE]
9494
====
95-
You may also reference the pod's `k8s.v1.cni.cncf.io/networks-status` to see which additional network has been
95+
You may also reference the pod's `k8s.v1.cni.cncf.io/network-status` to see which additional network has been
9696
assigned the default route, by the presence of the `default-route` key in the JSON-formatted list of objects.
9797
====
9898

0 commit comments

Comments
 (0)