(config, args, k8scmd)
return nodes
we only do query here, so won't dump commands
we only do query here, so won't dump commands
we only do query here so won t dump commands
def get_k8s_node_list_under_condition(config, args, k8scmd):
    '''we only do query here, so won't dump commands'''
    output = run_kubectl(config, args, [k8scmd], True)
    nodes = output.split()
    return nodes
def get_k8s_node_list_under_condition ( config , args , k8scmd ) : output = run_kubectl ( config , args , [ k8scmd ] , True ) nodes = output . split ( ) return nodes