turbot/kubernetes_insights

Query: service_labels

Usage

powerpipe query kubernetes_insights.query.service_labels

Steampipe Tables

SQL

with jsondata as (
select
labels::json as label
from
kubernetes_service
where
uid = $1
)
select
key as "Key",
value as "Value"
from
jsondata,
json_each_text(label)
order by
key;

Params

ArgsNameDefaultDescriptionVariable
$1uid

    Dashboards

    The query is used in the dashboards: