renoki-co/php-k8s

Filter by label?

ingageco opened this issue · 1 comments

I apologize if i'm misunderstanding the docs on this, but I'm struggling to find a way to filter pods by a label. I'm currently doing:

$cluster->pod()->whereNamespace('mynamespace')->whereLabel([key' => 'value'])->get();

... to no avail. All pods are returned. Is this possible?

Thanks!

stale commented

This issue has been automatically closed because it has not had any recent activity. 😨