forked from sysdiglabs/aks-audit-log
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml.in
57 lines (57 loc) · 1.7 KB
/
deployment.yaml.in
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
---
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: aks-audit-log-forwarder
labels:
app: aks-audit-log-forwarder
spec:
selector:
matchLabels:
app: aks-audit-log-forwarder
strategy:
type: Recreate
template:
metadata:
labels:
app: aks-audit-log-forwarder
spec:
containers:
- image: sysdiglabs/aks-audit-log-forwarder:$ImageVersion
imagePullPolicy: $ImagePullPolicy
name: aks-audit-log-forwarder
resources:
# Resources needed are subjective to the actual workload.
# Please refer to Sysdig Support for more info.
requests:
cpu: 20m
memory: 512Mi
limits:
cpu: 200m
memory: 1024Mi
readinessProbe:
exec:
command:
- wget
- localhost:5000/metrics
- --spider
initialDelaySeconds: 10
livenessProbe:
httpGet:
path: /metrics
port: 5000
initialDelaySeconds: 10
periodSeconds: 20
env:
- name: EhubNamespaceConnectionString
value: "$EhubNamespaceConnectionString"
- name: BlobStorageConnectionString
value: "$BlobStorageConnectionString"
- name: EventHubName
value: "insights-logs-kube-audit"
- name: BlobContainerName
value: "kubeauditlogcontainer"
- name: WebSinkURL
value: "http://falco-k8saudit-webhook:9765/k8s-audit"
- name: VerboseLevel
value: "$VerboseLevel"