Skip to content

Operate ​

kernable Cloud watches its own side around the clock; your kernels, in your infrastructure, are yours to watch.

Monitoring and alerts ​

What kernable watches ​

Every minute: the relays and their copies, the backups of each copy, the servers behind them, and your managed nodes as they report. An operator bot restarts what fails and asks a person about anything else. Upgrades and fixes on kernable's side need nothing from you.

What kernable sees of a copy is what a relay may see: its size, its head, when its pusher and readers last connected. Never a record's content.

What you watch ​

Your writer, its standby, the pusher and your readers run with you. Watch them as you would without kernable Cloud:

  • a reader's /ready answers 503, with the reason, while it is not following or too far behind; route your load balancer by it;
  • the metrics kernable_reader_lag and kernable_reader_following on readers, kernable_readers_lag_max on the writer;
  • the pusher logs each failed connection and tries again by itself.

More: monitor kernable, readers: watch it. When something does not work, see troubleshooting.

Alerts ​

kernable Cloud mails your organization when something on your side needs a look, once it starts and again once it is over:

AlertWhen
A copy's writer is awayits pusher has not been connected for 5 minutes (a copy that never held anything excepted)critical
A reader is behinda connected reader is more than 10,000 records behind its copy for 5 minuteswarning
A reader is awaya reader whose key the partition names, active, was connected and has not been for 5 minutes (a key named but never connected, stopped or revoked is not missed)warning
A refused key trieda key the partition does not name, or names stopped or revoked, tried to push or read its copy within the last 10 minutes (mailed at once)warning
A reader holds an old copy keya joined reader's node reports another copy key than the writer's node, for 5 minutes (after a rotation it asks for the new one; granted copy=<copy>, it is handed it)warning
A copy is filling upover 80 % of its limit (critical over 95 %); past it, the writer stops pushingwarning
A managed node is silentno report for 2 minutescritical
A managed node reports a problemas it reports itwarning

The mails go to the organization's owners and admins, and to the addresses set for the project (at most 10): on the project's page in the console under Alerts, or

sh
kernable cloud projects alerts shop set ops@example.com plant-a@example.com
kernable cloud projects alerts shop          # where they go now
kernable cloud projects alerts shop set      # only the owners and admins again

The addresses are personal data: a new list erases the one before it, and the audit log counts them without naming them.

kernable's own alerts (its servers, relays and backups) go to kernable's operators. During Preview Access there is no on-call: what fails outside business hours is restarted by the bot or waits for the next morning.

Support ​

Write to the address in your invitation's mail, with your organization's slug and, for a copy, its name (<organization>.<project>.<partition>). In Preview Access: business hours, best effort, no SLA.

Backups and restores ​

What is backed up ​

kernable Cloud backs up each copy: what your readers follow. The new parts every few seconds (every five at most) and the whole copy daily, kept seven days, in object storage in the EU, apart from the relays. The backups are sealed like the copy: kernable cannot read them.

What is not ​

Your writer. Its store is in your infrastructure, and so are its backups: back it up with the kernel's own backup follower (backups) and keep a standby beside it. If its machine is lost all the same, the copy brings it back: a new kernel takes the copy over as the writer (a writer from its copy). Only what the old writer had not pushed yet, usually the last seconds, is lost with it.

When kernable restores ​

If a relay loses a copy, kernable restores it from its backups: the newest full and every part after it, checked to fit together. Your pusher then pushes on from where the restored copy ends; if your writer no longer keeps those records, it sends an image and the copy starts anew from it. Your readers follow as before. You do nothing.

Restores are rehearsed: a drill restores copies from their backups byte for byte and lets a reader follow the result.

If your writer was restored ​

