Skip to content

Commit

Permalink
feat: added Jaeger
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <mateusz.urbanek.98@gmail.com>
  • Loading branch information
shanduur committed Apr 30, 2024
1 parent 8f0faf8 commit cfb145e
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,16 @@ Now you're ready to customize and manage your deployments according to your need

## Accessing services

| Service | Command | Access |
|------------|----------------------------------------------------------------------------|------------------------------------------------|
| S3GW | `kubectl port-forward -n=kube-system svc/s3gw-kube-system-ui-s3gw 8000:80` | [http://localhost:8000](http://localhost:8000) |
| Prometheus | `kubectl port-forward -n=prometheus-system svc/prometheus-server 8080:80` | [http://localhost:8080](http://localhost:8080) |
| Parca | `kubectl port-forward -n=parca-system svc/parca-server 7070:7070` | [http://localhost:7070](http://localhost:7070) |
| Service | Command | Access |
|------------|-----------------------------------------------------------------------------|--------------------------------------------------|
| Jaeger | `kubectl port-forward -n=observability svc/jaeger-query 10080:80` | [http://localhost:10080](http://localhost:10080) |
| Parca | `kubectl port-forward -n=parca-system svc/parca-server 10180:7070` | [http://localhost:10180](http://localhost:10180) |
| Prometheus | `kubectl port-forward -n=prometheus-system svc/prometheus-server 10280:80` | [http://localhost:10280](http://localhost:10280) |
| S3GW | `kubectl port-forward -n=kube-system svc/s3gw-kube-system-ui-s3gw 10380:80` | [http://localhost:10380](http://localhost:10380) |

## FAQ

1. **Why no Grafana?**
The main disadvantage is time. Managing Grafana and making sure the updates are not breaking the cluster, dashboards and data sources requires too much effort for our liking.
2. **Why no tracing agnet?**
We are not settled on the tracing (yet). If we do decide to implement it into `registry-operator` (or any of the auxiliary apps), we will add Jaeger.
3. **Why no logs collection?**
2. **Why no logs collection?**
Like with the Grafana - this would turn the dev clusters from cattle to pets, especially if we consider _Loki_ and _Promtail_ setup. Ain't nobody got time for this.
4 changes: 4 additions & 0 deletions clusters/dev/cert-manager/cert-manager.HelmRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ spec:
interval: 1m0s
releaseName: cert-manager
targetNamespace: cert-manager
install:
crds: CreateReplace
upgrade:
crds: CreateReplace
values:
installCRDs: true
4 changes: 4 additions & 0 deletions clusters/dev/kube-system/s3gw.HelmRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
interval: 1m0s
releaseName: s3gw
targetNamespace: kube-system
install:
crds: CreateReplace
upgrade:
crds: CreateReplace
values:
ingress:
enabled: false
Expand Down
4 changes: 4 additions & 0 deletions clusters/dev/observability/Namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: observability
26 changes: 26 additions & 0 deletions clusters/dev/observability/jaeger.HelmRelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: jaeger
namespace: observability
spec:
chart:
spec:
chart: jaeger
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: jaegertracing
version: "3.0.4"
interval: 1m0s
releaseName: jaeger
targetNamespace: observability
install:
crds: CreateReplace
upgrade:
crds: CreateReplace
values:
provisionDataStore:
cassandra: false
storage:
type: badger
8 changes: 8 additions & 0 deletions clusters/dev/observability/jaegertracing.HelmRepository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: jaegertracing
namespace: observability
spec:
interval: 5m0s
url: https://jaegertracing.github.io/helm-charts
4 changes: 4 additions & 0 deletions clusters/dev/observability/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
provisionDataStore:
cassandra: false
storage:
type: badger
4 changes: 4 additions & 0 deletions clusters/dev/parca-system/parca.HelmRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ spec:
interval: 1m0s
releaseName: parca
targetNamespace: parca-system
install:
crds: CreateReplace
upgrade:
crds: CreateReplace
4 changes: 4 additions & 0 deletions clusters/dev/prometheus-system/prometheus.HelmRelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ spec:
interval: 1m0s
releaseName: prometheus
targetNamespace: prometheus-system
install:
crds: CreateReplace
upgrade:
crds: CreateReplace

0 comments on commit cfb145e

Please sign in to comment.