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
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
| kind | string | Deployment | Yes | Fixed Deployment (single-replica enforced). |
| enable_leader_election | boolean | true | No | HA: Only one replica watches API (avoids duplicates). |
| replica_scaling_type | string | manual | No | manual/auto (replicas=1 fixed). |
| replicas | integer | 1 | Conditional | Required for manual scaling. |
| priorityClass | boolean | false | No | Enable priority class. |
| priorityClassName | string | — | Conditional | When priorityClass=true. |
| apply_tolerations | boolean | false | No | Run on control-plane nodes. |
Event Filtering
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
| namespaces | array | [] | No | Watch specific namespaces (empty=all). |
Security & Advanced
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
| insecure_skip_verify | boolean | false | No | Skip 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"],
}