steampipe schedule

This commit is contained in:
havelight-ee
2023-06-02 12:06:22 +09:00
parent a0c1a0758c
commit d586497878
2 changed files with 62 additions and 54 deletions

View File

@@ -101,19 +101,21 @@ order by kind
"""
service_query="""
select
SELECT
name,
namespace,
type,
lower(p ->> 'nodePort') as Node_Port,
age(current_timestamp, creation_timestamp)
from
FROM
kubernetes_service,
jsonb_array_elements(ports) as p
where type='NodePort' and name not like '%rel-%'
order by
WHERE
type='NodePort' AND
ORDER BY
Node_Port
"""
#name not like '%rel-%'
aws_ri_query="""
SELECT