ns list: increase page size to 500

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2020-04-29 12:43:07 -07:00
parent cf41febf16
commit be3e5b2d61
No known key found for this signature in database
GPG Key ID: 441833503E604E2C

View File

@ -66,7 +66,7 @@ func queryNamespaces(kc *kubeconfig.Kubeconfig) ([]string, error) {
var next string
for {
list, err := clientset.CoreV1().Namespaces().List(metav1.ListOptions{
Limit: 100,
Limit: 500,
Continue: next,
})
if err != nil {