thats what i was trying to figure out. i was trying to get components data from a remote machine via restful api without using "kubectl" command and i thought there was an "all" option like in "kubectl" command but now i see its a bunch of requests and i will have to do the same and do multiple requests
Thank you very much for the answer :) On Tuesday, August 28, 2018 at 4:22:14 PM UTC+3, tvansteenburgh wrote: > > I don't think so. If you increase the logging level on kubectl like this: > > kubectl get all -v 6 > > you'll see that kubectl is itself making an API request for each resource > type, and aggregating the results. > > > On Monday, August 27, 2018 at 9:50:32 AM UTC-4, Amatzia Brandwein wrote: >> >> Hello Guys >> >> is there any way to preform and API request which return all resources >> (like running command 'kubectl get all') >> I know i can get pods/services/etc.. by themselves but i am looking for a >> solution for getting everything in 1 call >> and not running multiple api calls to get each component >> >> Thanks >> > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.