Skip to main content

General Configuration

ParameterDescriptionRequiredDefault
maxRecentLogLinesOptional Max tail log lines in messages, if it's not provided it will get all log lines webhook URLNo0
namespacesOptional comma separated list of namespaces that you want to watch or forbid, if it's not provided it will watch all namespaces. If you want to forbid a namespace, configure it with "!<namespace_name>". You can either set forbidden namespaces or allowed, not both.No[]
ignoreFailedGracefulShutdownIf set to true, containers which are forcefully killed during shutdown (as their graceful shutdown failed) are not reported as errorNofalse
disableUpdateCheckIf set to true, does not check for and notify about kwatch updatesNofalse

Example

apiVersion: v1
kind: Namespace
metadata:
name: kwatch
---
apiVersion: v1
kind: ConfigMap
metadata:
name: kwatch
namespace: kwatch
data:
config.yaml: |
maxRecentLogLines: 20
ignoreFailedGracefulShutdown: true
namespaces:
- default