Skip to content

Commit

Permalink
ns list: increase page size to 500
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
  • Loading branch information
ahmetb committed Apr 29, 2020
1 parent 1881107 commit 04689f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubens/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 04689f5

Please sign in to comment.