Skip to content

Commit

Permalink
feat: add node port for grafana
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Morey <[email protected]>
  • Loading branch information
morey-tech committed Nov 24, 2023
1 parent c5705df commit 74ba1dc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion grafana/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ resources:
- https://raw.githubusercontent.com/keptn/lifecycle-toolkit/klt-v0.8.2/examples/support/observability/config/prometheus/grafana-dashboard-keptn-applications.yaml
- https://raw.githubusercontent.com/keptn/lifecycle-toolkit/klt-v0.8.2/examples/support/observability/config/prometheus/grafana-dashboard-keptn-overview.yaml
- https://raw.githubusercontent.com/keptn/lifecycle-toolkit/klt-v0.8.2/examples/support/observability/config/prometheus/grafana-dashboard-keptn-workloads.yaml
- ./datasources.yaml
- ./datasources.yaml
- ./service.yaml
12 changes: 12 additions & 0 deletions grafana/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: observability-stack-grafana
spec:
ports:
- name: http-web
port: 80 # port on the service
protocol: TCP
targetPort: 3000 # port on the container
nodePort: 31445 # port on the node
type: NodePort
12 changes: 0 additions & 12 deletions jaeger/service.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion kind-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ nodes:
hostPort: 8080 # Port on host running the kind cluster.
- containerPort: 31444 # NodePort for Keptn `lifecycle-operator-metrics-service` service (metrics).
hostPort: 8081
- containerPort: 31445 # NodePort for Keptn `lifecycle-operator-metrics-service` service (metrics).
- containerPort: 31445 # NodePort for Grafana `observability-stack-grafana` service (dashboards).
hostPort: 8082

0 comments on commit 74ba1dc

Please sign in to comment.