Skip to content

Commit

Permalink
Merge pull request #15 from spotahome/devops-631-allow-grafana-gather…
Browse files Browse the repository at this point in the history
…-metrics

Devops 631 allow grafana to gather metrics
  • Loading branch information
jchanam authored Jan 2, 2018
2 parents f2e4d3a + 4fc424f commit 8c9a2d0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/redisoperator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm chart for the Spotahome Redis Operator
name: redisoperator
version: 1.1.1
version: 1.1.2
4 changes: 4 additions & 0 deletions charts/redisoperator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ spec:
imagePullPolicy: {{ .Values.pullPolicy }}
resources:
{{ toYaml .Values.resources | indent 10 }}
ports:
- containerPort: 9710
name: metrics
protocol: TCP
15 changes: 15 additions & 0 deletions charts/redisoperator/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "name" . | quote }}
labels:
component: app
{{ include "common-labels" . | indent 4 }}
spec:
selector:
component: app
{{ include "common-labels" . | indent 4 }}
ports:
- name: metrics
port: 9710
protocol: TCP

0 comments on commit 8c9a2d0

Please sign in to comment.