mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-07-20 18:19:44 +00:00
ns list: increase page size to 500
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
cf41febf16
commit
be3e5b2d61
@ -66,7 +66,7 @@ func queryNamespaces(kc *kubeconfig.Kubeconfig) ([]string, error) {
|
|||||||
var next string
|
var next string
|
||||||
for {
|
for {
|
||||||
list, err := clientset.CoreV1().Namespaces().List(metav1.ListOptions{
|
list, err := clientset.CoreV1().Namespaces().List(metav1.ListOptions{
|
||||||
Limit: 100,
|
Limit: 500,
|
||||||
Continue: next,
|
Continue: next,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user