-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstackdriver-agent.yaml
43 lines (43 loc) · 951 Bytes
/
stackdriver-agent.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
apiVersion: apps/v1beta2
kind: DaemonSet
metadata:
name: stackdriver-agent
namespace: kube-system
spec:
selector:
matchLabels:
app: stackdriver-agent
template:
metadata:
labels:
app: stackdriver-agent
spec:
tolerations:
- key: node-role.kubernetes.io/master
operator: Equal
effect: NoSchedule
hostPID: true
hostIPC: true
hostNetwork: true
containers:
- name: stackdriver-agent
image: poeyashi/stackdriver-agent:latest
securityContext:
privileged: true
volumeMounts:
- mountPath: /mnt/proc
name: procmnt
env:
- name: MONITOR_HOST
value: "true"
resources:
requests:
cpu: 25m
memory: 128Mi
limits:
cpu: 25m
memory: 256Mi
volumes:
- name: procmnt
hostPath:
path: /proc