-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample-config.yaml
58 lines (58 loc) · 1.42 KB
/
example-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: 1
sinks:
stdout:
type: stdout
kube-events:
type: slack
hook_url: SECRET
devops:
type: slack
hook_url: SECRET
compact: yes
mappings:
- sink: stdout
- sink: kube-events
exclude:
- Pod:*:Scheduled
- Pod:*:SuccessfulAttachVolume
- Pod:*:Pulling
- Pod:*:Pulled
- Pod:*:Created
- Pod:*:Started
- Pod:*:Killing
- Pod:*:NetworkNotReady
- Deployment:*:ScalingReplicaSet
- ReplicaSet:*:SuccessfulCreate
- ReplicaSet:*:SuccessfulDelete
- StatefulSet:*:SuccessfulCreate
- StatefulSet:*:SuccessfulDelete
- CronJob:*:SuccessfulCreate
- CronJob:*:SuccessfulDelete
- CronJob:*:SawCompletedJob
- Job:*:SuccessfulCreate
- Job:*:SuccessfulDelete
- Job:*:Completed
- DaemonSet:*:SuccessfulCreate
- DaemonSet:*:SuccessfulDelete
- Service:*:UpdatedLoadBalancer
- Service:*:EnsuringLoadBalancer
- Service:*:EnsuredLoadBalancer
- Ingress:*:CREATE
- Ingress:*:UPDATE
- ConfigMap:kube-system/cluster-autoscaler-status:*
- :kube-system/resource-tracker:BigQueryUpload
- Node:gke-c1-teamcity-sandbox-*:*
- '*:teamcity-sandbox/*:*'
- '*(kubelet/gke-c1-teamcity-sandbox-*)'
- Node:*:ContainerdStart
- Node:*:DockerStart
- Node:*:DockerStart
- Node:*:KubeletStart
- Node:*:NodeHasSufficientMemory
- Node:*:NodeHasNoDiskPressure
- Node:*:NodeHasSufficientPID
- Node:*:NodeAllocatableEnforced
- sink: devops
include:
- 'Pod:*:ContainerRestart'
- 'Pod:*:BackOff'