Skip to content

Commit c3a1521

Browse files
committed
network: Gather OVN-Kubernetes UDN CRs
The ClusterUserDefinedNetwork (CUDN) is cluster-scoped, installed by cluster-network-operator [1]. Creating CUDN CR result with a NetworkAttachmentDefinition (NAD) CR being created according to the CUDN CR 'spec.network', in each selected namespaces according to the CUDN CR 'spec.namespaceSelector'. Collect CUDN CRs. Having CUDN CRs collected enable troubleshooting OVN-Kubernetes user-defined networks in case of miss-configurations or env issues. The [1] https://github.com/openshift/cluster-network-operator Signed-off-by: Or Mergi <[email protected]>
1 parent 33763a3 commit c3a1521

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

collection-scripts/gather_network_logs_basics

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ gather_scale_data
141141

142142
if [[ "${NETWORK_TYPE}" == "ovnkubernetes" ]]; then
143143
oc adm inspect ${log_collection_args} --dest-dir must-gather egressips.k8s.ovn.org
144+
oc adm inspect ${log_collection_args} --dest-dir must-gather clusteruserdefinednetworks.k8s.ovn.org
144145
oc adm inspect ${log_collection_args} --dest-dir must-gather adminnetworkpolicies.policy.networking.k8s.io
145146
oc adm inspect ${log_collection_args} --dest-dir must-gather baselineadminnetworkpolicies.policy.networking.k8s.io
146147
gather_ovn_kubernetes_data

0 commit comments

Comments
 (0)