【问题标题】:Filter NULL in a gcloud query在 gcloud 查询中过滤 NULL
【发布时间】:2018-10-11 04:03:42
【问题描述】:

我的问题是如何过滤 GCP 中的列并获得所有 NULL 输出。

例如,在下图中,我想过滤所有没有任何数字的“NUM_NODES”(NULL)

提前致谢, 与那丹品牌

【问题讨论】:

  • 你在运行什么gcloud 命令?你在哪个平台上运行gcloud 命令?

标签: filter google-cloud-platform gcloud


【解决方案1】:

尝试使用filter flag 运行 gcloud 命令。例如:

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

【讨论】:

    猜你喜欢
    • 2014-03-31
    • 2022-10-05
    • 1970-01-01
    • 2017-08-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多