openhuman
openhuman copied to clipboard
Update and harden Kubernetes cluster for OpenHuman deployments
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
-
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.
-
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).
- Standardize:
-
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.
- Ensure consistent:
-
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).
- Add/extend docs under
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.
CNAME Validition is in pending state @senamakel