-
Notifications
You must be signed in to change notification settings - Fork 0
/
otel-collector-deployment.yaml
55 lines (55 loc) · 1.54 KB
/
otel-collector-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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: otel-collector
name: otel-collector
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: otel-collector
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.network/pytest_otel: "true"
io.kompose.service: otel-collector
spec:
containers:
- args:
- --config=/etc/otel-collector-config.yaml
- ""
image: otel/opentelemetry-collector-contrib-dev:latest
livenessProbe:
exec:
command:
- curl --write-out 'HTTP %{http_code}' --fail --silent --output /dev/null http://localhost:13133/
failureThreshold: 20
periodSeconds: 10
name: otel-collector
ports:
- containerPort: 1888
- containerPort: 13133
- containerPort: 4317
- containerPort: 55679
resources: {}
volumeMounts:
- mountPath: /etc/otel-collector-config.yaml
name: otel-collector-claim0
subPath: otel-collector-config.yaml
restartPolicy: Always
volumes:
- name: otel-collector-claim0
configMap:
name: otel-collector-config-yaml
status: {}