lookout scan
Start here when you know something is wrong but not what: one call runs every target-free incident check across the cluster — broken workloads, dead admission webhooks, stuck volumes and PVCs, rejected Gateway routes, config drift — then drills into the dependency edges of whatever it flagged and sweeps for edge faults no workload owns, including every TLS Secret whose certificate is expired or expiring (referenced or not). Needs no target. Opt-in groups answer other questions: --include=cloud for quota headroom, zone capacity stockouts, subnet IP space and orphaned disks or static IPs; --include=audit for security and reliability posture; --include=perf for control-plane latency.
MCP tool: k8s_scan (MCP profile: triage, audit)
lookout scan [flags]| Flag | Type | Default | Meaning |
|---|---|---|---|
--include | string | — | additionally run these opt-in groups: audit,cloud,perf. cloud = quota headroom, zone capacity stockouts, subnet IP space, orphaned disks and static IPs; audit = security and reliability posture; perf = API server, APF, etcd and pod-startup latency. Comma-separated, ‘all’ for every one, ’-’ to subtract (all,-cloud). Left out by default because they answer a different question than what is broken; where the build or the credentials cannot reach the cloud, cloud and perf report an explicit unavailable finding rather than nothing |
--max-drilldown | int | 20 | cap the stage-2 dependency-edge drill-down at this many workloads, worst severity first (0 disables it); the number dropped is reported as truncated= in the summary |
--cert-warn | duration | 720h | report TLS certificates expiring within this window (stage 2: the drill-down and the TLS Secret sweep; same meaning as state edges --cert-warn) |
Common flags (every lookout command)
Section titled “Common flags (every lookout command)”| Flag | Type | Default | Meaning |
|---|---|---|---|
--namespace | string | — | limit the scan to one namespace |
-A | bool | — | scan all namespaces |
--workload | string | — | target one workload as <Kind>/<namespace>/<name>, e.g. Deployment/prod/api |
--since | duration | — | how far back to look (0 = command default) |
--format | string | logfmt | output format: logfmt|json (one record per line either way) |
--timeout | duration | 1m0s | abort the invocation after this long (exit 1) |
--kubeconfig | string | — | path to a kubeconfig file, instead of $KUBECONFIG / ~/.kube/config |
--kubeconfig-dir | string | — | directory of kubeconfig files to fan out across (mutually exclusive with —kubeconfig); each finding is stamped with cluster=<label> and the summary reports clusters=<n> |
--context | string | — | kubeconfig context to read, instead of its current-context. Selects a cluster for THIS invocation only — nothing is written back — so concurrent invocations can target different clusters. Reported as context=<name> in the summary line |
--contexts | string | — | comma-separated kubeconfig contexts to fan out across, or ’*’ for every context in the selected kubeconfig(s) (mutually exclusive with —context); each finding is stamped with cluster=<label> and the summary reports clusters=<n> |
--concurrency | int | 4 | maximum concurrent cluster executions when fanning out with —contexts or —kubeconfig-dir |
--google-auth | string | — | how Google Cloud and GKE DNS requests authenticate: auto (default: honors LOOKOUT_GOOGLE_AUTH, CORE_AGENT_GOOGLE_AUTH, MAST_GOOGLE_AUTH), adc, or injected (static placeholder bearer token, zero GCE metadata lookups) |
--exemptions | string | — | path to a git-reviewed exemption file (YAML); covered findings are ANNOTATED with their reason and expiry and counted as exempt=<n> in the summary, never dropped |
Finding kinds
Section titled “Finding kinds”Every kind= this command can emit, and the severities it carries them at. Nothing else appears in its output; a kind absent from a run means the check looked and found nothing. See the finding-kind glossary for the whole vocabulary.
| Kind | Severity | Claim |
|---|---|---|
scan.check_skipped | info | a stage declined this invocation because a zero-argument scan cannot supply something it needs — the coverage claim is smaller than it looks |
scan.check_failed | warning | a stage errored; the scan continued without it, so this run saw less than a whole cluster — unless EVERY stage failed and none read anything, which is a runtime error (exit 1) rather than a scan |
scan.incomplete | warning | the —timeout expired with stages still to run; not_run names them |
pod.crashloop | critical | a container is crash looping |
pod.imagepull | critical | a container cannot pull its image |
pod.waiting | warning | a container is stuck in an error waiting state (CreateContainerConfigError, InvalidImageName, …) |
pod.oomkilled | warning | a container’s last termination was an OOM kill |
pod.restarts | warning | a container has restarted at least —restarts times |
pod.notready | warning | a container in a Running pod has been not-ready past the —pending-age grace, or at any age when the pod had been Ready and a fresh readiness failure took it down (event=Unhealthy) |
pod.probe_flap | warning | a Running container’s readiness keeps failing and recovering — flapping, not down: its readiness failures recur within the last 15m without holding it down, its Ready condition changed within the last 3m45s, and it has not restarted since they began. The read-path counterpart of degradation.probe_flap; status alone reads such a pod as down on half the polls and healthy on the other half. Not held back by —pending-age |
pod.failed | warning | the pod reached phase Failed |
pod.pending | critical, warning | the pod has been Pending longer than —pending-age with no container-level diagnosis, or at any age when a fresh Warning event says it is failing rather than starting (event=); critical when the scheduler has declared it Unschedulable, which is a capacity or constraint problem rather than latency |
workload.replicafailure | critical | the controller cannot create pods at all (quota, PodSecurity, admission) — no pod exists to diagnose |
workload.stalled | critical | a Deployment’s Progressing condition is False: the rollout has given up |
workload.rollout | critical, warning | replicas are short of desired; critical when nothing is serving at all |
job.failed | warning | a Job’s Failed condition is set |
cron.missed | critical, warning | an unsuspended CronJob’s schedule said to run more than —cron-grace ago and status says it did not; critical once several activations in a row are gone |
cron.unparseable | warning | a CronJob’s spec.schedule could not be parsed, so its activations cannot be judged at all |
node.notready | critical | the node’s Ready condition is not True |
node.pressure | critical | the node reports Memory/Disk/PID pressure |
node.condition | critical, warning | a non-standard node condition is True — NPD and its cousins publish problems that way |
node.cordoned | warning | the node is unschedulable but still holds pods: a stuck drain or a forgotten maintenance step |
node.preempt | critical, warning, info | a reclaim taint marks the node for termination; severity tracks how imminent |
pdb.gridlocked | critical, warning | the budget permits no disruptions; critical when healthy pods are already below the required minimum |
addon.degraded | critical, warning | a kube-system add-on (dns, proxy, cni, csi, metrics, connectivity) is short of replicas; critical when none are available |
quota.near | warning | a ResourceQuota resource is at or past —quota-warn percent of its hard limit |
quota.exhausted | critical | a ResourceQuota resource is at its hard limit: the next create is rejected |
hpa.scale_failed | warning | an HPA’s AbleToScale condition has been False past —hpa-grace: the controller cannot read or write its target’s scale |
hpa.scaling_inactive | warning | an HPA’s ScalingActive condition has been False past —hpa-grace (a failed metric fetch, an invalid selector; not a deliberate scale-to-zero): it cannot compute a replica count |
cluster.autopilot_idle | info | an Autopilot cluster with no workloads of its own, scaled to 0 nodes by design: its GKE system pods wait for the first workload, and this one finding replaces every finding that state causes in GKE-managed namespaces |
autoscaler.scaleup_blocked | critical, warning, info | pods are unschedulable and this says why the cluster autoscaler has not added a node: the node pools that cannot grow (autoscaling off, maximum 0) and the autoscaler’s own recent refusals, from the cloud provider; critical when no pool can grow, when the only pools that can grow have no node the pods could use (a compute class’s pools, for pods that select no class) and node auto-provisioning is off, or when no node is Ready; warning when a pool is blocked or the autoscaler refused; info when neither. With Nodes and Pods read cluster-wide it also accounts for each node against the pending pods: the taints they do not tolerate (one set on a node alone, with who set it and when), the room left where they could go, the largest requests there, and DaemonSets created in the last 7 days |
read.unavailable | info | a resource this command reads was refused (RBAC forbidden, e.g. Nodes, Secrets or RBAC objects under the built-in view role) or is not served, so the checks that need it did not run and their silence is not a clean bill; everything else was still verified. The message names the refused verb and resource, whether it is cluster-scoped, whether the built-in view role grants it, and the grant that fixes it; resource= carries the refused resource as resource[.group] — an explicit degradation record, never silence |
webhook.failing_closed | critical | the webhook has no working backend and failurePolicy=Fail: the admissions its rules match are rejected (the message names them; requests it does not match are unaffected) |
webhook.dead_backend | warning | the webhook’s service backend is missing, has no ready endpoints, or does not serve the named port |
webhook.slow_risk | info | the webhook’s timeout is long enough to slow every gated write if the backend degrades |
webhook.ca_expired | critical | the webhook’s caBundle has expired: the API server cannot verify it |
webhook.ca_expiring | warning | the webhook’s caBundle expires within —cert-warn |
volume.multi_attach | critical | an RWO claim is wanted by pods on more than one node — the second pod never starts |
volume.zone_conflict | critical | the PV is locked to a zone the pod’s node is not in |
volume.attach_error | critical, warning | the attach or detach is failing; critical once it has been failing long enough to be stuck rather than slow |
volume.orphaned_attachment | info | a VolumeAttachment survives its PV or its node |
volume.unconsumed_pvc | info | a Bound claim that no pod (in any phase) mounts and no workload template or live StatefulSet claim template references — its volume is provisioned and billed for nothing; consumers outside the built-in workload kinds (a VM operator, a CI workspace) are invisible here, so read it as a lead, not a verdict |
volume.expansion_unsupported | warning | a Bound claim requests more storage than its current capacity, but its StorageClass does not allow volume expansion |
storage.missing_class | critical | the claim names a StorageClass that does not exist — it will stay Pending forever |
storage.no_default_class | critical | the claim names no class and the cluster has no default StorageClass |
storage.no_provisioner | warning | the claim’s class is static-only (kubernetes.io/no-provisioner) and no matching PV is available |
storage.multiple_defaults | warning | more than one StorageClass is annotated as the cluster default; which one wins is not defined |
storage.pv_failed | warning | a PersistentVolume is Failed: its reclaim did not complete, so the backing disk stays allocated and the volume cannot be reused |
storage.pv_released | info | a PersistentVolume is Released — retained on purpose, but its capacity is unusable until spec.claimRef is cleared |
gateway.missing_class | critical | the Gateway names a GatewayClass that does not exist — nothing will program it |
gateway.class_not_accepted | critical | the Gateway’s GatewayClass is not Accepted by its controller |
gateway.not_accepted | critical | the Gateway itself is not Accepted |
gateway.not_programmed | critical | the Gateway is Accepted but not Programmed: no data plane is carrying its traffic |
gateway.listener_invalid | warning | one listener of an otherwise working Gateway is not resolved or not programmed |
route.missing_parent | critical | the route’s parentRef names a Gateway that does not exist |
route.not_accepted | critical | the Gateway refused the route’s attachment (listener, hostname, or namespace policy) |
route.missing_backend | critical | the route’s backendRef Service does not exist |
route.backend_port | critical | the route’s backendRef Service exists but does not expose the named port |
crd.unavailable | info | the API group this check reads is not served by the cluster, so nothing was examined (no coverage lies) |
keda.missing_target | warning | the ScaledObject’s scaleTargetRef names a Deployment or StatefulSet that does not exist — nothing is being scaled |
keda.missing_auth | warning | a trigger’s authenticationRef names a TriggerAuthentication or ClusterTriggerAuthentication that does not exist — the scaler cannot read its metric |
keda.not_ready | warning | KEDA reports the scaler Ready=False: scaling has stopped at the current size |
kcc.not_ready | warning, info | a Config Connector object is not Ready, stuck terminating, or has an unreconciled spec generation |
kcc.unavailable | info | no Config Connector (*.cnrm.cloud.google.com) CRDs are served by the cluster, so nothing was examined (no coverage lies) |
wi.gsa_missing | critical | the annotated Google service account does not exist — every GCP call from these pods fails |
wi.unbound | critical | the KSA annotates a GSA but the roles/iam.workloadIdentityUser binding is missing or malformed |
wi.unannotated_use | info | a pod sets GOOGLE_APPLICATION_CREDENTIALS but its ServiceAccount carries no Workload Identity annotation |
cloud.unavailable | info | the cloud capability this check needs is unavailable, so nothing was examined — an explicit degradation record, never silence |
drift.manual_edit | critical, warning | a manager other than the GitOps controller owns spec fields on this object; critical when one of them is high blast radius (image, replicas, env) |
audit.ai_workload_exposure | warning, info | an AI/inference workload has an unisolated serving Service, hostNetwork with accelerators, a hostPath model-cache mount, an automounted default ServiceAccount token, or an unpinned model-loader/inference container image |
audit.workload_identity_off | warning | Workload Identity is off cluster-wide, or a node pool bypasses it — pods authenticate to the cloud as the node |
audit.legacy_metadata | warning | a node pool still serves the pre-v1 instance-metadata endpoints, which any pod can read |
audit.public_control_plane | warning, info | the control-plane endpoint is reachable from the internet; info when authorized networks narrow it |
audit.nodepool_cannot_grow | warning | a node pool has autoscaling on with a maximum of 0 nodes: it can never hold a node, so a pod only it could host stays Pending forever |
audit.cluster_security_posture | warning, info | cluster-level security posture gap: Shielded Nodes disabled, Binary Authorization disabled, application-layer etcd secrets encryption disabled, or legacy ABAC enabled |
audit.cluster_network_posture | warning, info | cluster-level network posture gap: nodes carry public IPs, Dataplane V2 is disabled, or master global access is off on a private control-plane endpoint |
audit.cluster_observability_off | warning, info | cluster-level observability disabled: Cloud Logging, Cloud Monitoring, or Managed Service for Prometheus is turned off |
audit.cluster_backup_off | info | Backup for GKE addon is disabled on the cluster |
audit.compute_class_posture | warning, info | a workload’s GKE ComputeClass or hardware-placement spec has no fallback or cannot be satisfied by the cluster: references a non-existent ComputeClass, requests a class or accelerator with zero matching nodes and no node-pool auto-creation, pins multi-replica pods directly to Spot without a ComputeClass priority fallback chain, or pins an accelerator workload to a zone with zero matching accelerator nodes while other zones have them |
audit.single_zone_nodepool | warning, info | a multi-node pool has all of its nodes in a single availability zone while the cluster spans multiple zones, or a workload with zone topologySpreadConstraints is pinned to a single-zone node pool |
audit.exemption_expired | warning | an exemption entry has lapsed: the findings it used to annotate are being reported unqualified again |
audit.exemption_expiring | info | an exemption entry lapses within —within — renew it or let it go deliberately |
audit.privileged_container | warning | a container runs privileged or holds a node-root capability (ALL, SYS_ADMIN): a container escape is a node compromise |
audit.host_namespace | warning | the pod shares the node’s network, PID, or IPC namespace |
audit.hostpath_mount | warning, info | the pod mounts a host path; warning when it is writable, info when read-only |
audit.default_sa_automount | warning | the pod runs as the namespace’s default ServiceAccount with its token automounted, and something in the pod can use it |
audit.sa_token_automount | info | the pod runs as a non-default ServiceAccount with its token automounted, but no RoleBinding or ClusterRoleBinding binds that ServiceAccount |
audit.container_security_gaps | warning, info | a non-privileged container runs as UID 0, leaves runAsNonRoot unset, permits privilege escalation, or has no RuntimeDefault/Localhost seccomp profile |
audit.writable_rootfs | info | a container does not set readOnlyRootFilesystem: true, so the root filesystem is writable at runtime |
audit.capabilities_added | warning, info | a container adds Linux capabilities below node-root (NET_ADMIN, NET_RAW, SYS_PTRACE, …) or does not drop ALL default capabilities |
audit.podsecurity_gaps | warning | the namespace enforces no Pod Security Admission level, so none of the above is prevented |
audit.image_floating_tag | info | a container image reference names no particular bytes — a tag that by convention moves (latest, main, master, dev, nightly, stable, edge) or no tag at all, with no digest: the next pull may run different code with no deploy and no record |
audit.no_resource_quota | warning, info | workload-bearing namespace has no ResourceQuota or a ResourceQuota is >= 90% of hard limit |
audit.no_limit_range | info | workload-bearing namespace has no LimitRange while containers omit resource requests/limits |
audit.namespace_onboarding_gaps | warning, info | workload-bearing namespace is missing required onboarding labels |
audit.netpol_missing | warning, info | nothing restricts this direction for the subject — a namespace with no policy at all, or a workload the covering policies’ selectors miss; info for the egress direction, where no policy is a defensible default |
audit.netpol_selects_nothing | warning | this NetworkPolicy’s podSelector matches no workload in its namespace, so neither its isolation nor its allow rules apply to anything; reported only where the namespace claim does not already say the namespace’s policies select nothing |
audit.network_policy_allow_all | warning, info | this NetworkPolicy has an allow-all peer rule (empty from/to peer list, 0.0.0.0/0 or ::/0 without except, or an empty namespaceSelector with no podSelector); warning for ingress, info for egress |
audit.cluster_admin_binding | warning, info | the binding grants a full-wildcard role (cluster-admin, or one with the same rule) to its subjects; warning for a ClusterRoleBinding, info for a RoleBinding, which confines it to one namespace |
audit.wildcard_rbac | warning, info | the role has a rule using * for verbs or resources; warning for a full wildcard that something binds, info for an unbound one and for the narrower wildcards |
audit.exec_attach_grant | warning, info | the binding grants pods/exec, pods/attach, or pods/portforward to its subjects; warning for exec or attach, info for portforward |
audit.impersonate_escalate_grant | warning | the binding grants impersonate on identities or bind/escalate on RBAC roles to its subjects |
audit.version_behind | critical, warning, info | the control plane or a node pool is behind what the provider publishes, or a node pool has skewed from the control plane; info while the gap is still within the supported skew |
audit.upgrade_unmanaged | warning | nothing will close that gap on its own: no release channel, or node auto-upgrade/auto-repair off |
audit.upgrade_blocked | critical, warning, info | an active maintenance exclusion, a node image on the removed Docker runtime, a removed API in use, a fail-closed upgrade-path webhook, or a zero-disruption PDB will stop or stall the upgrade when it comes |
audit.deprecated_api_in_use | critical, warning | a cluster resource was last applied with a Kubernetes API version that is deprecated or removed in the target minor release |
audit.upgrade_unattended | info | upgrades will happen with nobody watching: no maintenance window, or no upgrade notifications |
audit.no_pdb | warning | the workload has no PodDisruptionBudget: a drain can take every replica at once |
audit.pdb_posture | warning | a PodDisruptionBudget overlaps another PDB on the same workload or allows zero disruptions by spec, permanently blocking voluntary node drains |
audit.single_replica | warning | the workload runs a single replica, so any disruption is an outage |
audit.no_readiness_probe | warning | a container has no readiness probe, so traffic reaches it before it can serve |
audit.no_liveness_probe | info | a container has no liveness probe, so a wedged process is never restarted |
audit.no_startup_probe | warning, info | a container has a livenessProbe and no startupProbe, with either a liveness deadline under 60s (info) or a readinessProbe initialDelaySeconds >= 30s (warning) that shows slow startup is expected |
audit.no_resource_requests | warning | a container has no CPU or memory request (and no limit or namespace LimitRange to default it from), so the scheduler places it blind and node eviction ranks it first |
audit.no_resource_limits | warning, info | a container has no memory or CPU limit (and no namespace LimitRange default): an unbounded memory leak OOMs the node (warning), while an unbounded CPU spike is throttled only by contention (info) |
audit.no_spread | info | the workload’s replicas are not spread across nodes or zones |
audit.rigid_scheduling | warning, info | placement constraints pin the workload to too few nodes to survive losing one |
audit.hpa_cannot_scale | warning, info | the autoscaler structurally cannot scale or drops HA at idle: min equals max, the target is missing, a container has no request for its utilization target to divide by, or minReplicas is 1 |
audit.suspended_cronjob | warning | a CronJob has been suspended past —cron-suspended and has skipped activations because of it: whatever it does is not happening, and nothing else reports that |
audit.cronjob_overlap_risk | warning, info | a CronJob permits concurrent runs without an activeDeadlineSeconds bounding them to the schedule interval, or sets startingDeadlineSeconds below the controller’s 10s check loop |
audit.cronjob_failing | warning | an active CronJob has scheduled runs, none are currently running, and status.lastSuccessfulTime is nil — it has never succeeded |
audit.suspended_job | info | a standalone Job (no controller owner, not queued by Kueue) has been suspended past —job-suspended without finishing: the one-shot task it carries is not happening |
audit.liveness_preempts_readiness | warning, info | liveness and readiness probe the same handler and liveness gives up no later than readiness: the kubelet restarts the container before readiness can take it out of the Service, so the readiness probe is decoration; info when the two deadlines tie, warning when liveness is strictly earlier |
audit.rollout_drops_traffic | warning | a Service-backed, multi-replica workload (or a Service-backed DaemonSet) whose serving container has no preStop hook, or a container whose preStop sleep reaches or exceeds terminationGracePeriodSeconds: SIGTERM races endpoint removal or SIGKILL arrives with zero drain time |
audit.recreate_strategy | warning | a Service-backed, multi-replica Deployment whose strategy permits zero surviving pods — Recreate, or rollingUpdate.maxUnavailable at or above the replica count — so every rollout is an outage the Deployment never reports |
ipspace.range | critical, warning, info | a pod/service/node range is at 80% of its CIDR or worse; critical from 95%, info for a range the cloud APIs cannot rate and for an —all row below the line |
orphan.disk | warning | a GCE disk has been unattached for at least —min-age and is still billing |
orphan.lb | warning | a forwarding rule or load balancer routes to zero endpoints and is still billing |
orphan.address | warning, info | an external static IP has been reserved for at least —min-age, nothing uses it, and it is still billing — warning when no Cloud DNS record in the project resolves to it (or the DNS check could not run, which the record says); info, reason=ReferencedByDNS, when DNS records still point at it, because releasing it would leave those names dangling |
orphan.nodepool | info | —only=nodepools: a node pool has at least one node and no workload pod scheduled on any of them (DaemonSet-owned and mirror/static pods do not count), judged on this one observation — info, because a batch pool between runs looks the same; the reason names the autoscaler case and so the remedy |
quota.pressure | critical, warning, info | a cloud quota is at or above —quota-warn percent of its limit; critical from 95%, info for an —all row below the line |
stockout.zone | warning | the cloud had no capacity for a machine type in this zone during the window — the reason a scale-up failed and pods stayed Pending |
perf.apiserver_p99 | critical, warning | apiserver request latency p99 crossed the pack threshold for a verb/resource — warning from 1s, critical from 4s |
perf.apf_saturation | critical, warning | an API Priority and Fairness level is holding a sustained queue — warning from 10 queued, critical from 100 |
perf.apf_rejects | critical, warning | APF is shedding load: the apiserver is returning 429s at a priority level |
perf.etcd_fsync | critical, warning | etcd WAL fsync p99 crossed the pack threshold — warning from 10ms, critical from 100ms |
perf.etcd_db_size | critical, warning | the etcd database is approaching its quota — warning from 4 GiB, critical from 5.5 GiB |
perf.startup_p95 | critical, warning | pod first-ready p95 crossed the pack threshold — warning from 60s, critical from 300s |
perf.pack_unavailable | warning | a metric the requested pack needs is not in the metrics workspace, so part of the pack could not run; the rest still did (no coverage lies) |
edge.missing_ref | critical | a referenced ConfigMap, Secret, ServiceAccount, TLS secret, IngressClass, StorageClass, or governing Service does not exist |
edge.missing_key | critical | the referenced key is absent from an existing ConfigMap/Secret |
edge.invalid_ref | warning | the referenced object exists but is the wrong type to serve the reference |
edge.unclassed | warning | the Ingress names no class and no IngressClass declares itself the cluster default — no controller will claim it |
edge.selector_empty | critical, info | a Service selector selects zero pods, so the service routes nowhere; info, not critical, when every workload it matches is scaled to zero on purpose |
edge.selector_unready | critical, warning | the Service selects pods but some are not Ready; critical when none are |
edge.endpoints_missing | critical | a selecting Service has no EndpointSlices at all |
edge.endpoints_orphaned | warning | an endpoint targetRef names a pod that no longer exists |
edge.endpoints_unready | critical, warning | the endpoint ready-count disagrees with the selected pods (stale or lagging slices); critical at zero ready |
edge.backend_missing | critical | an Ingress backend service, or the port it names, does not exist |
edge.cert_expired | critical, warning | a TLS certificate’s NotAfter is in the past (a bundle is judged by its earliest-expiring certificate); warning instead of critical when the target-free TLS Secret sweep finds nothing in the cluster referencing the Secret (referenced_by=none) |
edge.cert_expiring | warning | a TLS certificate expires within —cert-warn — one a workload or Ingress reaches, or, in the target-free sweep, any kubernetes.io/tls Secret in scope, referenced or not |
edge.cert_invalid | warning, info | tls.crt is missing or unparseable, or the secret is not kubernetes.io/tls; info instead of warning when the target-free TLS Secret sweep finds nothing referencing the Secret |
edge.rbac_dangling | warning | a (Cluster)RoleBinding for the workload’s ServiceAccount points at a missing (Cluster)Role |
Output fields
Section titled “Output fields”Beyond the shared envelope fields (kind, severity, namespace, kind_of_object, name, reason, message, fingerprint, exempt_reason, exempt_expires):
| Field | Meaning |
|---|---|
check | which registered command produced this finding — also the command to run for the full detail behind it |
not_run | on scan.incomplete: the checks the timeout left unrun, comma-separated |
checks | summary-line note: how many checks this scan actually ran |
skipped | summary-line note: opt-in groups this scan did NOT run (switch one on with —include=<group>) — stated so a quiet scan is never mistaken for a complete one |
drilldown | summary-line note: workloads the stage-2 dependency-edge drill-down covered |
truncated | summary-line note: drill-down candidates dropped by —max-drilldown |
unavailable | summary-line note: the checks that ran but could not answer in full — each emitted an explicit *.unavailable record saying why — comma-separated; state edges here means stage 2 could not list Secrets, so the TLS Secret expiry sweep did not run |
autopilot_idle_folded | summary-line note: webhook findings folded under cluster.autopilot_idle — GKE-managed webhooks whose backend cannot run because the idle Autopilot cluster has, by design, no node |
drilldown_skipped | summary-line note: comma-separated resources the drill-down’s List pass was refused (RBAC forbidden — under the built-in view role: nodes, secrets and the RBAC kinds, plus ingressclasses and storageclasses) or found not served. The edge checks that need them did not run and stay silent rather than calling every reference missing, so a quiet drill-down under this note is not a clean one. Kept concise on purpose: each listed resource needs list granted via a ClusterRole (lookout’s shipped ClusterRole grants every one), and lookout state edges --workload=<a flagged workload> prints the full reason per resource — refused verb, scope, whether the built-in view role grants it, and the grant that fixes it — as read.unavailable records |
container | container the finding is about (init containers prefixed init:) |
image | image reference that failed to pull |
restarts | container restart count |
exit_code | exit code of the container’s last termination |
last_state | reason of the container’s last termination (e.g. OOMKilled) |
age | how long the abnormal state has persisted (on pod.probe_flap: since the first readiness failure the kubelet recorded) |
event | on pod.pending and pod.notready: the reason of the fresh Warning event that says the pod is failing rather than starting — FailedScheduling, FailedMount, FailedAttachVolume, FailedCreatePodSandBox, ImagePullBackOff (any pull failure) or Unhealthy; the event’s message becomes the finding’s when status has none. Its presence is what reports a pod younger than —pending-age |
readiness | on pod.probe_flap: the pod’s Ready condition at this read, Ready or NotReady — one sample of a state that keeps changing |
last_flip | on pod.probe_flap: how long ago the pod’s Ready condition last changed |
probe_failures | on pod.probe_flap: readiness failures the kubelet’s Unhealthy events recorded — a floor, since the kubelet’s event spam filter stops counting after a burst of 25 |
period_seconds | the probe’s periodSeconds (default 10); on pod.probe_flap, the readiness probe whose failures were counted |
desired | desired replica/scheduled count from spec |
ready | ready count from status |
updated | updated-to-current-revision count from status |
available | available count from status |
failed | failed pod count of a Job |
schedule | a CronJob’s spec.schedule |
expected | the activation a CronJob should have run and did not |
missed_runs | activations missed since the anchor; ≥N when the walk was capped |
anchor | what the missed count was measured from: last_schedule or creation |
time_zone | a CronJob’s spec.timeZone, when set |
last_schedule | a CronJob’s status.lastScheduleTime, or never |
active_jobs | Jobs a CronJob still has running |
condition | node condition type that is abnormal; for an HPA, the False condition (AbleToScale=False or ScalingActive=False) |
taint | taint key indicating reclaim/drain |
pods | pods affected (behind a cordoned node or a PDB) |
healthy | currently healthy pods behind a PDB |
required | pods the PDB requires healthy |
addon | system add-on role: dns, proxy, cni, csi, metrics, connectivity |
resource | ResourceQuota resource name at or near its limit |
used | quota usage from status |
hard | quota hard limit from status |
pct | quota usage as percent of the hard limit |
scale_target | an HPA’s scaleTargetRef as Kind/name |
replicas | an HPA’s current replica count, where the failure holds it |
audit_reason | the audit.hpa_cannot_scale reason (HPATargetMissing, HPATargetMissingRequests) that is the structural cause of this failure, when the controller’s message identifies one |
nodes | on autoscaler.scaleup_blocked and cluster.autopilot_idle: Ready/total Nodes in the cluster, when nodes were read |
autopilot | on autoscaler.scaleup_blocked and cluster.autopilot_idle: true for a GKE Autopilot cluster, whose capacity the provider manages |
pools | on autoscaler.scaleup_blocked: every node pool as name (autoscaling bounds, node count, why it cannot grow) |
no_scale_up | on autoscaler.scaleup_blocked: the autoscaler’s noScaleUp refusals in the window, as [pool: ]reason ×count, most frequent first |
window | on autoscaler.scaleup_blocked: how far back autoscaler decisions were read |
decisions | on autoscaler.scaleup_blocked: why the autoscaler’s decisions could not be read, when they could not |
auto_provisioning | on autoscaler.scaleup_blocked: enabled|disabled, whether the autoscaler may create new node pools for pods no pool fits (GKE node auto-provisioning). Disabled, pods that select no compute class can only land in the pools that exist; a compute class’s pools take only pods that select it |
taints | on autoscaler.scaleup_blocked: the node taints no pending pod tolerates, as key=value:effect on the nodes carrying it, operator-set taints first; a compute class’s taint says only pods selecting the class may use those nodes. The message names a taint set on a node alone rather than by its pool, with the managedFields manager and time that last wrote the node’s taints |
full_nodes | on autoscaler.scaleup_blocked: nodes the pending pods could otherwise use but lack room on, with CPU and memory free of allocatable by requests, and the smallest pending request |
largest_requests | on autoscaler.scaleup_blocked: the largest CPU requests on those full nodes, a DaemonSet named once (marked when created within the last 7 days) |
new_daemonsets | on autoscaler.scaleup_blocked: DaemonSets created within the last 7 days, with their per-pod request, node count and age — capacity taken from every node |
folded | on cluster.autopilot_idle: how many findings the idle state explains, replaced by this one |
namespaces | on cluster.autopilot_idle: the GKE-managed namespaces those findings were in |
autoscaler | summary note: why unschedulable pods could not be explained (no cloud provider, or no permission to read node pools) |
young | summary note: pods left unjudged because they are younger than the —pending-age grace (default 5m) — Pending, or Running with a not-ready container — and no fresh Warning event says why; omitted at 0. Those pods are too new to call, not healthy: lookout triage delta --pending-age=0 judges them now |
webhook | admission webhook as <configuration>/<webhook name> |
service | service backend the webhook points at, as <namespace>/<name> |
backend | why the backend is dead: service missing, no ready endpoints, or port <p> not on service |
gates | namespaces the webhook gates, from namespaceSelector: all namespaces, or <matched>/<total> namespaces with up to 5 names |
rules | compact operations/resources summary of the webhook’s rules, e.g. “CREATE,UPDATE pods,deployments.apps” |
object_selector | the webhook’s objectSelector, when one is set |
timeout | webhook timeoutSeconds as <n>s (nil defaults to the API’s 10s) |
subject | CA-bundle certificate subject (CN when set); never key material |
not_after | CA-bundle certificate NotAfter, RFC 3339 |
days_left | whole days until NotAfter (negative = expired) |
access_modes | the claim’s declared access modes |
pv | PersistentVolume behind the claim or attachment |
pvc | PersistentVolumeClaim the pod mounts (same namespace as the pod) |
node | node the attachment targets or the pod is scheduled on |
attacher | CSI driver responsible for the attachment (spec.attacher) |
error | volume.attach_error: the attach/detach error message, truncated to 200 chars (cloud.unavailable from cloud orphans, reason=SweepFailed or RuleUnresolved, uses the same key for the provider error — masked, cut to 300 characters) |
attached | the attachment’s status.attached at scan time |
pv_zones | zones the PV’s node affinity allows, sorted |
node_zone | zone label of the node the pod is scheduled on |
orphan | which referenced side is gone: “pv missing”, “node missing”, or both |
capacity | volume.unconsumed_pvc, volume.expansion_unsupported: the claim’s bound capacity (status.capacity.storage); omitted when unreported |
requested | volume.expansion_unsupported: the larger storage capacity requested in spec.resources.requests.storage |
storage_class | volume.unconsumed_pvc, volume.expansion_unsupported: the claim’s StorageClass; omitted when it names none |
reclaim_policy | volume.unconsumed_pvc: the bound PV’s reclaim policy — Delete means deleting the claim frees the disk, Retain means the PV must be deleted too; omitted when the PV is not visible |
claim_age | volume.unconsumed_pvc: how long ago the claim was created, truncated to minutes |
classes | StorageClasses the cluster does have, sorted (empty when there are none) |
defaults | StorageClasses annotated as the cluster default, sorted |
provisioner | the class’s spec.provisioner |
phase | the claim’s or volume’s status.phase at scan time |
claim | the claim the volume was bound to, as namespace/name |
binding_mode | the class’s volumeBindingMode (Immediate when unset) |
gateway_class | GatewayClass the Gateway names |
controller | the GatewayClass’s spec.controllerName — which implementation owns it |
gateway | Gateway the route attaches to, as namespace/name |
listener | listener name within the Gateway |
port | listener port, or the backendRef port the Service does not expose |
protocol | listener protocol |
service_ports | ports the backend Service does expose, sorted |
api_group | crd.unavailable: the API group-version this command needed |
resources | crd.unavailable: the resources it would have read |
target | the scaleTargetRef the ScaledObject names, as <Kind>/<name> |
trigger | trigger type (prometheus, kafka, …) whose authenticationRef does not resolve |
authentication | the authenticationRef that does not resolve, as <Kind>/<name> |
gvr | GroupVersionResource of the Config Connector object (group/version/resource) |
api_version | apiVersion of the Config Connector object |
condition_reason | the Ready condition’s reason reported by the Config Connector controller |
observed_generation | status.observedGeneration last reconciled by Config Connector |
generation | metadata.generation of the object |
gsa | the cloud identity (GSA email) the ServiceAccount’s annotation claims |
problem | machine-matchable problem code from the provider (e.g. no-workload-identity-binding) |
env | the credential-file env var found (GOOGLE_APPLICATION_CREDENTIALS) |
capability | cloud.unavailable: the provider capability this command needed (workload-identity) |
provider | cloud.unavailable: the provider that was asked |
manager | on findings: the foreign manager string from managedFields (a tool name like kubectl-edit — never a user identity; see —identity); on the summary line: the resolved GitOps manager |
detection | summary note: how the GitOps manager was resolved — declared (—manager), majority (auto-detected recognized GitOps controller owning >50% of the spec leaf fields in scope), or none (no manager resolved; nothing emitted) |
detection_reason | summary note on detection=none, naming why: no-spec-fields-in-scope (nothing in scope owns a spec field), no-majority-manager (a leading candidate exists but owns 50% or less), or not-a-gitops-manager (the majority owner is not a recognized GitOps controller — e.g. kubeadm or a kubectl manager on a cluster with no GitOps at all) |
candidate | summary note on detection=none: the leading manager that fell short (of the majority, or of being a recognized GitOps controller) — pass it to —manager if it is in fact the GitOps controller |
share | summary note: the resolved manager’s (or, on detection=none, the candidate’s) percentage of every spec leaf field owned across the scanned objects, rounded. A declared manager with a low share means most findings are other legitimate owners |
unmanaged | summary note, omitted at zero: scanned objects the resolved GitOps manager owns no spec field on. Nothing is reported for them — an object the manager never applied cannot have drifted from it — so a high count next to zero findings means the manager’s scope is narrower than the scan’s |
operation | managedFields operation of the foreign manager’s last write: Apply or Update |
tool | client tool recognized from the manager string (kubectl for kubectl-edit/kubectl-patch/kubectl-*) |
fields | compact spec paths the foreign manager owns (e.g. spec.template.spec.containers[app].image), capped at 8 with a +N more tail |
field_count | total spec leaf fields the foreign manager owns on this object (uncapped) |
principal | —identity: the audited principal of the write nearest the drift time (GKE: principalEmail), or the explicit sentinel none-in-audit-window / no-write-time-anchor when the trail cannot answer |
principal_agent | —identity: the caller-supplied client string of that write (a kubectl or controller user-agent), when the trail records one; caller-controlled text, display-only |
other_principals | —identity: other distinct principals that wrote the object inside the audit window, capped at 8 with a +N more tail |
identity | summary note when —identity could not be served: the unavailable marker naming why (no provider / audit capability absent / lookout’s own cloud identity could not obtain an access token) |
ports | Service port(s) exposed without an ingress NetworkPolicy (ServingPortClusterWideNoNetPol) |
accelerator | accelerator resource or node selector detected on the workload, when present |
volumes | comma-separated name:path pairs (capped at 8) of hostPath volumes mounted by the AI workload (SharedModelCacheHostPath) |
service_account | ServiceAccount name used by the AI workload (DefaultSAWithAccelerator) |
containers | count of containers in the AI workload template with an unpinned image reference (UnpinnedModelLoaderImage) |
container_names | comma-separated container names (capped at 8) with an unpinned image reference (UnpinnedModelLoaderImage) |
total_containers | total containers (init + regular) in the AI workload template (UnpinnedModelLoaderImage) |
ai_workloads | summary-line note: count of AI/inference workload templates identified in the scan scope |
skipped_system_namespaces | summary note: distinct system namespaces skipped under --skip-system-namespaces |
cluster | on a node-pool finding: the cluster the pool belongs to, so the record stands alone |
workload_pool | the cluster-wide workload identity pool that this node pool’s pods bypass |
metadata_mode | how the node pool exposes instance metadata to pods: node-identity means any pod can mint tokens for the node’s service account |
disable_legacy_endpoints | the pool’s legacy-metadata setting as the provider records it: enabled when someone turned the pre-v1 endpoints back on, unset when the pool was never configured either way |
node_pools | summary note: node pools examined — the cluster itself is the other unit scanned counts |
endpoint | the control plane’s internet-facing address |
authorized_networks | how many source ranges the allow-list permits |
authorized_network_cidrs | those ranges, sorted as the provider returned them and capped at 8 with a +N more tail |
gcp_public_cidrs | whether the provider’s own public ranges are admitted in addition to the allow-list |
compute_class | the cloud.google.com/compute-class name requested by the workload template |
zone | the availability zone (topology.kubernetes.io/zone) the workload or single-zone node pool is pinned to |
accelerator_zones | zones in the cluster that actually host nodes with the requested accelerator, capped at 8 |
spot_selector | the nodeSelector or affinity expression pinning the workload directly to Spot nodes |
services | count of serving Services routing to the workload, when Service-backed |
service_names | names of the serving Services routing to the workload, capped at 8 |
nodepool | the cloud.google.com/gke-nodepool name for a single-zone node pool |
cluster_zones | distinct availability zones across all nodes in the cluster, capped at 8 |
affected_workloads | workloads with zone topologySpreadConstraints pinned to the single-zone node pool |
affected_workload_names | their Kind/namespace/name, sorted and capped at 8 |
compute_classes | summary note: ComputeClass custom resources listed in the cluster, when the CRD is served |
exempt_kind | the finding kind the entry covers — this is the entry’s kind: field, not this finding’s own kind |
expires | when the entry stops applying, RFC 3339 (a bare YYYY-MM-DD in the file resolves to 00:00:00Z that day) |
expired_for | how long ago the entry lapsed, rounded to whole days — only on audit.exemption_expired |
expires_in | how long until the entry lapses, rounded to whole days — only on audit.exemption_expiring |
owner | the entry’s owner: field, absent if it has none — which is itself worth fixing, since “expired, and nobody knows whose it was” is where these files end up |
justification | the entry’s reason: field: why the exempted finding was accepted. Distinct from the envelope’s exempt_reason, which is the justification for THIS finding being exempt |
capabilities | the node-root capabilities added by those containers (ALL, SYS_ADMIN), sorted and deduplicated |
host_paths | hostPath volumes the template mounts; a declared but unmounted hostPath volume grants no access and is not counted |
host_path_names | the paths on the node, sorted and capped at 8 |
mounting_workloads | workloads in the namespace running as the default ServiceAccount without disabling automount at the pod level; the finding does not fire at 0 |
mounting_workload_names | their Kind/name, sorted and capped at 8 |
pss_enforce | the namespace’s pod-security.kubernetes.io/enforce label, omitted when unset |
pss_warn | its /warn label, omitted when unset — set without /enforce means the namespace is in dry-run |
pss_audit | its /audit label, omitted when unset — same dry-run meaning |
workloads | pod templates this pass judged in the namespace, so an unenforced namespace with nothing in it reads differently from a busy one |
workload_names | their Kind/name, sorted and capped at 8 |
quota | name of the ResourceQuota at or above 90% of its hard limit |
missing_labels | comma-separated required onboarding labels missing from the Namespace |
policies | NetworkPolicies in the namespace naming this direction in policyTypes; 0 on a namespace-subject finding, and the number that failed to select the subject on a workload one |
total_policies | NetworkPolicies in the namespace in either direction, so an egress-only namespace does not read as an empty one |
host_network_workloads | pod templates excluded because they use the node’s network namespace, where NetworkPolicy does not apply; omitted at 0 |
covered_workloads | pod templates in the namespace that ARE selected for this direction — the neighbours the subject fell out of step with |
pod_labels | the template’s own labels, which are what the policies’ selectors failed to match, sorted and capped at 8 |
pod_selector | the dead or allow-all policy’s podSelector, in label-selector syntax |
direction | the direction the permissive rule opens (ingress or egress) |
policy_types | the directions the dead policy names, after defaulting an unset policyTypes |
role | the role the binding points at, as Kind/name |
subjects | subjects the binding grants the role to |
subject_names | those subjects as Kind:name (ServiceAccounts as ServiceAccount:namespace/name), sorted and capped at 8 |
wildcard_rules | rules in the role that use * for verbs or resources |
verbs | the verbs of the broadest wildcard rule, comma-joined |
api_groups | the apiGroups of the broadest wildcard rule, comma-joined, with the core group written as core |
bindings | RoleBindings and ClusterRoleBindings pointing at the role; 0 means it grants nothing today |
platform_managed | summary note: bindings and roles left out because the platform reconciles them (kubernetes.io/bootstrapping=rbac-defaults, or addonmanager.kubernetes.io/mode=Reconcile) |
aggregated_roles | summary note: aggregated ClusterRoles left out of audit.wildcard_rbac, whose rules come from the roles that are judged; omitted when there are none or ClusterRoles are out of scope |
version | the current version of the finding’s subject — the control plane’s, or the node pool’s |
target_version | the version the provider would move this cluster to: its channel’s upgrade target where one is published, otherwise the channel’s default (or —target-version) |
control_plane_version | on a node-pool skew finding: the control-plane version the pool is measured against |
minor_versions_behind | how many minor releases separate the two versions |
channel | the release channel the cluster is subscribed to, and the one whose published versions the comparison used; none when it is subscribed to no channel |
image_type | the provider’s name for the node image the pool runs |
exclusion | the operator’s name for the maintenance exclusion currently in force |
scope | how much of the upgrade stream that exclusion holds back: all-upgrades, minor-upgrades or minor-and-node-upgrades |
ends | when the exclusion lifts, or end-of-support for one that runs until the cluster’s version leaves support |
days_remaining | how much longer the exclusion has left to run |
removed_in | on a deprecated-API finding: the Kubernetes major.minor release that removes the API |
replacement | on a deprecated-API finding: the successor group/version to migrate to |
webhook_group | on a webhook upgrade-blocker finding: the upgrade-critical operation group intercepted (drain-eviction, pod-creation, node-lease, kubelet-csr, csi-storage, control-plane-rbac) |
timeout_seconds | on a webhook timeout finding: the configured webhook timeout in seconds, or default(10) when unset |
min_available | on a PDB upgrade-blocker finding: the configured minAvailable threshold |
max_unavailable | on a PDB upgrade-blocker finding: the configured maxUnavailable threshold |
disruptions_allowed | on a PDB upgrade-blocker finding: the live disruptionsAllowed count |
namespace_pdbs | PodDisruptionBudgets in the workload’s namespace — 0 says the namespace has no PDB culture at all, a non-zero value says this workload was missed |
overlapping_pdb | other PodDisruptionBudgets in the same namespace selecting the same workload |
workload | workload(s) selected by the PodDisruptionBudget, as Kind/name |
liveness_window | the liveness probe’s effective deadline (initialDelaySeconds + failureThreshold * periodSeconds) |
failure_threshold | the probe’s failureThreshold (default 3) |
initial_delay_seconds | the probe’s initialDelaySeconds |
prestop_sleep_seconds | seconds parsed from the container’s preStop sleep hook |
termination_grace_period_seconds | the pod template’s terminationGracePeriodSeconds (default 30) |
min_replicas | the HPA’s spec.minReplicas (nil defaults to 1, matching the API server) |
max_replicas | the HPA’s spec.maxReplicas |
metric | the utilization metric the HPA cannot compute, comma-separated if more than one |
eligible_nodes | nodes satisfying the workload’s REQUIRED placement constraint; an upper bound, since taints and cordons are not subtracted |
cluster_nodes | nodes in the cluster, so eligible_nodes reads as a fraction |
constraint | the label and field keys that narrow placement, sorted and capped at 8 |
concurrency_policy | the CronJob’s effective spec.concurrencyPolicy (default Allow) |
active_deadline_seconds | the CronJob jobTemplate’s spec.activeDeadlineSeconds, when set |
starting_deadline_seconds | the CronJob’s spec.startingDeadlineSeconds |
last_schedule_time | the CronJob’s status.lastScheduleTime, RFC 3339 |
suspended_for | how long spec.suspend has been true, rounded to whole days |
suspended_since | when the suspension is estimated to have started, RFC 3339 |
termination_grace | the pod template’s terminationGracePeriodSeconds (the API default of 30s when unset), the ceiling any preStop hook would run inside |
strategy | the Deployment strategy setting that permits zero surviving pods: strategy.type=Recreate, or rollingUpdate.maxUnavailable=<value> |
pdbs | summary note: PodDisruptionBudgets seen in scope |
hpas | summary note: HorizontalPodAutoscalers seen in scope |
jobs | summary note: Jobs examined for the suspension claim; they count toward scanned but not toward workloads |
cidr | the range’s CIDR block |
purpose | what the range allocates: pods, services, or nodes |
size_gb | orphan.disk: provisioned size in GB (billed whether used or not) |
disk_type | orphan.disk: disk type short name (pd-ssd bills ~4x pd-standard idle) |
unused_since | orphan.disk: last detach (or creation, if never attached), RFC3339; omitted when the provider cannot date it |
unused_for | orphan.disk: how long the disk has been unattached; “unknown” when undatable |
region | orphan.lb, orphan.address, cloud.unavailable (reason=RuleUnresolved): the forwarding rule’s or address’s region (“global” for global ones) |
why | orphan.lb: the provider’s orphan judgment (e.g. which backend resolved empty) |
address | orphan.address: the reserved IP |
network_tier | orphan.address: the address’s network tier (PREMIUM or STANDARD); omitted when the provider records none |
reserved_since | orphan.address: when the address was reserved, RFC3339 — the provider records no release time, so this bounds the idle time from above; omitted when undatable |
reserved_for | orphan.address: how long ago the address was reserved; “unknown” when undatable |
dns_check | orphan.address: the Cloud DNS cross-check run before recommending release — referenced (records in the project’s Cloud DNS zones resolve to the address: reason=ReferencedByDNS, severity info, see dns_records), none_found (no record in the project’s Cloud DNS resolves to it; DNS hosted elsewhere is not checked), or unavailable (the check could not run, see dns_unavailable — verify DNS by hand before releasing) |
dns_records | orphan.address (dns_check=referenced): the records resolving to the address, “<name> <type> in zone <zone>” comma-separated — A/AAAA data and routing-policy targets, or CNAME chains through the project’s records, wildcards included — the first 5, then “and N more” |
dns_unavailable | orphan.address (dns_check=unavailable): why the Cloud DNS check could not run — the permission it needs (dns.managedZones.list or dns.resourceRecordSets.list, both in roles/dns.reader), a disabled Cloud DNS API, or the provider’s error (masked, cut to 200 characters) |
node_count | orphan.nodepool: the pool’s current nodes, counted from the cluster’s Nodes by their cloud.google.com/gke-nodepool label (the provider record carries no live count); never 0 — a pool at zero nodes costs nothing and is not reported |
excluded_pods | orphan.nodepool: running DaemonSet-owned and mirror (static) pods on the pool’s nodes — present, but not workload; 0 when the nodes run nothing at all |
machine_type | orphan.nodepool: the pool’s machine type, what each idle node bills as; omitted when the provider record names none |
autoscaling | orphan.nodepool: enabled or disabled — whether the autoscaler can shrink the pool at all |
min_node_count | orphan.nodepool: the autoscaler’s per-zone minimum; a non-zero floor is what keeps an idle autoscaled pool up (reason IdleMinNodeCount). Omitted when autoscaling is disabled or the pool uses total limits |
max_node_count | orphan.nodepool: the autoscaler’s per-zone maximum; omitted when autoscaling is disabled or the pool uses total limits |
total_min_node_count | orphan.nodepool: the autoscaler’s pool-wide minimum, reported instead of min_node_count when the pool sets total limits |
total_max_node_count | orphan.nodepool: the autoscaler’s pool-wide maximum, reported instead of max_node_count when the pool sets total limits |
autoprovisioned | orphan.nodepool: true when node auto-provisioning created the pool (and deletes it once empty); omitted otherwise |
nodepools_skipped | summary-line note: why —only=nodepools swept no pools although the provider answered (an Autopilot cluster: node pools are provider-managed and billed per pod) |
class | cloud.unavailable (reason=PermissionDenied, SweepFailed or RuleUnresolved): the —only class whose sweep the provider refused or failed (disks, lbs, addresses, nodepools), or that the unresolved rule belongs to (lbs); the other selected classes are still swept, and the summary’s unavailable= note lists each such class with its permission, “sweep failed”, or its count of unresolved rules |
permission | cloud.unavailable (reason=PermissionDenied, or RuleUnresolved on a refusal): the provider permission the refused call needed (e.g. compute.addresses.list, container.clusters.get); omitted when the provider did not name it |
usage | current usage in the quota’s own unit |
limit | the quota limit |
unit | the quota’s unit, when the provider names one |
events | stockout events for this zone/machine-type pair in the window |
first_seen | earliest event in the window (RFC3339) |
last_seen | latest event in the window (RFC3339) |
reroute | same-region zones active in the window with no stockout for this machine type, comma-separated; omitted when the window offers no clean candidate |
pack | the pack this finding belongs to; also the summary-line note naming the pack that ran |
verb | apiserver request verb for this series (apiserver pack) |
priority_level | APF priority level for this series (apf pack) |
code | the HTTP status code the query matched (apf pack: 429) |
observed | the worst (maximum) aligned value in the window, in the query’s unit — the breach basis |
latest | the newest aligned value in the window |
threshold | the crossed threshold: the critical one when severity=critical, else the warning one |
trend | startup pack: second-half vs first-half mean delta of the window, e.g. “+34%” — the p95 trend direction |
likely_workload | on a Service-entry edge.selector_empty: the workload in that namespace whose pod labels best fit the broken selector, i.e. the one it was probably meant to select. Absent when two workloads fit equally well, because then naming one would be a guess |
scaled_to_zero | on an info edge.selector_empty (reason BackendScaledToZero): the Deployments or StatefulSets the selector matches, as <Kind>/<name>, every one of them asking for zero replicas. The Service routes nowhere until one scales up, but nothing is misconfigured |
volume | pod volume, or StatefulSet volumeClaimTemplate, whose reference is broken |
key | the referenced key that is missing from the ConfigMap/Secret |
selector | the Service label selector under scrutiny |
selected | pods the Service selector currently selects |
endpoints | total endpoints across the Service’s EndpointSlices |
slices | how many EndpointSlices back the Service |
pod | pod named by an orphaned endpoint targetRef |
sans | TLS certificate subject alternative names (DNS, then IP, URI, email), comma-separated, the first 5 then +N more; omitted when the certificate has none |
referenced_by | on a certificate finding from the target-free TLS Secret sweep: what in the Secret’s namespace references it, as <Kind>/<name> — workloads by pod template, pods no workload owns, Ingresses by tls — the first 5 then +N more. none = no pod volume, projected volume, env, envFrom or Ingress tls names it (its consumer is outside the cluster, or a Gateway listener, which this pass does not read); unknown = a List those references come from was refused |
via | how the broken reference is reached from the workload: mount, ingress, or imagePullSecret; absent on the TLS Secret sweep’s findings, which carry referenced_by instead |
ingress | Ingress referencing the TLS secret, or the unserved Ingress itself |
host | Ingress rule host of the broken backend (empty for the default backend) |
path | Ingress rule path of the broken backend |
role_ref | dangling roleRef as <Kind>/<name> |
Output contract
Section titled “Output contract”Output: one finding per line (logfmt; —format=json for one JSON object
per line), keys in fixed order; healthy resources emit nothing. The final
line is always the summary: scanned=
Examples
Section titled “Examples”lookout scanlookout scan --namespace=prodlookout scan --include=audit --format=jsonlookout scan --max-drilldown=0