Hi, I'm now doing some test to get all pods from a kubernetes cluster, I can use command "kubectl get pods --all-namespaces" to get all pods in all namespaces of the cluster.
The problem is if I was using "curl" to request pods, how can I also get all pods in different namespaces? I did not see the endpoint API have some parameters which can enable me add the option of "--all-namespaces" from https://github.com/kubernetes/kubernetes/releases/tag/v1.2.4. Currently, I can use "curl <IP>:8080/api/v1/namespaces/default/pods" to get pods under default namespace, how can I use "curl" to get all pods in different namepaces? Thanks, Guangya -- You received this message because you are subscribed to the Google Groups "Containers at Google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-containers. For more options, visit https://groups.google.com/d/optout.
