Using the limit parameter in list_namespaces cuts off the list of returned namespaces to the limit size and never gets the rest of the namespace on the cluster. Sometimes I have 100's of namespaces with kube-burner tests and the system namespaces that are defined in the config are not able to be found because they are not in the first response
Need to poll if the response from list_namespaces has ret.metadata._continue != None and use that _continue string to poll for the next set of namespaces
ret = cli.list_namespace(pretty=True, limit=request_chunk_size, _continue=continue_string)
Using the limit parameter in list_namespaces cuts off the list of returned namespaces to the limit size and never gets the rest of the namespace on the cluster. Sometimes I have 100's of namespaces with kube-burner tests and the system namespaces that are defined in the config are not able to be found because they are not in the first response
Need to poll if the response from list_namespaces has ret.metadata._continue != None and use that _continue string to poll for the next set of namespaces
ret = cli.list_namespace(pretty=True, limit=request_chunk_size, _continue=continue_string)