Updated 3 November 2026
- Product page
- What Coral does
Rebalances CPU and memory requests to real use, removes the nodes you don’t need, and moves work to cheaper machines.
- What Coral never does
Create machines itself, change your pod templates or Git sources, or read Secrets or pod logs through the Kubernetes API.
- You stay in control
Nothing is resized until you switch on “Automatically optimize”.
Node optimization and the Evictor start at install. For a careful start, see “Stay in control”.
How Coral works
Coral rebalances requests and nodes so you pay for what you use. Cost monitoring is always on.
The four steps
Connect
One command installs the Coral agent. It asks before it changes anything in your cloud.
Watch
The agent reads usage and sends summaries to Zoorik. Figures appear within minutes.
Recommend
Coral works out the request each workload needs, the nodes you don’t need, and the saving.
Optimize
Coral removes the nodes you don’t need. With automation on, it also applies the new requests.
Two engines
| Engine | What it does | How it starts |
|---|---|---|
Workload optimization | Rebalances each container’s CPU and memory requests to real use, and can manage HPAs. | Recommendations only, until you switch on “Automatically optimize”. |
Node optimization | Removes the nodes you don’t need, and moves work to cheaper machines when you ask. | On from install, with the Evictor, which moves pods off lightly used nodes. |
Before you start
What you need
| You need | Details |
|---|---|
A supported cluster | AKS or EKS on Kubernetes 1.30 or later, with at least one Linux node (amd64 or arm64). Windows nodes are listed and costed, but their workloads are not resized, rebalanced or live-migrated. Other clusters connect as “Local”, without cloud prices. |
Nodes on 1.33 or later | Only to resize running pods in place. On older nodes, Coral applies a new size by restarting pods one at a time, within their PodDisruptionBudget. |
Cluster access | cluster-admin, through a kubeconfig context. |
Command-line tools | The Azure CLI (az) for AKS, or the AWS CLI (aws) for EKS, signed in. Helm 3.8 or later, only if Karpenter has to be installed. |
Cloud rights | AKS: Owner, or Contributor with User Access Administrator, on the cluster’s subscription. EKS: rights to create IAM roles and EKS Pod Identity associations, plus SQS, EventBridge and cluster updates if Karpenter is installed. |
Network | Outbound HTTPS to Zoorik, and to ghcr.io and pkg-containers.githubusercontent.com for images. For node removal, also to Azure Resource Manager and Entra ID, or AWS STS and Auto Scaling. |
A console account | Sign-in with Microsoft or Google, with permission to connect clusters. |
Connect a cluster
Step by step
Sign in
Go to
zoorik., choose Coral, and continue with Microsoft or Google.com/ login Open “Connect cluster”
On Overview, click “Connect cluster”. Node optimization and Workload optimization start on. Workload optimization only recommends until you switch on “Automatically optimize”. For a careful start, read “Stay in control” first.
Install zoorikctl
zoorikctl is Zoorik’s command-line tool.
$ brew tap getzoorik/tap $ brew trust getzoorik/tap $ brew install zoorikctl
Run the connect command
Copy it from the dialog, and add
--kube-context <name>to pick the cluster. The connect token works once and expires after one hour.$ zoorikctl cluster connect --connect-token="zoorik_v1_…" --api-region="us"
Approve the cloud changes
zoorikctl lists every cloud change and asks once. It then installs the agent and waits for it to register. The cluster appears on Overview, with its figures within minutes.
Cloud changes
| Change | When | What it sets up |
|---|---|---|
Permission to remove nodes on AKS | Every AKS connect | A managed identity, zoorik-agent-<cluster>, with the role “Zoorik Node Removal v2” on this cluster only. The role can read the cluster, its pools and machines, and delete machines. It can also reduce a pool’s minimum when that minimum alone keeps an emptied machine. Workload identity and the OIDC issuer are turned on if they are off. |
Permission to remove nodes on EKS | Every EKS connect | An IAM role, zoorik-agent-<cluster>, bound with EKS Pod Identity. It can terminate instances only in this cluster’s Auto Scaling groups and reduce the minimum of this cluster’s groups. It can read Auto Scaling groups and instances across your account. The Pod Identity Agent add-on is added if missing. |
Node autoscaler on AKS | Only if the cluster has none | Turns on node auto provisioning (NAP), which needs Azure CNI (not kubenet). Adds the node class zoorik-base. |
Node autoscaler on EKS | Only if the cluster has none | Karpenter 1.8.1, the node classes zoorik-base and default, and a default NodePool. Also two IAM roles, Pod Identity, an access entry, an SQS queue with EventBridge rules, and discovery tags on the subnets and security group. |
- On AKS, the OIDC issuer can’t be turned off once it is on.
- On an EKS cluster that uses only aws-auth, installing Karpenter switches authentication to API_AND_CONFIG_MAP. This can’t be undone.
- If you decline the cloud changes, the agent still installs. Pools run by an autoscaler are optimized as usual. Fixed-size pools wait until you run
zoorikctl cluster grant-node-deletion. - To set up an autoscaler later, run
zoorikctl cluster prepare.
What gets installed
Everything the agent setup installs carries the label app.kubernetes.io/part-of=zoorik-agent.
The components
| Component | What it does |
|---|---|
zoorik-agent Deployment, namespace zoorik-agent | Reads the cluster, sends usage summaries and carries out Coral’s changes. Runs as non-root, with a read-only filesystem. |
zoorik-agent-webhook Deployment | Sizes new pods as they start. It fails open, so it never blocks a pod from starting. It refuses hand edits and deletes of the HPAs Coral manages: change those through the policy or “Hand back”. |
zoorik-node DaemonSet, namespace zoorik-node | The live-migration daemon, on every Linux node. It checkpoints a pod and restores it on another node. It runs privileged (root, host PID, SYS_ADMIN) and installs CRIU, the open-source checkpoint and restore tool, at /usr/local/bin/criu. |
CRDs and admission policies | recommendations.coral.zoorik.com and actionrequests.coral.zoorik.com hold Coral’s recommendations and action requests. Admission policies limit what the agent may change. |
Rebalancing pools come later, labelled coral.zoorik.com/owned-by=rebalancing.
Updates
- The agent updates itself to each Zoorik release, and rolls back a failed update.
- It can’t widen its own permissions. A release that needs more shows “Re-run connect” on the Dashboard’s “Agent release” card.
- If Argo CD, Flux or Helm manages the agent, it doesn’t update itself.
The console
Pick a cluster on Overview to open its pages.
The pages
| Page | What it is for |
|---|---|
Overview | Every connected cluster, with its running cost, what is recoverable and its score. “Connect cluster” starts here. |
Dashboard | The cluster’s status, capacity, nodes, pods, OOM kills and agent release. |
Optimization constraints | Workload setups that make optimization risky, such as health probes, PodDisruptionBudgets and topology spread, with a fix for each. Advisory only. |
Workload optimization
| Page | What it is for |
|---|---|
Optimization | Each workload’s request against its recommendation, with confidence, saving and status. Switch on “Automatically optimize” for one workload. |
Scaling policies | Built-in and custom policies. Switch on “Automatically optimize” for a policy. |
Impact | The value of requests already reduced by resizing, at list price. |
Event log | Everything Coral did or saw, newest first. |
Node optimization
| Page | What it is for |
|---|---|
Node list | Every node and its cost, and the nodes held, with the reason for each. |
Rebalancing | Plan, run and schedule moves to cheaper machines. |
Configuration | “Wait before removing empty nodes”, and a switch for each node pool. |
Container live migration | Pods moved by warm handover while nodes drain, and what each move saved. Checkpoint moves are not counted here. |
Cluster
| Page | What it is for |
|---|---|
Settings | The Workload optimization, Node optimization and Evictor switches, and “What this cluster supports”. |
While data arrives, pages show “Waiting for the agent’s first report…”, then “Calculating”. They update by themselves.
Workload optimization
Coral rebalances each container’s CPU and memory requests under its workload’s scaling policy.
How sizing works
- CPU: a percentile of recent use, plus extra room. The balanced policy uses the 80th percentile (P80) of the last 3 days, plus 10%.
- Memory: the highest recent use, plus extra room. The balanced policy uses the highest use in the last 8 days, plus 10%.
- A usage surge or an OOM kill raises the request within minutes.
- With a CPU-based HPA, Coral picks the CPU request by replaying past load through your HPA’s own settings.
- On the built-in policies, Coral never reduces a CPU or memory limit, except to keep Guaranteed pods Guaranteed.
- Your manifest never changes. Coral sizes pods as they start. It applies a new size by resizing running pods in place on 1.33+ nodes, or else by restarting them one at a time.
Turn on automation
| Where | How | What happens |
|---|---|---|
On a policy (recommended) | Scaling policies → switch on “Automatically optimize” → “Start optimizing”. | Reductions start small while data builds up. After that, Coral applies a size only when it has enough data. |
On one workload | Optimization → the workload’s “Automatically optimize” → On. | Applies at once, with no wait for confidence. |
Built-in policies
| Policy | Use it for | Sizing |
|---|---|---|
balanced | Most apps. The default for Deployments, DaemonSets and Argo Rollouts. | CPU P80 + 10%, memory peak + 10% |
resiliency | Databases and stateful apps. The default for StatefulSets. | Like balanced, and keeps Guaranteed pods Guaranteed |
stability | Latency-sensitive apps. | CPU P90 + 15%, memory peak + 15%, one pod at a time |
cost-savings | Dev and non-critical work. | CPU P70 + 10% |
burstable | Jobs, CronJobs and spiky work. The default for Jobs and CronJobs. | CPU P60 of 8 days + 25%, memory peak + 20% |
readonly | Recommendations only. Always used for Zoorik’s own namespace. | None |
- Every built-in policy except readonly has the Optimization type “Both”: it sizes pods and manages HPAs.
- On a built-in policy, you can change only “Automatically optimize” and the Optimization type. Set the type to “Vertical” to size pods only. For anything else, use “Duplicate…”.
Custom policies
- Go to Scaling policies and click Create scaling policy. It starts as a copy of balanced.
- Settings. Name the policy, then set:
- Automatically optimize. On: Coral resizes the workloads that get this policy. Off: recommendations only.
- Optimization type. Vertical sizes pods only. Both also manages HPAs.
- CPU. The percentile to size for: P80 means the app used this much or less 80% of the time. Go higher, up to P99.9 or max, for more room. Go below P80 to save more. Also set the extra room, and how far back Coral looks: 3 hours to 8 days.
- Memory. By default, the most the app has used, plus extra room.
- Minimums and maximums, limits, startup CPU and rollout.
- Guaranteed pods. Kept Guaranteed by changing requests and limits together.
- HPA converter. If your HPA scales on a percentage of CPU, Coral changes its target to a fixed amount, so smaller pods don’t make it add pods.
- Assignment rules. Add one or more rules. A workload matches a rule only if it fits every field you filled in:
- Namespaces: names or patterns that match the whole name, for example
prod-.* - Namespace labels
- Workload kinds: tick none for any kind
- Workload labels
A workload only needs to match one rule. The preview shows which workloads match.
- Namespaces: names or patterns that match the whole name, for example
- Review, then create. Matching workloads move to the policy within the hour.
- Custom policies are checked from top to bottom, and the first match wins. You can change the order later.
- A policy picked for a workload, or named in its annotation, stays. Rules don’t change it.
- To make Coral leave workloads alone, create a policy with “Automatically optimize” off and a rule that matches them.
- For a new workload, Coral reduces requests step by step while it learns, only as far as its data allows. If a workload needs more, it gets more at once.
Which policy applies
Coral uses the first of these that applies:
- Zoorik’s own namespace, and add-ons labelled addonmanager.kubernetes.io/mode: Reconcile, always get readonly. Other kube-system workloads, EKS add-ons included, go on down this list.
- A policy named in the workload’s coral.zoorik.com/configuration annotation (see Per-workload settings).
- A policy picked on the workload’s page.
- The first custom policy whose rules match.
- The default for its kind.
Workload statuses
| Status | Meaning |
|---|---|
Applied | Pods run at the recommended size. |
Applying | Coral is rolling out the new size. |
At next restart | The new size applies when the pod next restarts. |
Waiting for confidence | Automation is on. Coral is waiting for enough data. |
Recommendation only | Coral works out sizes but doesn’t apply them. |
No data yet | No usage has arrived for this workload yet. |
Blocked | Coral can’t apply right now, and retries by itself. |
Stopped | A safety hold has frozen sizing, for example after repeated OOM kills. |
Not supported | Coral can’t size this workload. The page shows why. |
Per-workload settings
Add the coral. annotation to the workload. Set only what you want to change.
metadata:
annotations:
coral.zoorik.com/configuration: |
scalingPolicyName: stability
vertical:
optimization: on
cpu:
target: p95
min: 250m
memory:
max: 4Gi
excludedContainers:
- istio-proxy
horizontal:
optimization: offA workload with this annotation is managed from its manifest, so its console controls are locked.
HPAs and VPAs
- Coral creates an HPA only for a Deployment or Argo Rollout that has none. It needs enough history, enough CPU per pod and two or more ready replicas. The new HPA keeps at least two replicas.
- It takes over only HPAs nothing else manages. It keeps minReplicas, only raises maxReplicas, and restores your values on “Hand back”.
- Outside a rebalance’s warm handover, it never changes HPAs from Helm, KEDA or kubectl apply, or HPAs whose bounds Argo CD or Flux own.
- With automation on, Coral switches an active VPA to Off, and restores it when you switch automation off.
- Switching automation off removes the HPAs Coral created and hands back the ones it took over.
Node optimization
Consolidation
- Coral uses pod requests to work out how many nodes each pool needs. Every pool keeps at least one node.
- Before it moves anything, the agent checks on the live cluster that every pod on the node fits on another Ready node.
- It cordons and drains one node at a time. If a drain can’t finish in time, the node goes back into service.
- Once “Wait before removing empty nodes” has passed, Coral hands the empty node to your autoscaler, whose own timers decide when it goes. Coral deletes a machine itself only in fixed-size pools that nothing else manages.
- Pools that Karpenter or NAP already consolidate are left to them.
The Evictor
- Moves pods off lightly used nodes, in pools where empty nodes get removed. It never deletes a machine, and never overrides a PodDisruptionBudget.
- Runs inside your cluster from install, with its own switch in Settings → General. Switching off Node optimization doesn’t stop it.
- In “Dry run”, it lists the nodes it would empty in the Event log, and moves no pod.
How pods are moved
Coral moves a pod in the first of these ways that works:
- Warm handover: a replacement pod starts on another node and becomes Ready, then the old pod is evicted.
- Live migration: where both nodes passed a live-migration check, the pod is checkpointed and restored on the other node. Clients see a short pause, longer for pods with more memory.
- Eviction: within the pod’s PodDisruptionBudget.
Warm handover covers pods of Deployments and Argo Rollouts, even with one replica. It isn’t used for:
- The Recreate strategy.
- Replica counts set by Argo CD or Flux.
- Pods with ReadWriteOnce volumes.
- GPU pods.
- HPA-scaled apps, except in a rebalance.
These pods, and pods of other kinds such as StatefulSets, move by live migration where both nodes support it, or else by eviction.
Nodes held
A held node is one Coral won’t empty, because a pod on it can’t move safely. Node list → “What’s holding them” gives each reason and its fix. The common ones:
| Reason | Fix |
|---|---|
The PodDisruptionBudget allows no disruption. | Add replicas, or relax the PodDisruptionBudget. |
A kube-system pod has no PodDisruptionBudget. | Add one that allows at least one disruption. |
Data on the node’s own disk (hostPath). | Move the data to a persistent volume, or mark the pod safe to evict. |
Nothing would recreate the pod. | Run it under a Deployment or StatefulSet. |
Marked do-not-disrupt, not safe to evict, or excluded. | Remove the marker if moving it is fine. |
Rebalancing
Rebalancing replaces the nodes you choose with cheaper machines that still fit the work.
- Needs: Karpenter or NAP, Node optimization on, and permission to remove nodes.
- Steps: “Prepare new plan” → choose nodes → “Generate plan” → compare current and rebalanced cost → “Rebalance”. A plan expires after one hour.
- How it runs: Coral creates fixed-size NodePools named zoorik-rb-…, and your Karpenter or NAP launches the new machines. The old nodes are then drained and removed one by one. The new pools stay after the run.
- Schedules: a schedule checks every day at 02:00 UTC, and starts a rebalance when its savings target is met.
Stay in control
Every engine has its own switch, and any pod or node can be protected.
Switches
| Switch | Where | Default | When it is off |
|---|---|---|---|
Automatically optimize | Scaling policies, or a workload | Off | Recommendations only. |
Workload optimization | Settings | On | Nothing is resized or scaled. Recommendations still show. |
Node optimization | Settings | On | No node removal is planned, and steps under way are cancelled. The Evictor keeps running. |
Evictor | Settings → General | On | The Evictor moves no pods. Consolidation still drains nodes while Node optimization is on. |
Node pool “Enabled” | Configuration → Node pools | On | Coral leaves the pool’s nodes alone, except in a rebalance you start. |
Wait before removing empty nodes | Configuration → Node scaling | 5 minutes | Not a switch. Set it from 0 minutes to 7 days. |
Labels and annotations
| Key | Value | Type, on | Effect |
|---|---|---|---|
coral. | "true" | Label: namespace, workload or pod template | Coral never changes its sizes or HPAs. |
coral. | Settings | Annotation: workload | |
karpenter. | "true" | Annotation: pod or node | On a pod: never moved, and its node is kept. On a node: the node is kept. |
cluster-autoscaler. | "false" | Annotation: pod | Never moved, and its node is kept. |
coral. | "true" | Label or annotation: node or pod | Kept out of every Coral move. |
coral. | disabled | Annotation: pod | No live migration. The pod can still move by handover or eviction. |
coral. | "true" | Annotation: pod template | Hidden from Optimization constraints only. |
- A PodDisruptionBudget that allows no disruption keeps its pods, and their node, in place for consolidation, the Evictor and rebalances.
- The ignore label stops workload changes only (sizes and HPAs), not node moves.
A careful start
- For recommendations only at first, switch off Node optimization in the Connect dialog. The Evictor still starts with the agent and can move pods, so do step 2 as soon as the cluster appears.
- In Settings, open the Evictor’s “Advanced settings” and tick “Dry run”.
- In Configuration → Node pools, switch off the pools you want left alone.
- Create a scaling policy for one namespace, set its Optimization type to “Vertical”, and switch on “Automatically optimize”.
- Watch the Event log and the Impact page. Then widen step by step: more namespaces, more node pools, and Node optimization back on.
Savings and figures
Every figure says where it comes from. Coral never shows a made-up number.
The figures
| Figure | Where | What it means |
|---|---|---|
Running cost today, At the optimum, Recoverable | Overview | Monthly cost now, after optimization, and the difference. |
Score | Overview | 10 × optimal ÷ current monthly cost. 10 means nothing is left to recover. |
Estimated monthly savings | Optimization | The compute saved if every recommendation is applied. |
Already removed | Impact | The list-price value of the requests resizing has already reduced. Your cloud cost falls once the freed capacity lets nodes go. |
Fleet cost, Unclaimed capacity, Nodes held | Node list | Each node’s monthly price, the capacity no pod has claimed, and the nodes Coral can’t empty. |
- Prices are the cloud’s published list price for the region, refreshed nightly. Spot nodes use the spot rate.
- Discounts, reservations and savings plans are not included. A month is 730 hours.
- Until data exists, figures read “Calculating” or “Fetching prices”.
Security and data
The agent sends summaries to Zoorik. Zoorik’s replies carry instructions, recommendations and updates.
What leaves your cluster
- Usage summaries per container: CPU, memory, OOM kills, probe failures and CPU pressure.
- An inventory: nodes, namespaces, workloads with their requests and limits, autoscalers, PodDisruptionBudgets, quotas, and workload and namespace labels.
- Events, with pod and node names: OOM kills, probe failures, spot interruptions, and Coral’s own actions, including the pods the Evictor moved.
- A regular heartbeat.
- At registration, the cloud account: the Azure subscription and resource group, or the AWS account and region.
What never leaves
- The agent can’t read your Secrets or ConfigMaps, and has no pods/log, pods/exec or pods/portforward permission.
- It holds get on nodes/proxy to read kubelet metrics. That permission can also reach the kubelet’s log and exec endpoints, which Coral never calls.
- No env var values, commands, image names or request payloads are sent. The only event text sent is the message when a quota, a limit range or an admission policy stops a pod being created.
How it connects
- The agent opens every connection to Zoorik, over HTTPS, and accepts none from outside the cluster. Inside it, the API server calls the webhook, and the node daemons talk to each other over mutual TLS.
- The agent swaps the one-time connect token for a cluster credential that rotates by itself.
- Admission policies limit the agent’s changes. For example, it may change only the HPAs and NodePools Coral manages.
Live-migration checkpoints
A checkpoint holds the pod’s memory, secrets included. It stays inside your cluster, moves between the two nodes over mutual TLS, and is deleted when the move ends.
Sign-in
Zoorik never sees your Microsoft or Google password. A session ends after 30 minutes of inactivity, or after 12 hours.
Disconnect
Disconnect from the command line, with your own credentials.
The command
$ zoorikctl cluster disconnect --kube-context <name>
- Add
--dry-runto see everything it would remove first. - It works even if the agent is down, and is safe to run again.
- It removes the agent, the webhook, the live-migration daemon, Coral’s roles, policies and CRDs, and Coral’s taints and annotations on nodes.
- It deletes the HPAs Coral created, hands back the ones it took over, and restores the VPAs it switched off.
- It offers to remove the cloud identity and role assignment it created.
- Running pods keep their current sizes until they restart.
What stays
- The node autoscaler set up during connect.
- Coral’s zoorik-base node class and zoorik-rb-… rebalancing pools.
- CRIU on the nodes, and the folder /var/lib/zoorik/checkpoints, which can hold a checkpoint from an interrupted move. Delete that folder yourself.
- The “Zoorik Node Removal v2” role definition, workload identity, the OIDC issuer and the Pod Identity Agent add-on.
- The cluster’s entry in the console, shown as “Not reporting”, and the data Zoorik has already received.