alibaba/kubeskoop

Get Calico ippool by CR instead of Calico APIServer

Closed this issue · 0 comments

Now use ProjectcalicoV3 to retrieve calico IPPool, which is not stable because not every Calico cluster deploy Calico APIServer.

ippools, err := client.ProjectcalicoV3().IPPools().List(context.TODO(), metav1.ListOptions{})

We can use Ippool CR directly.