Skip to content

Commit

Permalink
[release-4.15] OCPBUGS-39395: collect some nmstate customresources (#986
Browse files Browse the repository at this point in the history
) (#989) (#995) (#1002)
  • Loading branch information
tremes authored Sep 26, 2024
1 parent f0c44f6 commit 8d75ade
Show file tree
Hide file tree
Showing 19 changed files with 4,221 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/gathered-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,56 @@ None
None


## NodeNetworkConfigurationPolicy

Collects cluster scope "nodenetworkconfigurationpolicy.nmstate.io/v1"
resources

### API Reference
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1/nodenetworkconfigurationpolicy_types.go

### Sample data
- [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)

### Location in archive
- `cluster-scoped-resources/nmstate.io/nodenetworkconfigurationpolicies/{name}.json`

### Config ID
`clusterconfig/nodenetworkconfigurationpolicies`

### Released version
- 4.18.0

### Backported versions

### Changes


## NodeNetworkState

Collects cluster scope "nodenetworkstate.nmstate.io/v1beta1"
resources

### API Reference
- https://github.com/nmstate/kubernetes-nmstate/blob/main/api/v1beta1/nodenetworkstate_types.go

### Sample data
- [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)

### Location in archive
- `cluster-scoped-resources/nmstate.io/nodenetworkstates/{name}.json`

### Config ID
`clusterconfig/nodenetworkstates`

### Released version
- 4.18.0

### Backported versions

### Changes


## Nodes

Collects all node resources.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"apiVersion": "nmstate.io/v1",
"kind": "NodeNetworkConfigurationPolicy",
"metadata": {
"annotations": {
"nmstate.io/webhook-mutating-timestamp": "1724753787619122019"
},
"creationTimestamp": "2024-08-27T10:16:27Z",
"generation": 1,
"name": "policy-name",
"resourceVersion": "140132",
"uid": "d5e205ba-b034-42d1-bd93-a1dde9738aeb"
},
"spec": {
"desiredState": {
"interfaces": [
{
"name": "br0",
"state": "up",
"type": "linux-bridge"
}
]
}
},
"status": {
"conditions": [
{
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
"lastTransitionTime": "2024-08-27T11:52:07Z",
"message": "5/5 nodes successfully configured",
"reason": "SuccessfullyConfigured",
"status": "True",
"type": "Available"
},
{
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
"lastTransitionTime": "2024-08-27T11:52:07Z",
"reason": "SuccessfullyConfigured",
"status": "False",
"type": "Degraded"
},
{
"lastHeartbeatTime": "2024-08-27T11:52:07Z",
"lastTransitionTime": "2024-08-27T11:52:07Z",
"reason": "ConfigurationProgressing",
"status": "False",
"type": "Progressing"
}
],
"lastUnavailableNodeCountUpdate": "2024-08-27T10:16:37Z"
}
}
Loading

0 comments on commit 8d75ade

Please sign in to comment.