KiteGitHub
Quickstart

Glossary

The terms the Kite manual uses, each defined once with a link to the page that documents it.

Hosts and nodes

Host

A Linux computer, physical or virtual, that runs containers through containerd. See Nodes.

Machine

A VM or container that Kite creates and deletes. A node pool creates machines at a cloud provider, and kite local creates them on your workstation. See Node pools.

Node

A host that runs the node agent and has joined a cluster, and the Node object for it. One host runs one node. See Manage nodes.

Node agent

The kite-agent process on each node, which runs in place of kubelet, kube-proxy, the network add-on and CoreDNS. It keeps the control connection open and manages containerd, CNI, WireGuard and nftables on the host. See Manage nodes.

Control connection

The WebSocket each node agent opens to the control plane at /connect. It carries no pod traffic. See Nodes.

Peer map

The list that the control plane sends to each node. It contains every other node’s WireGuard key, endpoints and pod range. See Networking.

Pod gateway

The node’s own address in its pod range. The Node’s InternalIP is this address. See Nodes.

Control plane and cluster

TermServerlessSelf-hosted
WriterClusterObject, the cluster’s Durable ObjectThe leader of a Raft group, or the one server that serves the cluster
RelayThe replica objectsThe followers of a Raft group
Standby—A second server that serves the cluster only when the first one stops

Control plane

The part of a cluster that serves the Kubernetes API, stores state and schedules pods. On Cloudflare it is a Worker and its Durable Objects. On your own servers it is one kite-control process, alone, with a standby, or as a Raft group of 3 or 5. See How it works.

Serverless

A control plane on Cloudflare, a Worker and its Durable Objects, so no machine of yours runs it. See Deploy to Cloudflare.

Self-hosted

A control plane on Linux servers of your own, which run kite-control. See Deploy to your own servers.

Commit log

The cluster’s state: an append-only, ordered record of committed writes, each with the next revision, which clients see as resourceVersion. It does the job of etcd. See Commit log.

Writer

The one part of the control plane that appends each write to the cluster’s commit log.

Relay

A part of the control plane that keeps node connections open and passes each node’s messages to and from the writer. See Keep nodes connected through a restart.

Raft group

3 or 5 self-hosted servers that copy the cluster’s log between them and elect a leader. kite deploy does not set up a Raft group.

Leader

The server of a Raft group that the group elects to write the log. It is the group’s writer.

Follower

A server of a Raft group that is not the leader. It forwards writes to the leader, and keeps open the connections of the nodes that dial it. When the leader stops, the remaining servers elect a new leader.

Standby

A second self-hosted server that serves the cluster only when the first one stops. It reads the cluster from a shared Postgres database or a copy in a bucket. See Add a second server.

Worker

The Cloudflare Worker that authenticates and serves every API request.

Durable Object

A Cloudflare object with its own storage. The control plane runs one ClusterObject, the writer, for all of the cluster’s state. It also runs replica objects, the relays, that accept node connections, unless KITE_REPLICAS is 0.

Deployment

One control plane that kite deploy installs, in a Cloudflare account or on your own servers. It is not the Kubernetes Deployment kind. See Configure a deployment.

Settings file

The file that contains a deployment’s settings and secrets, at ~/.kite/deployments/<name>/deploy.env. See The settings file.

Cluster

One control plane and the nodes that join it. See Architecture.

API origin

The HTTPS origin of the Kubernetes API, such as a workers.dev address or KITE_HOSTNAME. See Architecture.

Cluster name

The name that a deployment’s node pools put in the labels of the machines they create, set with KITE_CLUSTER. Share a cloud project between clusters says how kite deploy names a cluster, and why clusters that share a cloud project need different names.

Sandbox pools

Sandbox pool

A SandboxPool, which keeps capacity running on your nodes under one RuntimeClass, so its Pods and sandboxes start without waiting for a machine. See Sandbox pools.

Reservation

A Pod that a sandbox pool runs to hold spec.reservation on a node. The pool’s Pods and sandboxes run inside its reservations.

Sandbox

A container, or a Pod’s spec, that you create through a sandbox pool’s sandboxes API. It has an id of its own, and can sleep while it is idle and start from a snapshot. See Create a sandbox.

Sandbox start

A new sandbox started in a reservation that has room. A sandbox scale-up start waits for the pool to add a reservation first, and a sandbox wake starts a sleeping sandbox from its snapshot. See Starts and wakes.

Credentials

Administrator token

A token that authenticates as system:masters, set as KITE_ADMIN_TOKEN. Use it for bootstrap and recovery only. See Identity and access.

Bootstrap token

A bootstrap-token-<id> Secret in kube-system that a host uses to join. kite node add creates one that is valid for an hour by default. See Manage nodes.

Shared bootstrap token

A token that any host can use to join, set as KITE_BOOTSTRAP_TOKEN. It never expires. See Security model.

Networks

Pod range

The address range that pod addresses come from. Each node gets a /24 of it, or a /64 for IPv6. Set it with KITE_POD_CIDR. It defaults to 10.64.0.0/11. See Set the pod and Service networks.

Service range

The address range that Service cluster IPs come from. It must not overlap the pod range. Set it with KITE_SERVICE_CIDR. It defaults to 10.96.0.0/16.

Ingress

Tunnel

The Cloudflare Tunnel and cloudflared Deployment that the tunnel controller creates for each IngressClass. The tunnel makes Ingress rules and LoadBalancer Services reachable from the internet. See Ingress and load balancing.

Node pools

Node pool

A NodePool and the NodeClass that it refers to. Together they create machines at a cloud provider when a pod does not fit on any node. See Node pools.

NodeClass, NodePool, NodeClaim

A NodeClass describes one provider account and its machine types. A NodePool sets limits, labels, taints and disruption policy. A NodeClaim records one machine. Do not create a NodeClaim by hand. See Node pool reference.