Yonatan Brand
Yonatan Brand

Reputation: 826

Filter NULL in a gcloud query

My question is how can I filter a column in GCP and get all NULL outputs.

For example, in the below picture I would like to filter all "NUM_NODES" which do not have any number (NULL) enter image description here

Thanks in advance, Yonatan Brand

Upvotes: 1

Views: 1699

Answers (1)

F10
F10

Reputation: 2893

Try running the gcloud command with the filter flag. For instance:

gcloud container clusters list --filter="-currentNodeCount:*"

Upvotes: 2

Related Questions