-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk8s.yaml
45 lines (45 loc) · 1.06 KB
/
k8s.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
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
labels:
app: al-log-syslog
name: al-log-syslog
spec:
template:
metadata:
labels:
app: al-log-syslog
spec:
hostNetwork: true
containers:
- name: al-log-syslog
image: quay.io/wealthwizards/al-log-syslog:latest
imagePullPolicy: Always
resources:
requests:
memory: "100Mi"
cpu: "0.01"
limits:
memory: "500Mi"
cpu: "1"
env:
- name: REGISTRATION_KEY
value: "your_alert_logic_key_goes_in_here"
ports:
- containerPort: 1514
name: collector-port
livenessProbe:
exec:
command:
- ls
- /var/alertlogic/etc/remote_crt.pem
initialDelaySeconds: 5
periodSeconds: 6
readinessProbe:
tcpSocket:
port: 1514
initialDelaySeconds: 5
periodSeconds: 6
restartPolicy: Always
tolerations:
- operator: "Exists"