clusterctl move
我们在(cluster api)方面遇到了问题。
clusterctl -n org-foo move --to-kubeconfig=.kubeconfigs/.foo-1-kubeconfig
Performing move...
Discovering Cluster API objects
Error: failed to get object graph: failed to check for provisioned infrastructure: action failed after 9 attempts: error reading Cluster /: an empty namespace may not be set when a resource name is provided
make: *** [Makefile:167: create-cluster-from-cluster-yaml] Error 1
原因是ownerRef 已过时。
有没有办法检查集群中的所有对象并报告所有损坏的 OwnerRefs?