generating-ovn-topology
Installation
SKILL.md
Quick Start - OVN Topology Generation
IMMEDIATE ACTIONS (follow these steps in order):
-
Detect Cluster: Find the OVN-Kubernetes cluster kubeconfig
Run:
scripts/detect-cluster.sh 2>/dev/nullThe script discovers OVN-Kubernetes clusters:
- Scans all kubeconfig files: current KUBECONFIG env, ~/.kube/kind-config, ~/ovn.conf, ~/.kube/config
- Tests ALL contexts in each kubeconfig (not just current-context)
- Returns parseable list to stdout:
index|kubeconfig|cluster_name|node_count|namespace - Diagnostics go to stderr
- Exit code: 0=success, 1=no clusters found
How to handle the output: