Skip to content

Commit ff99a45

Browse files
committed
made prometheus and grafana available in the kubernetes setup
1 parent 6bb8146 commit ff99a45

14 files changed

Lines changed: 792 additions & 1 deletion

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ helm uninstall bytebite --namespace team-bytebite # To take down later
166166

167167
Open http://localhost:80
168168

169+
The local Helm values also expose monitoring services when supported by your
170+
local cluster:
171+
172+
- Prometheus: http://localhost:9090
173+
- Grafana: http://localhost:3000 (`admin` / `bytebite`)
174+
169175
#### Kubernetes Deployment to the AET cluster
170176

171177
Prerequisite: The `team-bytebite` namespace must exist in the cluster.
@@ -186,3 +192,5 @@ helm uninstall bytebite --namespace team-bytebite # To take down later
186192
```
187193

188194
The app is available at https://team-bytebite.stud.k8s.aet.cit.tum.de
195+
Grafana is available at https://team-bytebite.stud.k8s.aet.cit.tum.de/grafana
196+
when `monitoring.enabled` and `monitoring.grafana.ingress.enabled` are true.

helm/bytebite/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ByteBite Helm Chart
22

3-
Deploys the ByteBite application (client, api-gateway, user-service, grocery-service, gen-ai) to Kubernetes.
3+
Deploys the ByteBite application (client, api-gateway, user-service, grocery-service, gen-ai)
4+
and the optional monitoring stack (Prometheus + Grafana) to Kubernetes.
45

56
## Prerequisites
67

@@ -29,6 +30,11 @@ helm uninstall bytebite --namespace team-bytebite
2930
| `ingress.tls` | Enable TLS via cert-manager | `true` |
3031
| `genai.logosKey` | Logos API key for the default gen-ai provider | `""` |
3132
| `genai.openaiApiKey` | OpenAI API key for the selectable OpenAI provider | `""` |
33+
| `monitoring.enabled` | Deploy Prometheus and Grafana | `true` |
34+
| `monitoring.grafana.adminUser` | Grafana admin username | `admin` |
35+
| `monitoring.grafana.adminPassword` | Grafana admin password | `bytebite` |
36+
| `monitoring.grafana.ingress.enabled` | Expose Grafana under the main ingress host | `true` |
37+
| `monitoring.grafana.ingress.path` | Grafana ingress path | `/grafana` |
3238
| `client.image.tag` | Client image tag | `latest` |
3339
| `apiGateway.image.tag` | API gateway image tag | `latest` |
3440
| `userService.image.tag` | User service image tag | `latest` |

0 commit comments

Comments
 (0)