adamant-kite-43734
11/14/2023, 11:46 AMhundreds-evening-84071
11/14/2023, 12:11 PMkubectl get nodes -o wide
that gives IP address. Does that help?bumpy-portugal-40754
11/14/2023, 12:34 PMbumpy-portugal-40754
11/14/2023, 3:57 PM<http://clusters.management.cattle.io|clusters.management.cattle.io>
looks promising. But it contains all clusters, also the guest clusters and the local Rancher cluster. How to distinguish between them?red-king-19196
11/17/2023, 9:51 AMkubectl get <http://clusters.management.cattle.io|clusters.management.cattle.io> -l <http://provider.cattle.io|provider.cattle.io>=harvester -o jsonpath='{.items[].spec.displayName}'
red-king-19196
11/17/2023, 9:53 AM<http://provider.cattle.io|provider.cattle.io>=rke2
. You can distinguish them further by checking the `.spec.internal`’s value: if it’s true
, then it’s a local cluster.bumpy-portugal-40754
11/17/2023, 1:17 PM