Skip to content

Commit 60d0679

Browse files
committed
refactor: integrated observability into main eoapi chart
1 parent 904ed78 commit 60d0679

File tree

17 files changed

+1000
-573
lines changed

17 files changed

+1000
-573
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Refactors eoapi-support into core eoapi chart [#262](https://github.com/developmentseed/eoapi-k8s/pull/262)
13+
1014
## [0.7.13] - 2025-11-04
1115

1216
### Added
@@ -44,10 +48,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4448
- Adjusted Renovate Configuration to fit conventional commits [#295](https://github.com/developmentseed/eoapi-k8s/pull/295)
4549
- Notification triggers in database [#289](https://github.com/developmentseed/eoapi-k8s/pull/289)
4650

47-
### Changed
48-
49-
- Excluded renovate.json from CHANGELOG.md edits [#301](https://github.com/developmentseed/eoapi-k8s/pull/301)
50-
5151
## [0.7.8] - 2025-09-10
5252

5353
### Added

charts/eoapi-support/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

charts/eoapi-support/.helmignore

Lines changed: 0 additions & 30 deletions
This file was deleted.

charts/eoapi-support/Chart.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

charts/eoapi-support/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

charts/eoapi-support/values.yaml

Lines changed: 0 additions & 178 deletions
This file was deleted.

charts/eoapi/Chart.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,19 @@ dependencies:
6161
version: v1.20.0
6262
repository: https://knative.github.io/operator
6363
condition: knative.enabled
64+
- name: metrics-server
65+
version: 7.4.12
66+
repository: https://charts.bitnami.com/bitnami
67+
condition: monitoring.metricsServer.enabled
68+
- name: prometheus
69+
version: 27.45.0
70+
repository: https://prometheus-community.github.io/helm-charts
71+
condition: monitoring.prometheus.enabled
72+
- name: prometheus-adapter
73+
version: 5.2.0
74+
repository: https://prometheus-community.github.io/helm-charts
75+
condition: monitoring.prometheusAdapter.enabled
76+
- name: grafana
77+
version: 10.1.4
78+
repository: https://grafana.github.io/helm-charts
79+
condition: observability.grafana.enabled

charts/eoapi/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ A Helm chart for deploying Earth Observation APIs with integrated STAC, raster,
1414
- Flexible database configuration
1515
- Real-time PostgreSQL notifications for STAC item changes
1616
- Unified ingress system
17+
- Autoscaling
18+
- Integrated observability (Prometheus & Grafana)
1719

1820
## TL;DR
1921

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{{/*
2+
Common monitoring configurations to avoid duplication across values files
3+
*/}}
4+
5+
{{/*
6+
Standard monitoring configuration with environment-specific settings
7+
Usage: {{ include "eoapi.monitoring.config" (dict "context" . "environment" "production" "persistence" true) }}
8+
Environments: basic, production, testing
9+
*/}}
10+
{{- define "eoapi.monitoring.config" -}}
11+
{{- $ctx := .context -}}
12+
{{- $env := .environment | default "basic" -}}
13+
{{- $persistence := .persistence | default false -}}
14+
metricsServer:
15+
enabled: true
16+
apiService:
17+
create: true
18+
prometheus:
19+
enabled: true
20+
alertmanager:
21+
enabled: {{ if eq $env "production" }}true{{ else }}false{{ end }}
22+
prometheus-pushgateway:
23+
enabled: false
24+
kube-state-metrics:
25+
enabled: true
26+
prometheus-node-exporter:
27+
enabled: true
28+
resources: {{- include "eoapi.resources.small" $ctx | nindent 6 }}
29+
server:
30+
service:
31+
type: ClusterIP
32+
{{- if $persistence }}
33+
persistentVolume:
34+
enabled: true
35+
size: 10Gi
36+
{{- else }}
37+
persistentVolume:
38+
enabled: false
39+
{{- end }}
40+
{{- end -}}

0 commit comments

Comments
 (0)