Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
325 changes: 254 additions & 71 deletions .github/workflows/helm-tests.yml

Large diffs are not rendered by default.

654 changes: 654 additions & 0 deletions .github/workflows/tests/test_autoscaling.py

Large diffs are not rendered by default.

522 changes: 522 additions & 0 deletions .github/workflows/tests/test_observability.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ charts/config.yaml
charts/eoapi/charts/*.tgz
config_ingress.yaml
__pycache__

CLAUDE.md
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Added knative in CI to test eoapi-notifier.

## [0.7.12] - 2025-10-17

- Bumped eoapi-notifier dependency version to 0.0.7
Expand Down Expand Up @@ -34,7 +36,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Excluded renovate.json from CHANGELOG.md edits [#301](https://github.com/developmentseed/eoapi-k8s/pull/301)
- Refactores eoapi-support into core eoapi chart [#262](https://github.com/developmentseed/eoapi-k8s/pull/262)


## [0.7.8] - 2025-09-10

Expand Down
2 changes: 0 additions & 2 deletions charts/eoapi-support/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions charts/eoapi-support/.helmignore

This file was deleted.

33 changes: 0 additions & 33 deletions charts/eoapi-support/Chart.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions charts/eoapi-support/README.md

This file was deleted.

178 changes: 0 additions & 178 deletions charts/eoapi-support/values.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions charts/eoapi/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,27 @@ dependencies:
version: 0.0.7
repository: "oci://ghcr.io/developmentseed/charts"
condition: eoapi-notifier.enabled

# Optional monitoring components for metrics collection and autoscaling
# These are disabled by default to keep deployments lightweight
# Enable via: monitoring.prometheus.enabled=true, monitoring.metricsServer.enabled=true
- name: metrics-server
version: 7.2.8
repository: https://charts.bitnami.com/bitnami
condition: monitoring.metricsServer.enabled

- name: prometheus
version: 25.3.1
repository: https://prometheus-community.github.io/helm-charts
condition: monitoring.prometheus.enabled

- name: prometheus-adapter
version: 4.7.1
repository: https://prometheus-community.github.io/helm-charts
condition: monitoring.prometheusAdapter.enabled

# Observability components - Grafana dashboards and visualization
- name: grafana
version: 7.3.3
repository: https://grafana.github.io/helm-charts
condition: observability.grafana.enabled
2 changes: 2 additions & 0 deletions charts/eoapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ A Helm chart for deploying Earth Observation APIs with integrated STAC, raster,
- Flexible database configuration
- Real-time PostgreSQL notifications for STAC item changes
- Unified ingress system
- Autoscaling
- Integrated observability (Prometheus & Grafana)

## TL;DR

Expand Down
80 changes: 80 additions & 0 deletions charts/eoapi/templates/_monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{{/*
Common monitoring configurations to avoid duplication across values files
*/}}

{{/*
Basic monitoring stack configuration
*/}}
{{- define "eoapi.monitoring.basic" -}}
metricsServer:
enabled: true
apiService:
create: true
prometheus:
enabled: true
alertmanager:
enabled: false
prometheus-pushgateway:
enabled: false
kube-state-metrics:
enabled: true
prometheus-node-exporter:
enabled: true
resources: {{- include "eoapi.resources.small" . | nindent 6 }}
server:
service:
type: ClusterIP
{{- end -}}

{{/*
Production monitoring with persistence
*/}}
{{- define "eoapi.monitoring.production" -}}
metricsServer:
enabled: true
apiService:
create: true
prometheus:
enabled: true
alertmanager:
enabled: true
prometheus-pushgateway:
enabled: false
kube-state-metrics:
enabled: true
prometheus-node-exporter:
enabled: true
resources: {{- include "eoapi.resources.small" . | nindent 6 }}
server:
service:
type: ClusterIP
persistentVolume:
enabled: true
size: 10Gi
{{- end -}}

{{/*
Testing monitoring with minimal resources
*/}}
{{- define "eoapi.monitoring.testing" -}}
metricsServer:
enabled: true
apiService:
create: true
prometheus:
enabled: true
alertmanager:
enabled: false
prometheus-pushgateway:
enabled: false
kube-state-metrics:
enabled: true
prometheus-node-exporter:
enabled: true
resources: {{- include "eoapi.resources.small" . | nindent 6 }}
server:
service:
type: ClusterIP
persistentVolume:
enabled: false
{{- end -}}
Loading
Loading