Skip to content

Commands

Commands

Terminal window
kubectl get pods -o wide --field-selector spec.nodeName=10.0.10.244
kubectl get pods -o json | jq -r '.items[] | select(.spec.containers[].env[]? | select(.name=="HOST" and .value=="stackgres-c")) | .metadata.name'