k8s-controller-runtime-client Login to cluster and run export KUBECONFIG=~/.kube/config go run main.go Ref https://medium.com/coding-kubernetes/using-k8s-label-selectors-in-go-the-right-way-733cde7e8630