-
Notifications
You must be signed in to change notification settings - Fork 649
Expand file tree
/
Copy path00-install.yaml
More file actions
68 lines (68 loc) · 1.6 KB
/
Copy path00-install.yaml
File metadata and controls
68 lines (68 loc) · 1.6 KB
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
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: smoke-collector
annotations:
regular-annotation: regular-value
spec:
mode: statefulset
replicas: 1
# statefulset-specific fields
podManagementPolicy: OrderedReady
terminationGracePeriodSeconds: 600
volumes:
- name: testvolume
volumeMounts:
- name: testvolume
mountPath: /usr/share/testvolume
volumeClaimTemplates:
- metadata:
name: testvolume
labels:
test: "true"
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 1Gi
# common pod-spec fields
shareProcessNamespace: true
nodeSelector:
kubernetes.io/os: linux
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/os
operator: In
values:
- linux
podAnnotations:
pod-annotation1: value1
pod-annotation2: value2
podDnsConfig:
nameservers:
- 8.8.8.8
searches:
- my.dns.search.suffix
initContainers:
- name: init-test-echo
image: mirror.gcr.io/library/alpine:latest
command: ['sh', '-c', 'echo "init done"']
additionalContainers:
- name: alpine
image: mirror.gcr.io/library/alpine:latest
command: ['sh', '-c', 'while true; do sleep 30; done']
config:
receivers:
jaeger:
protocols:
grpc: {}
exporters:
debug: {}
service:
pipelines:
traces:
receivers: [jaeger]
exporters: [debug]