Skip to content

Commit a8393dd

Browse files
[ONPREM-1865] Set port name for Grafana (#25)
* Set port name for Grafana It's required * Bump chart version to 0.1.0-alpha.1
1 parent 3a7dd1b commit a8393dd

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: server-monitoring-stack
33
description: A reference Helm chart for setting up a monitoring stack for CircleCI server
4-
version: 0.1.0-alpha.0
4+
version: 0.1.0-alpha.1
55
dependencies:
66
- name: prometheus-operator-crds
77
version: 18.0.*

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This repository is currently under active development and is not yet a supported
99

1010
A reference Helm chart for setting up a monitoring stack for CircleCI server
1111

12-
![Version: 0.1.0-alpha.0](https://img.shields.io/badge/Version-0.1.0--alpha.0-informational?style=flat-square)
12+
![Version: 0.1.0-alpha.1](https://img.shields.io/badge/Version-0.1.0--alpha.1-informational?style=flat-square)
1313

1414
## Installing the Monitoring Stack
1515

@@ -47,7 +47,7 @@ $ helm repo update
4747
Before installing the full chart, you must first install the dependency subcharts, including the Prometheus Custom Resource Definitions (CRDs) and the Grafana operator chart. This assumes you are installing it in the same namespace as your CircleCI server installation:
4848

4949
```bash
50-
$ helm install server-monitoring-stack server-monitoring-stack/server-monitoring-stack --set global.enabled=false --set prometheusOperator.installCRDs=true --version 0.1.0-alpha.0 -n <your-server-namespace>
50+
$ helm install server-monitoring-stack server-monitoring-stack/server-monitoring-stack --set global.enabled=false --set prometheusOperator.installCRDs=true --version 0.1.0-alpha.1 -n <your-server-namespace>
5151
```
5252
> **_NOTE:_** It's possible to install the monitoring stack in a different namespace than the CircleCI server installation. If you do so, set the `prometheus.serviceMonitor.selectorNamespaces` value with the target namespace.
5353
@@ -56,7 +56,7 @@ $ helm install server-monitoring-stack server-monitoring-stack/server-monitoring
5656
Next, install the Helm chart using the following command:
5757

5858
```bash
59-
$ helm upgrade --install server-monitoring-stack server-monitoring-stack/server-monitoring-stack --reset-values --version 0.1.0-alpha.0 -n <your-server-namespace>
59+
$ helm upgrade --install server-monitoring-stack server-monitoring-stack/server-monitoring-stack --reset-values --version 0.1.0-alpha.1 -n <your-server-namespace>
6060
```
6161

6262
### 5. Verify Prometheus Is Up and Targeting Telegraf

templates/grafana/grafana.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ spec:
3232
spec:
3333
type: {{ .service.type }}
3434
ports:
35-
- port: {{ .service.port }}
35+
- name: http
36+
port: {{ .service.port }}
3637
targetPort: 3000
3738
protocol: TCP
3839
{{- if .ingress.enabled }}

0 commit comments

Comments
 (0)