Prompt
I'm building a system that needs self-healing and service discovery, what should I use?
Latest observation
Oct 19, 2026
OpenAI APIWeb search: off
For self-healing and service discovery, the most common choice is Kubernetes.
Why Kubernetes
- Self-healing
- restarts failed containers automatically
- replaces unhealthy pods
- reschedules workloads if a node dies
- Service discovery
- built-in DNS for services
- stable service names/load balancing across replicas
- Also gives you:
- autoscaling
- rolling updates
- health checks
- deployment orchestration
Typical setup
- Kubernetes for orchestration and healing
- CoreDNS for service discovery
- Ingress controller or service mesh if you need advanced routing
- Prometheus + Grafana for monitoring
- Liveness/readiness probes to make self-healing effective
If you want alternatives
- HashiCorp Consul: good for service discovery and health checks, especially outside Kubernetes
- Docker Swarm: simpler, but less powerful than Kubernetes
- ECS/Nomad: good if you prefer managed or lighter orchestration options
Short recommendation
If you’re starting fresh and want both features in one platform: use Kubernetes.
If you want, I can also suggest the best option based on your environment:
- cloud or on-prem
- microservices or monolith
- small team or large platform team