Skip to content

Commit ea18955

Browse files
committed
[release-4.15] OCPBUGS-39395: collect some nmstate customresources (openshift#986) (openshift#989) (openshift#995)
1 parent f0c44f6 commit ea18955

19 files changed

+4221
-0
lines changed

docs/gathered-data.md

+50
Original file line numberDiff line numberDiff line change
@@ -1392,6 +1392,56 @@ None
13921392
None
13931393

13941394

1395+
## NodeNetworkConfigurationPolicy
1396+
1397+
Collects cluster scope "nodenetworkconfigurationpolicy.nmstate.io/v1"
1398+
resources
1399+
1400+
### API Reference
1401+
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1/nodenetworkconfigurationpolicy_types.go
1402+
1403+
### Sample data
1404+
- [docs/insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/etcd-quorum-guard.json](./insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/etcd-quorum-guard.json)
1405+
1406+
### Location in archive
1407+
- `cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/{name}.json`
1408+
1409+
### Config ID
1410+
`clusterconfig/nodenetworkconfigurationpolicies`
1411+
1412+
### Released version
1413+
- 4.18.0
1414+
1415+
### Backported versions
1416+
1417+
### Changes
1418+
1419+
1420+
## NodeNetworkState
1421+
1422+
Collects cluster scope "nodenetworkstate.nmstate.io/v1beta1"
1423+
resources
1424+
1425+
### API Reference
1426+
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1beta1/nodenetworkstate_types.go
1427+
1428+
### Sample data
1429+
- [docs/insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkstates/etcd-quorum-guard.json](./insights-archive-sample/cluster-scoped-resources/nmstate.io/nodenetworkstates/etcd-quorum-guard.json)
1430+
1431+
### Location in archive
1432+
- `cluster-scoped-resources/nmstate.io/nodenetworkstates/{name}.json`
1433+
1434+
### Config ID
1435+
`clusterconfig/nodenetworkstates`
1436+
1437+
### Released version
1438+
- 4.18.0
1439+
1440+
### Backported versions
1441+
1442+
### Changes
1443+
1444+
13951445
## Nodes
13961446

13971447
Collects all node resources.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"apiVersion": "nmstate.io/v1",
3+
"kind": "NodeNetworkConfigurationPolicy",
4+
"metadata": {
5+
"annotations": {
6+
"nmstate.io/webhook-mutating-timestamp": "1724753787619122019"
7+
},
8+
"creationTimestamp": "2024-08-27T10:16:27Z",
9+
"generation": 1,
10+
"name": "policy-name",
11+
"resourceVersion": "140132",
12+
"uid": "d5e205ba-b034-42d1-bd93-a1dde9738aeb"
13+
},
14+
"spec": {
15+
"desiredState": {
16+
"interfaces": [
17+
{
18+
"name": "br0",
19+
"state": "up",
20+
"type": "linux-bridge"
21+
}
22+
]
23+
}
24+
},
25+
"status": {
26+
"conditions": [
27+
{
28+
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
29+
"lastTransitionTime": "2024-08-27T11:52:07Z",
30+
"message": "5/5 nodes successfully configured",
31+
"reason": "SuccessfullyConfigured",
32+
"status": "True",
33+
"type": "Available"
34+
},
35+
{
36+
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
37+
"lastTransitionTime": "2024-08-27T11:52:07Z",
38+
"reason": "SuccessfullyConfigured",
39+
"status": "False",
40+
"type": "Degraded"
41+
},
42+
{
43+
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
44+
"lastTransitionTime": "2024-08-27T11:52:07Z",
45+
"reason": "ConfigurationProgressing",
46+
"status": "False",
47+
"type": "Progressing"
48+
}
49+
],
50+
"lastUnavailableNodeCountUpdate": "2024-08-27T10:16:37Z"
51+
}
52+
}

0 commit comments

Comments
 (0)