Skip to content

Commit

Permalink
kubernetes yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramraman committed Apr 29, 2019
1 parent a667780 commit 2ff1217
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions deploy/kubernetes/adapter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: prometheus-storage-adapter
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: prometheus-storage-adapter
template:
metadata:
labels:
app: prometheus-storage-adapter
spec:
containers:
- name: prometheus-storage-adapter
image: wavefronthq/prometheus-storage-adapter:latest
command:
- /bin/adapter
- -listen=1234
- -proxy=wavefront-proxy.default.svc.cluster.local
- -proxy-port=2878
- -prefix=<enter-metrics-prefix>
---
apiVersion: v1
kind: Service
metadata:
name: storage-adapter-service
spec:
selector:
app: prometheus-storage-adapter
ports:
- name: adapter-port
protocol: TCP
port: 80
targetPort: 1234

0 comments on commit 2ff1217

Please sign in to comment.