-
Notifications
You must be signed in to change notification settings - Fork 633
Expand file tree
/
Copy path00-install.yaml
More file actions
61 lines (61 loc) · 1.71 KB
/
Copy path00-install.yaml
File metadata and controls
61 lines (61 loc) · 1.71 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
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: smoke-collector
annotations:
regular-annotation: regular-value
spec:
mode: daemonset
# daemonset-specific fields
hostNetwork: true
hostPID: true
terminationGracePeriodSeconds: 600
daemonSetUpdateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
# NOTE: shareProcessNamespace is intentionally NOT set here: the Kubernetes API
# rejects a pod that sets both shareProcessNamespace and hostPID. It is covered
# in the deployment and statefulset smoke tests instead.
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']
# Keep the receiver config minimal: with hostNetwork=true every container port
# binds a node port, so we avoid declaring extra ports that could collide with
# other tests running in parallel.
config:
receivers:
jaeger:
protocols:
grpc: {}
exporters:
debug: {}
service:
pipelines:
traces:
receivers: [jaeger]
exporters: [debug]