How Ryvn maps to Kubernetes
When you deploy a server service to an environment, Ryvn creates the Kubernetes resources needed to run and expose your application:Pods
A pod is a single running instance of your application. When you configure the pod count in Ryvn, you’re controlling how many pods run simultaneously. Running multiple pods gives you:- Availability — if one pod crashes, others keep serving traffic
- Throughput — traffic is distributed across pods via a load balancer
Resource requests and limits
Every pod needs CPU and memory. Kubernetes uses two settings to manage this:- Requests — the guaranteed minimum. The scheduler uses this to decide where your pod runs.
- Limits — the maximum allowed. If a pod exceeds its memory limit, it’s killed (OOMKilled). If it exceeds CPU, it gets throttled (slower responses).
If a pod stays in Pending status, it usually means the cluster doesn’t have enough capacity to satisfy the request. Either reduce the resource request or scale up the cluster.
Health checks
Ryvn uses health checks to determine whether a pod is ready to receive traffic. During a deployment, new pods must pass their health check before traffic is routed to them — this is how zero-downtime deployments work. How it works:- Ryvn sends an HTTP GET request to your health check endpoint (e.g.,
/healthz) - A
2xxor3xxresponse means healthy - If a pod fails health checks for 60+ seconds, it gets restarted
- If a new deployment fails health checks for 15+ minutes, the deployment is canceled and the previous version keeps running
Deployments and rolling updates
When you deploy a new version, Ryvn uses rolling updates:- New pods are created with the updated version
- Each new pod must pass its health check
- Once healthy, traffic shifts to the new pods
- Old pods are terminated
Autoscaling
Ryvn monitors CPU and memory utilization across your pods and automatically adjusts the pod count:- When average utilization exceeds the target, pods are added (up to your max)
- When utilization drops, pods are removed (down to your min)
Networking
Ryvn configures three access modes that control how traffic reaches your application:
For public and internal services, traffic flows through a load balancer and ingress controller before reaching your pods. TLS certificates are provisioned automatically when you add a custom domain.