Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Commit 8dab554

Browse files
authored
Merge pull request #37 from keptn-contrib/patch/merge-service-and-distributors
Merge service and distributors
2 parents 59bb81b + f3dc286 commit 8dab554

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

deploy/distributor.yaml

-36
This file was deleted.

deploy/service.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,39 @@ spec:
4747
protocol: TCP
4848
selector:
4949
run: prometheus-service
50+
---
51+
## prometheus-service sh.keptn.event.monitoring-configure-distributor
52+
apiVersion: apps/v1
53+
kind: Deployment
54+
metadata:
55+
name: prometheus-service-monitoring-configure-distributor
56+
namespace: keptn
57+
spec:
58+
selector:
59+
matchLabels:
60+
run: distributor
61+
replicas: 1
62+
template:
63+
metadata:
64+
labels:
65+
run: distributor
66+
spec:
67+
containers:
68+
- name: distributor
69+
image: keptn/distributor:latest
70+
ports:
71+
- containerPort: 8080
72+
resources:
73+
requests:
74+
memory: "32Mi"
75+
cpu: "50m"
76+
limits:
77+
memory: "128Mi"
78+
cpu: "500m"
79+
env:
80+
- name: PUBSUB_URL
81+
value: 'nats://keptn-nats-cluster'
82+
- name: PUBSUB_TOPIC
83+
value: 'sh.keptn.event.monitoring.configure'
84+
- name: PUBSUB_RECIPIENT
85+
value: 'prometheus-service'

0 commit comments

Comments
 (0)