You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kubectl get po --field-selector="spec.containers[].name!=container1"
kubectl get po --field-selector="spec.containers[].name == container1"
kubectl get po --field-selector="spec.containers[1].name in (container1,container2)"
PostgreSQL
SELECT *
FROM "resources",
jsonb_array_elements(object -> 'status' -> 'conditions') as obj
WHERE "group" = 'apps'
AND "resource" = 'deployments'
AND "version" = 'v1'
AND obj ->> 'status' = 'True'
ORDER BY namespace, name
LIMIT 10;
MySQL
SELECT *
FROM resources
WHERE `group` = 'apps'
AND resource = 'deployments'
AND version = 'v1'
AND json_contains(object, '{"status": "True"}', '$.status.conditions')
ORDER BY namespace, name
LIMIT 10;
The text was updated successfully, but these errors were encountered:
hi! I think this is a very necessary feature, in a multi-cluster environment, there are bound to be a lot of pods, and if there is a problem with the service and I need to check the status of the pods. I need this feature to retrieve the unhealthy pods, but pod.stauts.conditions is an array, so I can't do it. Only search by myself 😣.
support list field filtering
PostgreSQL
MySQL
The text was updated successfully, but these errors were encountered: