Skip to content

v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Aug 09:41
· 47 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.7.0
7a39ad8

Highlights

Stateful workloads

Use kind: stateful for stable network identity (ordinal hostnames, headless DNS) and optional per-pod volumes. Stateless components can take a shared PVC too. Grow disks later with deployah deploy --resize-volumes.

components:
  cache:
    kind: stateful
    image: redis:7-alpine
    port: 6379
    resourcePreset: nano
    environments: [dev]
    replicas: 1
    persistence:
      size: 20Gi
      mountPath: /data

Workers and metrics

role: worker runs long-lived processes with no Service port, Ingress, or ready probe. Enable Prometheus scraping with metrics (ServiceMonitor for services, PodMonitor for workers). Profiles supply metrics.monitorLabels.

components:
  api:
    image: ghcr.io/acme/api:1.0.0
    port: 8080
    environments: [production]
    profiles: [observability]
    metrics: true
  worker:
    role: worker
    image: ghcr.io/acme/worker:1.0.0
    environments: [production]
    profiles: [observability]
    metrics:
      port: 9090
      path: /metrics
# deployah.platform.yaml
apiVersion: platform/v1-alpha.3
profiles:
  observability:
    metrics:
      monitorLabels:
        release: prometheus

App manifests move to v1-alpha.4; platform profiles use platform/v1-alpha.3.

What's Changed

Features

  • add kind: stateful workload support by @atkrad in #70
  • add worker role and prometheus metrics by @atkrad in #75

Full Changelog: v0.6.0...v0.7.0