-
Notifications
You must be signed in to change notification settings - Fork 6
/
kube-events-exporter-deployment.yaml
94 lines (94 loc) · 4.16 KB
/
kube-events-exporter-deployment.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: events-exporter
app.kubernetes.io/name: kube-events-exporter
app.kubernetes.io/version: 0.1.0
name: kube-events-exporter
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/component: events-exporter
app.kubernetes.io/name: kube-events-exporter
template:
metadata:
labels:
app.kubernetes.io/component: events-exporter
app.kubernetes.io/name: kube-events-exporter
app.kubernetes.io/version: 0.1.0
spec:
containers:
- args:
- --event-types=Warning
- --involved-object-api-groups=admissionregistration.k8s.io/v1
- --involved-object-api-groups=apiextensions.k8s.io/v1
- --involved-object-api-groups=apiregistration.k8s.io/v1
- --involved-object-api-groups=apps/v1
- --involved-object-api-groups=authentication.k8s.io/v1
- --involved-object-api-groups=authorization.k8s.io/v1
- --involved-object-api-groups=autoscaling/v1
- --involved-object-api-groups=batch/v1
- --involved-object-api-groups=batch/v1beta1
- --involved-object-api-groups=certificates.k8s.io/v1beta1
- --involved-object-api-groups=coordination.k8s.io/v1
- --involved-object-api-groups=discovery.k8s.io/v1beta1
- --involved-object-api-groups=extensions/v1beta1
- --involved-object-api-groups=monitoring.coreos.com/v1
- --involved-object-api-groups=networking.k8s.io/v1
- --involved-object-api-groups=networking.k8s.io/v1beta1
- --involved-object-api-groups=node.k8s.io/v1beta1
- --involved-object-api-groups=policy/v1beta1
- --involved-object-api-groups=rbac.authorization.k8s.io/v1
- --involved-object-api-groups=scheduling.k8s.io/v1
- --involved-object-api-groups=storage.k8s.io/v1
- --involved-object-api-groups=v1
- --involved-object-namespaces=default
- --involved-object-namespaces=kube-node-lease
- --involved-object-namespaces=kube-public
- --involved-object-namespaces=kube-system
- --reporting-controllers=attachdetach-controller
- --reporting-controllers=aws-cloud-provider
- --reporting-controllers=azure-cloud-provider
- --reporting-controllers=cidrAllocator
- --reporting-controllers=cloud-controller-manager
- --reporting-controllers=cloud-node-lifecycle-controller
- --reporting-controllers=cloudCIDRAllocator
- --reporting-controllers=controllermanager
- --reporting-controllers=cronjob-controller
- --reporting-controllers=daemonset-controller
- --reporting-controllers=deployment-controller
- --reporting-controllers=endpoint-controller
- --reporting-controllers=endpoint-slice-controller
- --reporting-controllers=g-cloudprovider
- --reporting-controllers=horizontal-pod-autoscaler
- --reporting-controllers=ipallocator-repair-controller
- --reporting-controllers=job-controller
- --reporting-controllers=kube-controller-manager
- --reporting-controllers=kube-proxy
- --reporting-controllers=kubelet
- --reporting-controllers=node-controller
- --reporting-controllers=persistentvolume-controller
- --reporting-controllers=portallocator-repair-controller
- --reporting-controllers=replicaset-controller
- --reporting-controllers=replication-controller
- --reporting-controllers=route_controller
- --reporting-controllers=scheduler
- --reporting-controllers=service-controller
- --reporting-controllers=statefulset-controller
- --reporting-controllers=taint-controller
- --reporting-controllers=ttl-after-finished-controller
- --reporting-controllers=volume_expand
image: quay.io/dgrisonnet/kube-events-exporter:v0.1.0
name: kube-events-exporter
ports:
- containerPort: 8080
name: event
- containerPort: 8081
name: exporter
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: kube-events-exporter