-
Notifications
You must be signed in to change notification settings - Fork 2
/
deployment.yaml
84 lines (84 loc) · 2.1 KB
/
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: vector-aggregator
name: vector-aggregator
namespace: vector
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: vector-aggregator
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
app: vector-aggregator
creationTimestamp: null
labels:
app: vector-aggregator
name: vector-aggregator
namespace: vector
spec:
containers:
- args:
- --config
- /etc/vector/*.toml
env:
- name: VECTOR_SELF_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: VECTOR_SELF_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: VECTOR_SELF_POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: LOG
value: info
image: quay.io/dciancio/vector
imagePullPolicy: IfNotPresent
name: vector
ports:
- containerPort: 9000
protocol: TCP
resources:
limits:
memory: 736Mi
requests:
cpu: 100m
memory: 736Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/vector/vector.toml
name: vector-aggregator-conf
readOnly: true
subPath: vector.toml
- mountPath: /var/lib/vector
name: filebufferstorage
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsUser: 1000
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 10
volumes:
- configMap:
defaultMode: 272
name: vector-aggregator-conf
name: vector-aggregator-conf
- emptyDir: {}
name: filebufferstorage