Delete inactive namespaces
We want to delete out any namespaces inactive for x amount of months (maybe 6?)
We care about the pods, deployments vs jobs don't matter, just if they have had running pods in that time period.
We care about the creation date, just to make sure it's not new namespaces, I'd probably make sure it was created before the time period we're checking (e.g. 6 months).
Make sure we're filtering out system exceptions (can grab from kubectl -n kube-system cm/nautilus-config), and possibly the various user exceptions (at least treat them seperate, possibly shoot out an email so we can remove them from the config)
Query you can use: group by (namespace) (kube_namespace_create) unless group by (namespace) (count_over_time(kube_pod_info[26w]))