-
Notifications
You must be signed in to change notification settings - Fork 2
/
honeycomb-opentracing-proxy.yaml
58 lines (58 loc) · 1.37 KB
/
honeycomb-opentracing-proxy.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: honeycomb-opentracing-proxy
namespace: default
spec:
replicas: 2
selector:
matchLabels:
app: honeycomb-opentracing-proxy
template:
metadata:
labels:
app: honeycomb-opentracing-proxy
spec:
containers:
- name: honeycomb-opentracing-proxy
image: honeycombio/honeycomb-opentracing-proxy
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9411
args:
- -d
- "$(HONEYCOMB_DATASET)"
- -k
- "$(HONEYCOMB_WRITEKEY)"
- --debug
# To also send spans to a Zipkin collector listening at
# zipkin.default:9411, uncomment the following lines:
# - --downstream
# - zipkin.default:9411
env:
- name: HONEYCOMB_WRITEKEY
valueFrom:
secretKeyRef:
key: key
name: honeycomb-writekey
- name: HONEYCOMB_DATASET
valueFrom:
secretKeyRef:
key: dataset
name: honeycomb-writekey
---
apiVersion: v1
kind: Service
metadata:
name: honeycomb-opentracing-proxy
labels:
app: honeycomb-opentracing-proxy
namespace: default
spec:
ports:
- name: honeycomb-opentracing-proxy
port: 9411
targetPort: 9411
selector:
app: honeycomb-opentracing-proxy