Kuberentes-Java-Client equivalent of getting all objects matching label

4/21/2020

Is there an equivalent of listing all kubernetes objects matching a label like below using Kuberentes java client SDK? (https://github.com/kubernetes-client/java)

The goal is to list all .yml files this particular application has an example is the below label can match DaemonSet, Deployment, Service

kubectl get all -l app=RatingsService
-- ROCKY
kubernetes
kubernetes-pod

0 Answers