Skip to main content

Configuration reference

This page is generated from the Kwatch configuration catalog. Edit the Go configuration source and catalog metadata instead of editing this page.

Performance​

FieldTypeDefaultStatusDescription
resyncSecondsinteger300activePeriodic safety resync interval in seconds; zero keeps event-driven mode, otherwise at least 30.

Scope​

FieldTypeDefaultStatusDescription
namespaceslistallactiveComma-separated namespaces to watch; leave empty to watch every namespace.
namespaceSelectorstringemptyactivePro only. Kubernetes label selector used to choose namespaces.
reasonslistallactivePro only. Comma-separated event reasons to allow or exclude with a leading !.
watch.secretsbooleantrueactiveWatch Secrets (values hashed, never stored); false removes Secret RBAC and Secret-based checks report that they cannot verify.
investigation.logsbooleantrueactiveRead container logs for Pro evidence (redacted, bounded); false reads no log and shows the log section as turned off.

Alerts​

FieldTypeDefaultStatusDescription
severityByOwnerKindjson{}activePro only. JSON map overriding severity by workload owner kind.
severityByReasonjson{}activePro only. JSON map overriding severity by detected reason.

Monitors​

FieldTypeDefaultStatusDescription
heartbeatMonitor.enabledbooleanfalseactivePro only. Send a periodic external dead-man heartbeat.
heartbeatMonitor.intervalinteger300activePro only. Seconds between heartbeat notifications.
activeProbeMonitor.enabledbooleanfalseactivePro only. Run explicitly configured application probes.
activeProbeMonitor.intervalSecondsinteger30activePro only. Seconds between active probe rounds.
activeProbeMonitor.timeoutSecondsinteger5activePro only. Timeout for each active probe.
activeProbeMonitor.failureThresholdinteger3activePro only. Consecutive probe failures before alerting.
activeProbeMonitor.autoServicesbooleanfalseactivePro only. Probe discoverable Service ports automatically; opt in to avoid unexpected traffic.
activeProbeMonitor.excludeNamespaceslist[]activePro only. Namespaces automatic Service probing skips, for default-deny ingress that does not admit kwatch.
activeProbeMonitor.httpjson[]activePro only. JSON array of HTTP probe targets with optional paths, headers, and latency limits.
activeProbeMonitor.tcpjson[]activePro only. JSON array of TCP probe targets.
activeProbeMonitor.dnsjson[]activePro only. JSON array of DNS probe targets.
activeProbeMonitor.autoDependenciesbooleanfalseactivePro only. Probe the endpoints outside the cluster that pod environments name, over TCP; a refused dependency explains its callers.

Operations​

FieldTypeDefaultStatusDescription
upgrader.disableUpdateCheckbooleanfalseactiveDisable the update notification.
telemetry.enabledbooleantrueactiveSend the weekly adoption heartbeat.
maintenance.enabledbooleantrueactivePro only. Honor maintenance annotations while preserving cluster-level alerts.
maintenance.annotationstringkwatch.dev/maintenanceactivePro only. Annotation that marks deliberate maintenance on a resource.
maintenance.untilAnnotationstringkwatch.dev/maintenance-untilactivePro only. Optional annotation containing the maintenance expiry timestamp.
app.clusterNamestringemptyactiveCluster name shown in notifications.
app.proxyURLstringemptyactiveOptional proxy for outbound provider requests.
app.disableStartupMessagebooleanfalseactiveDisable the startup notification.
app.logFormatterstringtextactiveLog output format: text or json.
healthCheck.enabledbooleantrueactiveExpose the built-in health endpoint.
healthCheck.portinteger8060activePort for health and optional diagnostic endpoints.
crd.enabledbooleanfalseactiveWatch KwatchConfig and supported CRD status conditions; restart kwatch when configuration changes; enabled by the interactive installer after installing the CRD.
auditLog.enabledbooleantrueactivePro only. Write structured incident lifecycle records to the configured audit sink.
auditLog.outputstringstdoutactivePro only. Audit output: stdout or a supported output sink.
templatesjson{}activePro only. JSON map of optional reason-specific message templates.
runbooksjson{}activePro only. JSON map of reason-to-runbook URLs.
app.hideProHintsbooleanfalseactiveRemove every Pro hint from Community messages: the note that names what kwatch Pro adds, the teaser ("Pro shows which one…"), "Pro shows how to fix it." and the Pro-checks notes; the "Cause found: …" sentence stays.
license.keystringemptyactivekwatch Pro license key; reference it as ${KWATCH_LICENSE_KEY}. The KWATCH_LICENSE_KEY variable wins over this setting. Empty runs the Community edition.
app.communityProviderstringemptyactiveAlert provider the Community edition keeps when several are configured; empty keeps a pager first, then chat and the rest, then email, with the name breaking a tie.
dashboard.enabledbooleanfalseactiveServe the read-only incident dashboard API on a separate listener; Pro only, off by default.
dashboard.portinteger8061activePort for the dashboard API listener; must not equal healthCheck.port.

Security​

FieldTypeDefaultStatusDescription
app.insecureSkipTLSVerifybooleanfalseactiveSkip TLS verification for outbound providers; strongly discouraged.
app.caBundlePathstringemptyactivePath to a mounted PEM bundle for outbound provider TLS.
heartbeatMonitor.urlstringemptysecretPro only. External dead-man heartbeat URL; stored only through a mounted Secret.
kubelet.insecureSkipVerifybooleanfalseactiveSkip kubelet serving certificate verification for direct node stats reads; only for self-signed kubelet certificates.
healthCheck.statusEndpointbooleanfalseactivePro only. Serve the read-only /status view (object names, no authentication) on the health port; off by default.
dashboard.tlsCertFilestringemptyactiveCertificate file kwatch serves on the dashboard port itself (with tlsKeyFile); reloaded when it changes.
dashboard.tlsKeyFilestringemptyactiveKey file for dashboard.tlsCertFile.
dashboard.trustedProxieslistnullactiveCIDRs or addresses of the proxies that terminate TLS in front of the dashboard; X-Forwarded-For and X-Forwarded-Proto count only from them, and any entry makes the dashboard https only.

Noise reduction​

FieldTypeDefaultStatusDescription
silencesjson[]activeJSON array of scoped silence rules, including eventMessages substring matches for attached Kubernetes Events.

Compatibility​

FieldTypeDefaultStatusDescription
ignoreContainerNameslistlegacydeprecatedLegacy container suppression field.
ignorePodNameslistlegacydeprecatedLegacy pod-name suppression field.
ignoreContainerMessageslistlegacydeprecatedLegacy container-message suppression field.
ignoreNodeReasonslistlegacydeprecatedLegacy node-reason suppression field.
ignoreNodeMessageslistlegacydeprecatedLegacy node-message suppression field.
clusterCheckinsbooleanemptydeprecatedRemoved: kwatch no longer sends cluster check-ins. Accepted and ignored with a deprecation notice; use heartbeatMonitor (Pro) to learn when kwatch stops.