Kubernetes reference
The facts to look up once a cluster is running: its version, its workers, its limits, and what to check when something does not work. To create and use a cluster, start with Kubernetes.
Versions
The create wizard lists the Kubernetes versions offered for new clusters now and marks the newest Recommended: a cluster gets it when you do not pick a version. For each it shows the exact patch a new cluster starts on, the newest we have tested, and the day its support ends. We offer a version once we have tested it and stop offering it before its support ends, so the wizard always shows the current list; GET /v1/kubernetes/clusters returns the same list as versions, and creating with a version not on it is refused with 400 K8S_VERSION_NOT_AVAILABLE.
The cluster's page shows the exact version it runs, such as Kubernetes 1.36.4, and its Nodes section shows each worker's release, such as v1.36.4. A cluster is upgraded in place, one minor at a time and never down: to the newest patch of its minor, or to the next minor. Its system add-ons move with it: cluster DNS, the Service proxy, pod networking and network policy, the network plugins, the link to the control plane, the metrics API, the node load balancer and the pod sandbox image. After a minor upgrade, use a kubectl within one minor of the cluster. See Kubernetes upgrades. A cluster's name, network and high availability are fixed at creation.
The end of support is the day the Kubernetes project stops patching a version, security fixes included. The workspace's owners and admins are emailed 30 days and 7 days before it for every cluster on that version, and the cluster's Overview shows it: see What we tell you. Once it has passed, we offer those clusters the next minor with a grace period, then upgrade them during their maintenance window: see Offers and the grace period.
Workers
| Worker size | vCPU | Memory | Disk |
|---|---|---|---|
| Free | 2 | 4 GB | 20 GB |
| Small | 2 | 2 GB | 20 GB |
| Medium | 2 | 4 GB | 40 GB |
| Large | 4 | 8 GB | 80 GB |
- Workers are 64-bit x86 machines, so your images must include
linux/amd64. - The Free worker's network is capped at 10 Mbit/s, and its two vCPUs share one core's worth of CPU time.
- A worker has no swap. Its disk holds its own system, the images it pulls and your pods' temporary storage, such as
emptyDirvolumes. - Up to 24 volumes can be attached to one worker.
- Every cluster uses the same internal ranges: pods in
10.244.0.0/16, Services in10.96.0.0/12, and the DNS domaincluster.local.
Kubernetes node pools lists the labels every worker carries.
What is left for your pods
Each worker keeps part of its CPU and memory back for its own system, so your pods can request only what is allocatable: What a worker keeps for itself gives the figures for each size. The cluster's own services also run on workers as pods, in kube-system and in the managed gateway's namespaces: DNS, the metrics API, pod networking and network policy, the Service proxy, the link to the control plane, and the managed gateway when it is on. They use part of what is allocatable.
To see what is left, read a worker's Allocatable and Allocated resources:
kubectl describe node <worker>
kubectl top nodes
The cluster's Nodes section shows the same live usage against what pods may use. Size your pods' requests to fit, and leave room for the system pods, above all on a 2 GB worker.
Built in
kubectl topand the metrics API, so a HorizontalPodAutoscaler can scale on CPU.- NetworkPolicy is enforced. No policy is created for you, so every pod can reach every other until you add one.
- Pod security refuses privileged pods: every namespace except the system ones enforces the
baselinestandard and warns onrestricted. Clusters created before these defaults keep running without them. - There is no node autoscaler: change a pool's number of workers yourself.
Limits
Per plan
| Free plan | Paid plans | |
|---|---|---|
| Clusters per workspace | 1 | 5 |
| Workers per cluster, across its node pools | 1 | 20 |
| Worker sizes | Free | Small, Medium, Large |
| High availability | — | yes |
| Volumes per cluster | 2 | 50 |
| Largest volume | 10 GiB | 1,000 GiB |
| Hostnames on the managed gateway, per cluster: your own domains, bound domains and extra names together | 20 | 100 |
A cluster still being deleted counts towards the clusters per workspace, and its name stays taken until it is gone. The workspace owner's plan decides the column, and workers of a paid size also use its quota until usage billing is on for the workspace: see Plans and limits.
For every cluster
| Node pools when you create a cluster | Up to 10 |
| Workers per node pool | 1 to 20 |
| Labels and taints per node pool | 20 labels, 10 taints |
| Volumes attached to one worker | 24 |
| Kept volumes per workspace | Twice the plan's volumes per cluster |
| Load balancers | One per Service of type LoadBalancer, from the workspace's load balancers: 1 on Free, 5 on Pro, 20 on Scale |
Ports per LoadBalancer Service | 5; a port open on both TCP and UDP counts twice |
| Reserved node port | 30080, used by the managed gateway |
| Managed gateway security | 200 firewall rules, 7 rate limits, and sign-in or CORS on up to 50 hostnames each: see Kubernetes gateway security |
| Authorized networks for the API | 20 |
| Secrets and ConfigMaps made in the console | 200 keys and 1 MiB of values each: see Kubernetes Secrets and config |
| Kubeconfigs | A 12-hour certificate, or a self-renewing file that fetches a 1-hour credential with a key valid for a year |
Request limits
| Limit | |
|---|---|
| Kubeconfig downloads | 10 every 10 minutes, per person |
| Credential renewals of a self-renewing kubeconfig | 120 a minute, per kubeconfig |
| Dashboard reads | 240 a minute per person, and 600 a minute per cluster |
| Container logs | 30 a minute, per person |
| Secret and ConfigMap changes | 60 a minute per person, and 120 a minute per cluster |
| Growing volumes | 20 every 10 minutes, per person |
| Managed gateway changes | 30 a minute, per cluster |
| API access changes | 20 a minute, per cluster |
| Access grants | 30 a minute, per person |
| Settings changes (deletion protection, Pod Security, maintenance window) | 20 a minute, per cluster |
| Upgrades started, scheduled or cancelled | 10 a minute, per cluster |
| Load balancer settings from Services | 30 a minute, per cluster |
Past a limit the console says Too many requests. Please wait before trying again., and a Service's settings apply a few seconds later.
Troubleshooting
Cluster status
| Status | Means | What to do |
|---|---|---|
| Queued | Waiting to start | Wait |
| Creating | Being built: Reserving addresses, Starting the control plane, Joining workers | Wait |
| Ready | Every node is ready and the cluster's own services are running | |
| Updating | A worker or node pool change is under way, a worker that stopped working is being replaced, or the control plane restarts into Pod Security; the cluster keeps serving | Wait |
| Degraded | A worker change or the replacement of a worker did not finish in time, or Pod Security could not be turned on; the other workers keep running | Change the node pool again, turn Pod Security on again, or contact support. Through the API or MCP, setting a pool's current number of workers resumes a change that did not finish |
| Failed | Setting the cluster up failed | Delete it and create it again, or contact support |
| Deleting | Being deleted | Wait |
While a cluster is created or changed, its Overview can also say Waiting for capacity to place the cluster's nodes. or Setting up the cluster hit a problem and is retrying.: the platform keeps trying on its own. A worker stopped responding and is being replaced. means the platform is replacing a worker: see When a worker stops working.
A LoadBalancer Service has no external IP
Read the Service's events:
kubectl describe service <name>
| Event | Fix |
|---|---|
LoadBalancerFailed: …no load balancer left in its plan | Delete a load balancer the workspace no longer uses, or contact support |
LoadBalancerFailed: …more ports than a load balancer of its tier allows | Use 5 ports or fewer |
LoadBalancerPending: …opens once the Service's allowed and denied sources are valid… | Fix the sources: see Configure a LoadBalancer Service |
LoadBalancerPending: The previous load balancer is still being removed. | Wait |
LoadBalancerPending: The load balancer is being set up. | Wait |
A Service with allocateLoadBalancerNodePorts: false never gets a load balancer: leave that field out. Once it has one, clients connect on the public port in its service.sahabti.com/public-ports annotation, which the Load balancers page also shows.
A claim stays Pending
- It waits for its first pod: a volume is created on the worker where a pod using the claim is scheduled.
- Only the
sahabti-deleteandsahabti-retainclasses, filesystem volumes, andReadWriteOnceorReadWriteOncePodaccess are provided, and a volume cannot be created from a snapshot or another claim. - A
ProvisioningFailedevent names any other cause, such as a size above your plan's largest volume or no disk quota left:
kubectl describe pvc <claim>
A pod stays Pending
kubectl describe pod <pod> shows why the scheduler cannot place it:
- Not enough CPU or memory: lower its requests, add workers, or add a pool of a larger size.
- Taints it does not tolerate: add a toleration, or schedule it on another pool. The platform always keeps one pool without
NoScheduleorNoExecutetaints for the cluster's own services. - A volume in another zone: a pod with an existing volume runs only on a worker of the volume's zone, and only while that worker has fewer than 24 volumes attached.
A hostname is not served
- A
HostnameNotRoutedevent on a route or an Ingress means the cluster does not hold that hostname yet: point its CNAME record at the cluster, or use an extra name. See Hostnames. - A managed gateway error naming Port 30080 means one of your Services took that node port: give it another one.
- Requests that get
403,401or429without ever reaching your pods were refused by the cluster's Security settings: a blocked path of the security profile, a firewall rule, sign-in or a rate limit. See Kubernetes gateway security. - A
TLSAtEdgeevent on an Ingress is expected: HTTPS is served at the platform's edge, and the Ingress'stlssection is not used.
kubectl cannot connect
- It times out: the API only answers the addresses its API access setting allows. Check API access in the cluster's Access section, or connect from inside your workspace network if the cluster is private.
- The certificate has expired: a 12-hour kubeconfig stops working when its certificate does. Download a new one.
- A self-renewing kubeconfig fails: it needs
shandcurl7.55 or later. It stops within the hour when its key is revoked or you lose your role on the cluster, and at once when the cluster is deleted. - A certificate name error: the kubeconfig tells clients to check the API's certificate against the name
kuberneteswithtls-server-name. Use a client that honours it, askubectldoes.
See Kubernetes cluster access for both kinds of kubeconfig and the API access setting.