lookout watch
lookout watch is the watch-path half of the binary: a resident
per-cluster sentinel that turns leading indicators into per-incident agent
sessions on a core-agent daemon.
lookout watch [flags]Signal sources are individually enabled via --sources; the default,
auto, probes each portable source’s needs at startup and enables what the
deployment supports. Flags of a disabled source are
still validated — a nonsensical value is a config error in every mode.
The table is generated from the sentinel’s real flag declarations
(internal/watch.FlagInventory), sorted by name. The core flag
surface is
pinned by TestFlagSurfaceFrozen: removing or renaming one of those is a
breaking change to running deployments, never a refactor.
| Flag | Type | Default | Meaning |
|---|---|---|---|
--access-recheck | duration | 2m0s | How often to re-run the SelfSubjectAccessReview probe over every enabled source’s declared access, so a grant revoked AFTER startup surfaces as a kind=sentinel.access_revoked signal instead of a silently empty watch. A denial must repeat across two consecutive sweeps before it counts, so IAM propagation does not read as a revocation. Losing a REQUIRED permission stops this cluster’s runner (the same terminal path a startup refusal takes); an optional one degrades loudly and keeps running. 0 disables the re-check. |
--alert-excludes | string | — | Path to a YAML file of alert-exclude rules (experimental): top-level excludes: list where each rule specifies involved-object kind (case-insensitive) plus at least one narrowing matcher (namespace, reason, or name with optional trailing * prefix), and optional multi-cluster cluster/project/location. Matches across all signal kinds (so excluding Pod FailedScheduling also demotes capacity.pending-aged). Matching signals downgrade to severity=info (persisted when —store is set; counted and logged via info-drop when —store is unset) after —severity and triage-status overrides. Hot-reloaded every 1m and on SIGHUP without restarting; missing, unreadable, or malformed files at startup, or combining with —mode=shared, exit 2. |
--autopilot-scale-to-zero-hold | bool | true | Hold unruled FailedScheduling events whose exact message is ‘no nodes available to schedule pods’ when pkg/cloud.Provider reports a GKE Autopilot cluster (experimental). Active only when the capacity source is enabled; fails open (inactive) when no cloud provider is linked or ClusterConfig is unavailable. |
--ax-ca-file | string | — | PEM file of CA certificates added to the system roots when verifying the —ax-server TLS certificate (for a front with a private CA). Requires —ax-server-tls. Applies to the AX API only: the router is verified against —ax-router-trust-bundle. |
--ax-router-credential-bundle | string | /run/podidentity.podcert.ate.dev/credential-bundle.pem | Client credential for an https —ax-router-url: the credentialBundlePath file of a podCertificate projected volume from signer podidentity.podcert.ate.dev/identity (a PKCS#8 private key followed by the certificate chain, leaf first). Re-read as the kubelet rotates it. The default is where Agent Substrate’s own components mount it. Set it empty for one-way TLS against the system roots instead (a TLS-terminating front that does its own client authentication). Only valid with —sink=ax and an https —ax-router-url. |
--ax-router-server-name | string | atenet-router.ate-system.svc | Name the router’s certificate is verified against (and sent as SNI), for an https —ax-router-url with a credential bundle. The default is the only name on Substrate’s router certificate, which omits the .cluster.local suffix the default URL uses. Empty verifies the URL’s host instead. Every Service in the cluster can get a certificate from the same CA for its own name, so this check is what identifies the router. Only valid with —sink=ax and —ax-router-credential-bundle. |
--ax-router-trust-bundle | string | /run/servicedns-ca/trust-bundle.pem | PEM bundle the router’s certificate must chain to, for an https —ax-router-url with a credential bundle: a clusterTrustBundle projection of signer servicedns.podcert.ate.dev/identity, label podcert.ate.dev/canarying=live. Re-read as it rotates. Only valid with —sink=ax and —ax-router-credential-bundle. |
--ax-router-url | string | https://atenet-router.ate-system.svc.cluster.local | Agent Substrate router the ax sink reaches its tasks through (no trailing slash). An https URL is mutual TLS: lookout presents the pod certificate in —ax-router-credential-bundle and verifies the router against —ax-router-trust-bundle and —ax-router-server-name, which is the only ingress Substrate v0.6 and later serve; the pod’s SPIFFE ID, spiffe://cluster.local/ns/<namespace>/sa/<serviceaccount>, must be in Substrate’s ingressAllowedSPIFFEIDs. An http URL is plain HTTP, for a Substrate v0.5 or earlier router (the default before lookout v0.43). Only valid with —sink=ax. |
--ax-server | string | — | Agent Executor (AX) API address (host:port; plaintext gRPC unless —ax-server-tls), e.g. ax-server.ax-system.svc:8080. Required with —sink=ax: incidents run in AX tasks (docs/ax-sink-design.md). |
--ax-server-tls | bool | — | Dial —ax-server over TLS, verifying its certificate against the system roots (or —ax-ca-file) and the host name in —ax-server. Off by default: AX itself serves plaintext gRPC, so TLS needs a front that terminates it (a load balancer, gateway or mesh), which is the shape for an AX in another cluster. Only valid with —sink=ax. |
--ax-task-scope | string | incident | How the ax sink maps incidents onto AX tasks: incident (default: each incident and each storm runs in its own task, named from lookout’s incident identity, plus one watchboard task per cluster) or cluster (one long-lived task per cluster, named from the cluster name; every incident gets its own session in it, which uses far fewer Substrate workers). Either way, an incident that comes back reopens into its earlier session; with —store that survives a restart. Only valid with —sink=ax. |
--ax-task-template | string | — | Path to the AX Task manifest every incident and storm task runs as (image, command, egress, http.port), and the watchboard task when —ax-watchboard-task-template is unset; the ax sink sets metadata.name per task (see —ax-task-scope). Required with —sink=ax. |
--ax-token-env | string | — | Env var name holding a bearer token (e.g. a Google ID token or service JWT) sent as per-RPC authorization metadata on every AX gRPC call. Optional (unset = unauthenticated gRPC); requires —ax-server-tls and —sink=ax. |
--ax-watchboard-task-template | string | — | Path to the AX Task manifest the cluster’s watchboard task (lookout-wb-<cluster>-<hash8>) runs as; defaults to —ax-task-template when unset so existing deployments behave identically. Lets the long-lived watchboard digest session use a distinct prompt, step budget, or resource limits from per-incident tasks. Only valid with —sink=ax and —ax-task-scope=incident. |
--backoff-min-count | int | 3 | Require the crash-loop family (canonical CrashLoopBackOff — kubelet’s repeating BackOff cycle) to reach this Event.Count before firing, so a transient startup blip that self-heals does not open a noise session. Image-pull backoff is gated separately by —imagepull-transient-min-count. 1 fires on the first event. |
--burn-eta | duration | 30m0s | Budget-exhaustion projection inside this window fires token.burn at critical (with the linear forecast); clearance requires the ETA to recede beyond 2x this threshold. Must be > 0. |
--burn-multiple | float | 4 | Session token rate at or above this multiple of the cross-session trailing-median baseline (sustained 2 polls) fires token.burn at warning. Must be > 1. |
--capacity-poll | duration | 1m0s | Poll interval for the capacity source’s cluster-autoscaler-status ConfigMap read, provider scale-decision query, and pending-pod age sweep. Must be > 0. |
--cluster-name | string | — | Human-readable cluster name included in every inject payload. |
--clusters | string | — | Multi-cluster: comma-separated name=endpoint pairs to watch from one process, e.g. prod-us=abc.us-central1.gke.goog,prod-eu=def.europe-west1.gke.goog. A bare endpoint derives a short name from its first DNS label. Mutually exclusive with —clusters-from; needs a Fleet-capable provider (-tags gke). Leave empty for the one-sentinel-per-cluster default. |
--clusters-from | string | — | Multi-cluster: discover the clusters to watch instead of listing them. A comma-separated list of scopes, which may be mixed: a project or project/location (GKE: Container API ListClusters), fleet:<host-project> (a GKE fleet’s member clusters, across projects), folders/<id> or organizations/<id> (every cluster beneath, found through Cloud Asset Inventory, or a Resource Manager walk of the folder tree when that API is off or unsearchable, which is logged). Cloud scopes need a Fleet-capable provider (-tags gke) and run as its identity; clusters found twice are watched once. Or the reserved value kubeconfig (optionally kubeconfig:<path>) to watch one cluster per context in a kubeconfig instead — no cloud API and no build tag, so EKS, on-prem and kind fleets work; with no path it follows client-go’s search ($KUBECONFIG, colon-separated and merged, else ~/.kube/config), which is also how you select a subset. Mutually exclusive with —clusters. |
--daemon-url | string | — | Base URL of the core-agent daemon (http://… or https://…). Required. |
--dedup-persist | string | — | Optional path to persist dedup cache across sidecar restart. In multi-cluster mode this is a stem: each runner gets its own file, suffixed with the cluster’s project/location/name, so snapshots never clobber each other. |
--dedup-window | duration | 5m0s | Rolling window for (uid,reason) dedup. An incident still open when its window lapses gets a reminder followup (repeat_count) instead of a new open; reminders back off from this window, doubling, to 1h. |
--degradation-drop | float | 0.3 | Minimum ready-ratio decline from window start (with >= 2 distinct downward steps) that fires degradation.capacity. Must be in (0, 1]. |
--degradation-window | duration | 15m0s | Trend window for the degradation source’s ready-ratio series and probe-flap counting. Must be > 0. |
--distill-interval | duration | 6h0m0s | How often the distiller pass converts recurring occurrences into durable memory facts (requires —store; the pass reads the last 7d of occurrences). 0 disables distillation. Must be >= 0. |
--dry-run | bool | — | Watch the cluster for real (informers, sources, filter/dedup/routing all run) but print inject payloads to stdout instead of calling the daemon/sink. Needs cluster access like a normal run. |
--enrich | string | critical | Which severities get enrichment on their per-incident session’s initial inject: critical (default), warning (critical+warning), or off. |
--enrich-cap | int | 4096 | Byte budget for the attached enrichment bundle (fixed budget). Kept under —inject-max-bytes so the bundle plus the rest of the payload clears the daemon’s per-inject ceiling with headroom for the double-JSON envelope. Truncation happens at section boundaries; dropped sections become overflow trailers naming the lookout command that reproduces them. |
--enrich-lists | string | all | Which cluster resources the scoped-list enrichment fallback reads: ‘all’ (default), a comma-separated allowlist (pods,deployments), or subtractions (all,-secrets) to keep the watcher SA least-privilege. Denied or deselected lists degrade to a partial bundle with a skipped= note on the head, never a resolve failure. |
--enrich-lists-preflight | bool | — | Before the scoped-list pass, SelfSubjectAccessReview each selected resource and drop the denied ones proactively (fewer 403s in the watcher log); falls back to reactive Forbidden-skip if SSAR is not permitted. |
--enrich-log-lines | int | 200 | Log tail per container stream distilled into the enrichment bundle’s logs section. Must be >= 1. |
--enrich-timeout | duration | 5s | Hard wall-clock budget for one enrichment run; on expiry the inject fires with whatever sections completed plus enrichment_error trailers. Must be > 0. |
--exclude-namespace | string | — | Comma-separated deny-list of namespaces. Scopes the watch: the informers list and watch with a metadata.namespace!= field selector, so these namespaces never enter the cache. Cluster-scoped objects (nodes) are unaffected. Under —watch-scope=namespace there is nothing left to exclude: only the listed namespaces are watched, and naming one of them here is a usage error. |
--expiry-acme-grace | duration | 15m0s | How long a cert-manager ACME Challenge may stay pending (or an Order stay pending with no Challenge), timed from its creationTimestamp, before expiry.challenge_stuck / expiry.order_failed fires; terminal failures (invalid/errored/expired) fire on observation. Discovery-gated on acme.cert-manager.io. Also the first-issuance grace for a cert-manager Certificate that has never issued: still Ready=False (DoesNotExist/Issuing) with no recorded failure, it is not reported until this long after its creationTimestamp. Must be > 0. |
--expiry-interval | duration | 1h0m0s | Interval between expiry scans (periodic paged LISTs — deliberately no Secret informer). Must be > 0. |
--expiry-namespaces | string | — | Comma-separated namespaces the expiry scan LISTs secrets/serviceaccounts/Certificates in. Empty = all namespaces (the —watch-scope namespaces under —watch-scope=namespace). Scopes the sensitive secrets-list grant — the startup RBAC probe verifies exactly this scope. |
--expiry-warn | duration | 336h0m0s | Warning threshold for expiry.warning: certificates with notAfter inside this window fire at warning severity (critical at the design-fixed 72h). Must be >= 72h. |
--failedscheduling-min-count | int | 5 | Require an unruled FailedScheduling event to reach this Event.Count before passing the verdict gate (experimental). Active only when the capacity source is enabled; 1 disables the count backstop. Disable all four FailedScheduling knobs (—failedscheduling-min-count=1 —failedscheduling-min-span=0 —scaleup-hold=0 —autopilot-scale-to-zero-hold=false) to restore event-#1 pass-through. |
--failedscheduling-min-span | duration | 2m0s | Require an unruled FailedScheduling event past —failedscheduling-min-count to span at least this duration (LastSeen - FirstSeen) before firing (experimental). Active only when the capacity source is enabled; 0 disables the span backstop. |
--gateway-grace | duration | 5m0s | How long a Gateway/HTTPRoute status condition (Programmed/Accepted/ResolvedRefs=False, reason != Pending) must be sustained — timed from its lastTransitionTime — before gateway.programming_failed / gateway.route_rejected fires. Absorbs normal LB provisioning latency. Must be > 0. |
--graph-snapshot-interval | duration | 5m0s | How often to persist a compressed topology snapshot to —store (the per-delta change log is written continuously). Effective only with —store AND storm correlation on (the graph feed). Must be > 0. |
--imagepull-transient-min-count | int | 3 | Require an image-pull failure whose cause is RETRYABLE (registry 429/quota, 5xx, timeout, connection reset) to reach this Event.Count before firing, so a rate limit kubelet clears on its own does not open a noise session. Terminal causes (bad tag, denied, no space) and unrecognized ones still fire on the first event. 1 fires on the first event. |
--in-cluster | bool | — | Use in-cluster service account credentials. Auto-detected inside a pod. |
--inject-max-bytes | int | 8192 | Per-inject wire-body ceiling the dispatcher fits payloads to before POSTing (default matches the core-agent daemon’s 8192-byte limit). An over-limit payload is shrunk least-signal-first — enrichment dropped, then message truncated — never identity, so the incident still routes; without this the daemon 400s the whole inject and a new incident lands as an empty session (issue #198). |
--kube-burst | int | 100 | Client-side Kubernetes API burst ceiling. Must be >= 1. |
--kube-qps | float | 50 | Client-side Kubernetes API request rate limit (queries per second). Must be > 0. |
--kubeconfig | string | — | Explicit kubeconfig path. Used outside a pod. |
--log-level | string | info | One of: debug, info, warn, error. |
--metrics-addr | string | — | Prometheus /metrics + /healthz + /readyz listener address (host:port). Empty = disabled. |
--mode | string | per-incident | Session routing mode: per-incident (create per (uid,reason)) or shared (all to —target-session). |
--namespace | string | — | Comma-separated allow-list of namespaces. Empty = all namespaces. A post-watch output filter, NOT a watch scope or a security boundary: every namespace is still listed, watched and cached. Use —exclude-namespace to shrink what is watched, or —watch-scope=namespace to make the namespaces named here the watch scope (and a security boundary). |
--notifications-subscription | string | — | Subscription the notifications source reads (GKE: a Pub/Sub subscription on the cluster’s notificationConfig topic) — either projects/<p>/subscriptions/<name> or a bare name resolved against the provider project. Required when the notifications source is enabled. |
--otel-exporter | string | none | OpenTelemetry span exporter: none | console | otlp. The OTEL_TRACES_EXPORTER env var overrides this. |
--owner | string | — | X-Asserted-Caller value for POST /sessions in per-incident mode. Sidecar must be in daemon’s proxy_identities. |
--pending-age | duration | 5m0s | How long a pod must be Pending+Unschedulable before capacity.pending-aged fires at warning (critical at the design-fixed 15m, or at this value when set higher). Must be > 0. |
--project | string | — | Cloud project/account the cluster runs in, stamped into payloads. Empty = detect from the cloud provider’s metadata when a provider is compiled in; vanilla clusters can set it explicitly. |
--quota-poll | duration | 15m0s | Poll interval for the quota source’s inventory read and per-watched-quota history query. Must be > 0. |
--quota-warn | float | 0.8 | Usage/limit ratio above which a quota is always watched (history fetched every poll) in addition to the top-10 nearest exhaustion. Must be in (0, 1). |
--quota-window | duration | 168h0m0s | History window the quota usage slope is fitted over (the linear-<window> confidence basis); a forecast needs usage points spanning at least half of it. Must be > 0. |
--reason | string | — | Comma-separated allow-list of Event.Reason values. Empty = shipped default set. |
--recovery-stable-for | duration | 5m0s | How long a cleared symptom must stay clear before kind=resolved is injected into the incident’s session; recurrence within this window after a resolve fires kind=resolved.reverted. 0 disables recovery tracking. |
--region | string | — | Region the cluster runs in, stamped into payloads. Set for zonal and regional clusters alike. Empty = detect from the cloud provider’s metadata when a provider is compiled in; vanilla clusters can set it explicitly. Setting either —region or —zone stops metadata detection for BOTH — a half-flagged location would mix a flag’s region with a metadata zone somewhere else. |
--rollout-observe | duration | 3m0s | How long a new revision must make zero ready-count progress (while the old revision stays healthy) before rollout.stall fires. Fired well before progressDeadlineSeconds. |
--saturation-interval | duration | 30s | Sampling interval for the saturation source (metrics.k8s.io + kubelet volume stats). |
--saturation-warn | duration | 1h0m0s | Forecast ETA below which saturation.forecast fires at severity warning (critical fires below 15m); clearance requires the ETA to recede beyond 2x this threshold. |
--saturation-window | duration | 1h30m0s | Regression window for saturation forecasts; a forecast needs samples spanning at least half of it (the linear-<window>-window confidence basis). |
--scaleup-hold | duration | 15m0s | How long a cluster-autoscaler TriggeredScaleUp verdict holds FailedScheduling events for that pod, measured from the verdict timestamp to the event’s LastSeen (experimental). Active only when the capacity source is enabled; NotTriggerScaleUp and FailedScaleUp release the hold immediately, and capacity.pending-aged bounds any forged-event mute at 15m. 0 disables the hold. |
--settle | duration | — | Minimum wall-clock span (LastSeen - FirstSeen) a settle-family k8s-event failure (canonical CrashLoopBackOff, or allowlisted transient Failed startup-race messages) must last after crossing its count threshold before forwarding (experimental). 0 (the default) leaves count-only timing unchanged; e.g. —settle=2m opts into the settle hold and reports forwarded vs self_resolved outcomes on lookout_watch_gate_outcomes_total{gate=settle}. FailedMount, Unhealthy, ImagePullBackOff, FailedScheduling, OOMKilled, Evicted, NodeNotReady, NetworkNotReady, and non-allowlisted Failed are exempt. Must be >= 0. |
--severity | repeatable | — | Per-kind severity override(s): kind=level[,kind=level…] with level one of critical|warning|info. Repeatable and additive; overrides the source-stamped default for that kind. Each kind may appear at most once. |
--sink | string | core-agent | Agent sink receiving incident payloads: core-agent (default: POST /sessions + /sessions/<sid>/inject against —daemon-url) or webhook (generic receiver: POST <sink-url>/incidents opens an incident with the schema-v1 payload JSON as the body; POST <sink-url>/incidents/<id>/events appends follow-ups), or ax (incidents run in Agent Executor tasks, one per incident or one per cluster, reached through Agent Substrate’s router with the core-agent session calls; see —ax-server and —ax-task-scope). |
--sink-token-env | string | — | Env var name holding the bearer token the webhook sink sends as Authorization: Bearer. Optional (unset = unauthenticated POSTs); only valid with —sink=webhook. |
--sink-url | string | — | Base URL of the generic webhook receiver (no trailing slash). Required with —sink=webhook. https is STRONGLY recommended: plain http is allowed (remote receivers are the point) but warns loudly at startup — incident payloads and the bearer token ride unencrypted. |
--snapshot-interval | duration | 30s | How often to persist the dedup cache when —dedup-persist is set. 0 = only on shutdown. |
--sources | string | auto | Comma-separated signal sources to enable, or auto (the default): probe the portable sources’ needs at startup — RBAC via SelfSubjectAccessReview, plus metrics.k8s.io presence for saturation — and enable what this deployment supports, skipping misses with one loud line each (k8s-events must pass; a sentinel that cannot watch events is misdeployed). Known sources: k8s-events, object-state, rollout, workload, autoscaling, saturation, degradation, expiry, capacity, ingress, gateway, quota, notifications, token-burn. quota (project tier), notifications (needs —notifications-subscription), and token-burn (core-agent cost stack) are never auto-enabled. An explicit list keeps semantics: a named source’s missing REQUIRED grant is fatal (optional dimensions — saturation’s nodes/proxy PVC read — still degrade loudly instead, issue #145). |
--store | string | — | Path to the sentinel-local SQLite occurrence store, e.g. /var/lib/lookout/lookout.db — put it on the —dedup-persist volume. Every emitted signal is recorded with its routing outcome; info-severity signals are persisted instead of dropped. In multi-cluster mode this is a stem: each runner opens its own file, suffixed with the cluster name, and —store-max-mb bounds EACH one. Reach a fleet file from the CLI with the same stem plus —store-cluster. Empty (default) disables the store. |
--store-max-mb | int | 512 | Size bound for the occurrence store in MiB; when exceeded, the oldest occurrences are pruned first (loudly). Bounds EACH store, so a multi-cluster fleet may use this much per cluster — a deliberate choice over a fleet budget divided N ways, which would make one cluster’s retention depend on how many clusters discovery found. Must be >= 1. |
--store-ttl | duration | 720h0m0s | Retention for stored occurrences (default 30 days); the prune loop deletes older rows. Must be > 0. |
--storm | string | auto | Storm correlation: auto (the default — probe the graph informers’ grants at startup: pods/nodes/replicasets list+watch; all present resolves on, a miss resolves off with one loud line naming the grant), on (fatal at startup when a grant is missing), or off. true/false are aliases for on/off; bare —storm is no longer valid syntax. When on, new incidents sharing a blast-radius key (nearest common topology ancestor) group into one kind=storm session. |
--storm-cluster-fallback | bool | true | Group simultaneous NODE failures that nothing else groups (issue #334) under a synthetic Cluster ancestor, so a fleet-wide outage is one page instead of one per node. Applies only to nodes carrying no topology.kubernetes.io/zone label (a zone key is the modelled answer and always wins) and is deliberately expensive to trigger: a fifth of the fleet, at least 3 nodes, all inside 20s, and the storm expires after 5 idle minutes. Set false to keep one session per node. Requires storm correlation on. |
--storm-min | int | 3 | Minimum incidents sharing a blast-radius key within —storm-window to form a storm. Must be >= 2. |
--storm-mine | bool | — | Also correlate on DISCOVERED keys (issue #225): when —storm-mine-min incidents in the window share an exact image reference, node or container, group them into one storm even though no topology ancestor or external dependency connects them. Off by default — a mined key is circumstantial, so it needs more members than a modelled one, and every mined storm names what it grouped on. Requires storm correlation on. |
--storm-mine-min | int | — | Minimum incidents sharing a mined attribute value to form a storm. 0 (the default) means auto: the larger of 5 and —storm-min. An explicit value must be >= —storm-min — a discovered key must never be cheaper to form than a modelled one. Effective only with —storm-mine. |
--storm-window | duration | 1m0s | Second-level correlation window for storm formation. 0 disables correlation even with —storm=on. |
--target-session | string | — | Required when —mode=shared: SessionID to post all injects to. |
--token-budget-usd | float | — | Per-session spend budget in USD for the token-burn source’s critical trigger; 0 (default) = unknown, budget trigger disarmed. Lookout-side config because core-agent v2.7.0 does not expose its CostCeiling over the attach API (TODO(core-agent) in pkg/sources/tokenburn). Must be >= 0. |
--token-endpoint | string | — | Override base URL for the core-agent cost stack (default: —daemon-url — the boundary rides the same daemon the injector talks to). No trailing slash. |
--token-env | string | — | Env var name holding the bearer token for the daemon. Required. |
--token-poll | duration | 1m0s | Poll interval for the token-burn source’s cost-stack reads (core-agent GET /sessions + per-session /usage). Must be > 0. |
--triage-regress-factor | int | 3 | A downgraded incident (severity_override) whose dedup-window count reaches this multiple of its count at downgrade time gets ONE kind=triage.regressed evidence followup into its bound session — never an automatic re-page (docs/triage-status-write-design.md). Must be >= 2; 0 disables. |
--unhealthy-min-count | int | 3 | Require this many consecutive Unhealthy events before firing. |
--watch-scope | string | cluster | What the informers list and watch: cluster (the default — every namespace) or namespace (only the namespaces listed in —namespace, comma-separated; —namespace is then a real watch scope and a security boundary, and each listed namespace needs only a namespaced Role). In namespace scope cluster-scoped objects are still read cluster-wide where a source needs them (nodes, persistent volumes, webhook configurations): with a node-read ClusterRole beside the Roles, node-dependent sources and storm correlation keep working; under Roles alone —sources=auto skips them, a named one fails startup, and —storm=auto resolves off — one log line each. A listed namespace whose Event grant is refused is skipped loudly (lookout_namespace_errors_total), not fatal, unless every one is. Applies to every cluster in multi-cluster mode. |
--watchboard-batch | int | 5 | Buffered warning-class signals that trigger a watchboard digest flush (per-incident mode). Must be >= 1. |
--watchboard-flush | duration | 1m0s | Maximum age of a buffered warning before the watchboard digest flushes regardless of batch size. Must be > 0. |
--watchboard-rotate | int | 200 | Digest injects per watchboard session before size-based rotation opens a fresh session. Must be >= 1. |
--zone | string | — | Zone the cluster runs in, stamped into payloads. Set it only for a ZONAL cluster: a regional cluster has no zone of its own (its nodes are spread across the region’s zones), and leaving it empty there is the correct answer, not a gap. The failure domain — this zone when set, else —region — is what enters the signal fingerprint hash, so a deployment that stamps neither produces domain-less fingerprints: stable, but cross-cluster joins within a failure domain need one stamped. |
See also: Signal kinds — everything the sentinel can inject; Prometheus metrics — the --metrics-addr surface.