...
1---
2apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 creationTimestamp: null
6 name: statsd-sink
7spec:
8 replicas: 1
9 strategy: {}
10 template:
11 metadata:
12 creationTimestamp: null
13 labels:
14 service: statsd-sink
15 spec:
16 containers:
17 - name: statsd-sink
18 image: hopsoft/graphite-statsd:latest
19 resources: {}
20 restartPolicy: Always
21status: {}
22---
23apiVersion: v1
24kind: Service
25metadata:
26 creationTimestamp: null
27 labels:
28 service: statsd-sink
29 name: statsd-sink
30spec:
31 ports:
32 - protocol: UDP
33 port: 8125
34 name: statsd-metrics
35 - protocol: TCP
36 port: 80
37 name: graphite-www
38 selector:
39 service: statsd-sink
View as plain text