Skip to main content

Sample GCP Kubernetes Engine RQL Queries

note

The following guide will walk you through GCP Kubernetes Engine RQL Examples

List Kubernetes clusters which have "Automatic node repair" disabled

config from cloud.resource where api.name = 'gcloud-container-describe-clusters' AND json.rule = nodePools[*].management.autoRepair does not exists or nodePools[*].management.autoRepair any false

List Kubernetes clusters which have "Automatic node upgrades" disabled

config from cloud.resource where api.name = 'gcloud-container-describe-clusters' AND json.rule = nodePools[*].management.autoUpgrade does not exist or nodePools[*].management.autoUpgrade any false