openhuman icon indicating copy to clipboard operation
openhuman copied to clipboard

Update and harden Kubernetes cluster for OpenHuman deployments

Open Al629176 opened this issue 8 months ago • 1 comments

Summary

Update and harden the Kubernetes cluster(s) used for OpenHuman deployments so we’re on supported versions, with consistent configuration, observability and security defaults.

Problem

Our current Kubernetes setup may be:

  • Running an older K8s version that is near or past end-of-support.
  • Using ad hoc configuration across namespaces/environments (dev/stage/prod).
  • Missing some recommended defaults for security, resource limits, and observability.

This makes it harder to:

  • Reliably run OpenHuman services at scale.
  • Debug issues (logs/metrics/traces not standardized).
  • Confidently apply security patches and upgrades.

Proposed work

  1. Version & compatibility

    • Inventory current cluster versions and node OS images.
    • Plan and execute an upgrade to a currently supported Kubernetes version.
    • Verify compatibility with:
      • OpenHuman services (Rust core, any backend components).
      • Ingress controllers, storage classes, and DNS.
      • Existing CI/CD workflows.
  2. Configuration & security

    • Standardize:
      • Namespaces and labels/annotations for core services.
      • Resource requests/limits and pod disruption budgets.
    • Apply security best practices:
      • Pod security standards / restricted profiles where possible.
      • Minimal RBAC roles and service accounts.
      • Image provenance (e.g. only from approved registries).
  3. Observability & operations

    • Ensure consistent:
      • Logging (structured logs, central collection).
      • Metrics (Prometheus/Grafana or equivalent).
      • Alerts for core health (pod restarts, error rates, saturation).
    • Document standard runbooks for:
      • Rollouts/rollbacks.
      • Cluster upgrades.
      • Incident handling.
  4. Documentation

    • Add/extend docs under docs/ to cover:
      • Expected Kubernetes versions and supported environments.
      • Required addons (ingress, DNS, storage, metrics).
      • How to deploy/update OpenHuman in the cluster (step-by-step).

Acceptance criteria

  • Clusters running a supported Kubernetes version with a documented upgrade path.
  • OpenHuman services deploy and run successfully after the upgrade.
  • Baseline security and observability in place (RBAC, pod security, metrics, logging).
  • Up-to-date documentation so future upgrades are repeatable.

Al629176 avatar Apr 01 '26 10:04 Al629176

CNAME Validition is in pending state @senamakel

CodeGhost21 avatar Apr 03 '26 18:04 CodeGhost21