Skip to main content

K8s Events

Overview​

K8s Events watches the Kubernetes API server for cluster events (pod scheduling, OOM kills, image pulls, probe failures, scaling) and emits them as log records.

Supported platforms

  • Kubernetes: Logs

Deployment Context​

ParameterTypeDefaultRequiredDescription
kindstringDeploymentYesFixed Deployment (single-replica enforced).
enable_leader_electionbooleantrueNoHA: Only one replica watches API (avoids duplicates).
replica_scaling_typestringmanualNomanual/auto (replicas=1 fixed).
replicasinteger1ConditionalRequired for manual scaling.
priorityClassbooleanfalseNoEnable priority class.
priorityClassNamestring—ConditionalWhen priorityClass=true.
apply_tolerationsbooleanfalseNoRun on control-plane nodes.

Event Filtering​

ParameterTypeDefaultRequiredDescription
namespacesarray[]NoWatch specific namespaces (empty=all).

Security & Advanced​

ParameterTypeDefaultRequiredDescription
insecure_skip_verifybooleanfalseNoSkip TLS certificate verification when connecting to the Kubernetes API server.

Example Configuration​

{
// Deployment Context
"kind": "Deployment",
"enable_leader_election": true,
"replica_scaling_type": "manual",
"replicas": 1,
"priorityClass": true,
"priorityClassName": "system-cluster-critical",
"apply_tolerations": false,
"insecure_skip_verify": false,

// Event Filtering
"namespaces": ["default", "production"],
}