If you restored your writer from an older backup, its log no longer continues the copy. The pusher notices and pushes nothing: the copy keeps its history, so a writer started by mistake cannot erase it. The pusher's log says so as an error, with the copy's position. If the restored writer is meant to replace the copy, start the pusher once with --start-anew <position> (in a node's project.toml, start-anew = <position> under [push]): it empties the copy and fills it again from the writer's first record. Your readers start anew from it, as from a writer.

Usage and prices ​

Prices in Preview Access ​

A monthly fee per organization, and usage on top only beyond what the fee includes (excluding VAT):

Monthly fee per organization€149
Included every month20 GB stored across the organization's copies, their backups included; 200 GB sent to your readers
Also includedany number of partitions, readers, members, CI tokens and managed nodes; support in business hours
Stored beyond 20 GB€0.50 per GB-month
Sent beyond 200 GB€0.05 per GB

The fee is billed monthly in advance, usage beyond it in arrears. Your organization can cancel at the end of any month (leaving).

If a payment fails, Stripe tries again over the following days, and the organization's page says so. If the invoices stay unpaid, the organization can open no new project and link no new partition until they are paid in the billing portal. Once a subscription has ended, billing is set up again from the organization's page. Running copies go on for 30 days either way; then they are unlinked (nothing pushes to or reads them) and kept another 30 days, as any unlinked copy: paying or setting billing up again and linking the partitions brings them back. The organization's page says when.

What is counted ​

For each copy:

  • what it holds, in GB-months: its size, hour by hour;
  • what it sent to your readers, in GB.

Nothing of a record's content is needed for either. A GB is 10⁹ bytes; a GB-month is a GB kept for 730 hours. The organization's page in the console shows the month so far against what the fee includes, each project's page its partitions, and so does kernable cloud usage (or kernable cloud projects usage <name>). The invoice lists what went beyond what the fee includes; usage is reported to billing every hour.

A copy's limit ​

A copy holds an image of your writer and the records written since; once its log outgrows the image (at least 256 MiB and twice the image), your pusher sends a fresh image, sealed, and the relay starts the copy's log from it, so a copy grows with your state rather than with its whole history. Each copy has a cap. A push that would grow it beyond the cap is refused: the copy stops following, and its readers report themselves not ready (/ready answers 503) until the cap rises. Your writer and your application are not affected.

If a copy nears its cap, write to support: in Preview Access, caps are raised by hand.

Troubleshooting ​

Most of what goes wrong shows on a reader's /ready: it answers 503 with the reason.

A reader is not ready ​

WhyWhat to do
the writer is awayThe pusher has not been heard from for a few seconds. Check that the writer runs and that its node runs the pusher ([push] in project.toml); the pusher's log names why it cannot connect.
refused: the key is not named, stopped or revokedThe relay does not let the reader in. kernable cloud projects links <project> lists each partition's keys with their role and state: add the reader's key (kernable cloud projects key <project> <partition> reader.pub read) or let a stopped one in again (… activate). A revoked key stays out: use a new one.
no copy keyThe reader asks the writer's pusher for it and says why it does not come: no pusher connected (the writer is away), or its grant does not allow copy=<copy> (grant it: kernable grant root.key reader.pub 'read=*' 'copy=<copy>'), or the pusher was started without the root (copy-key-handover = false): then copy the key there yourself.
behindThe reader is further behind the writer than --reader-max-lag-ms (30 s by default) and refuses queries until it catches up. Look at what slows it: its machine, its network to the relay.

A refused reader keeps asking (at most every 60 s) and follows as soon as it is let in, without a restart.

The pusher cannot connect ​

  • Not linked. kernable cloud projects links <project> must list the partition with the pusher's key ID. A new link takes a few seconds to reach the relay.
  • Ended. An unlinked partition refuses its pusher; link it again (within 30 days, its copy comes back).
  • The copy's name. copy in [push] is <organization>.<project>.<partition>, the organization by its slug: kernable cloud projects show <project> names it.
  • Network. The pusher opens one TLS connection out to the relay's port (7400); nothing comes in. The relay's certificate is a public one.

The copy stopped following ​

It reached its cap: the relay refuses pushes that would grow it further, and its readers report themselves not ready. Your writer is not affected. See usage and prices.

Commands to a reader fail with writer_away ​

A reader passes writes back through the relay to the pusher. While no pusher is connected, it answers writer_away, and the SDKs try again. Once the pusher is back, they go through.

Still stuck ​

Write to support with the copy's name and what the reader's /ready and the pusher's log say. More on how readers fail and recover: readers: when something fails.

Leaving ​

Your data stays where it always was: in your own kernels. kernable Cloud holds a sealed copy and its backups, which it cannot read. Leaving takes nothing away from your application.

Your organization can cancel at the end of any month, in the billing portal (kernable cloud organizations billing <organization>, or Invoices, payment method, cancelling on the organization's page in the console). Deleting the organization cancels it too. The month you leave in is the last one billed. Until the month ends, the organization's page says when billing ends; changed your mind, renew it in the portal.

Stop using a copy ​

sh
kernable cloud projects unlink shop eu

Nothing pushes to or reads the copy from then on. Take the [push] section out of the writer's node, and point your readers at the writer directly or at a relay of your own: the same open kernable, with no change to your code. The copy and its backups are kept 30 days, and linking the partition again brings it back; after that, they are deleted.

Close the organization ​

sh
kernable cloud organizations delete acme

The organization is suspended at once and kept 30 days, restorable with kernable cloud organizations restore acme. Then its projects' copies and their backups are deleted. Billing records are kept as tax law requires.

Your account ​

Your account stays until you ask for it to be deleted: write to support.