Install with Zeatend
On a new Linux server, Zeatend sets up Kubernetes, then one helm install installs Zeabur OSS.
When you finish this page, a new Linux server runs Kubernetes and Zeabur OSS, and you sign in to Zeabur OSS over HTTPS with a passkey.
Already have a cluster? Install Zeabur OSS in an existing cluster. To have Claude Code or Codex do it, see Let an agent install for you.
Before you begin
Section titled “Before you begin”- A Linux server with a public IP address, and ports 80 and 443 open to the internet. Let's Encrypt checks the addresses over port 80. For the memory and disk K3s needs, see Zeatend's Supported servers and files. Zeabur OSS runs on top of that. In a test on a server with 1 vCPU and 2 GiB of memory, about 850 MiB of memory was left after Zeabur OSS, Zeabur Identity and cert-manager were installed, and one small app from a prebuilt image ran there. Zeabur Builder wasn't tried on a server that small.
- Root on the server, over SSH. Run the commands below as root. If you sign in as a regular user, run
sudo -ifirst. - Zeatend, Helm 4 and
zeabur-identityctlon the server. To get Zeatend, see Download Zeatend in Zeatend's docs. The first step below gets the other two.
Get Helm 4 and zeabur-identityctl
Section titled “Get Helm 4 and zeabur-identityctl”A new server has neither tool, and neither needs gh, cosign or Docker to install. Each block downloads a release from its project, checks the file against the project's checksum, and installs it to /usr/local/bin:
arch=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')
helm=$(curl -fsSL https://get.helm.sh/helm-latest-version)curl -fsSLO "https://get.helm.sh/helm-$helm-linux-$arch.tar.gz" && curl -fsSLO "https://get.helm.sh/helm-$helm-linux-$arch.tar.gz.sha256sum" && sha256sum -c "helm-$helm-linux-$arch.tar.gz.sha256sum" && tar -xzf "helm-$helm-linux-$arch.tar.gz" --strip-components=1 "linux-$arch/helm" && install -m 0755 helm /usr/local/bin/helm && helm version --short
ctl=$(basename "$(curl -fsSLo /dev/null -w '%{url_effective}' https://github.com/zeabur-oss/identity/releases/latest)")base="https://github.com/zeabur-oss/identity/releases/download/$ctl"curl -fsSLO "$base/zeabur-identityctl-$ctl-linux-$arch.tar.gz" && curl -fsSLO "$base/SHA256SUMS" && sha256sum --ignore-missing -c SHA256SUMS && tar -xzf "zeabur-identityctl-$ctl-linux-$arch.tar.gz" zeabur-identityctl && install -m 0755 zeabur-identityctl /usr/local/bin/zeabur-identityctl && zeabur-identityctl --versionhelm version --short must show v4. The checksum of zeabur-identityctl comes from the same release as the file, so it catches a broken download but doesn't prove who built it. To check the signature too, follow Zeabur Identity's Release files and verification on a computer that has gh and cosign, then copy the file to the server.
Choose the domain
Section titled “Choose the domain”Set DOMAIN on the server as Choose the domain shows. With your own domain, point its DNS records at this server.
Set up Kubernetes with Zeatend
Section titled “Set up Kubernetes with Zeatend”zeatend planzeatend plan checks the server and lists what it will install. It changes nothing. If a line says FAIL, fix what that line says first, as Zeatend's Check the plan shows. With no FAIL, install:
zeatend applyzeatend apply installs K3s and shows each step. The install keeps running if your SSH session drops. Run zeatend apply again to follow it.
Let the cluster trust sign-in
Section titled “Let the cluster trust sign-in”Kubernetes accepts the sign-in tokens of the Zeabur Identity you install in the next step only when Zeatend's apiServer.authenticationConfig names Zeabur Identity as a token issuer. zeabur-identityctl kube-config prints that setting. It reads the cluster, so it runs now, after the cluster exists. The second zeatend apply restarts K3s with the setting:
export KUBECONFIG=/etc/rancher/k3s/k3s.yamlmkdir -p /etc/zeatendauthn=$(mktemp)zeabur-identityctl kube-config --issuer "https://identity.$DOMAIN" --distro k3s --discovery public > "$authn" && { printf 'distribution: k3s\napiServer:\n authenticationConfig:\n' sed 's/^/ /' "$authn"} > /etc/zeatend/config.yaml && zeatend applyzeabur-identityctl also prints how to install the setting by hand. Ignore that part, because Zeatend does it. If it prints an error instead, the Zeatend configuration isn't written and zeatend apply doesn't run. Fix what the error says, then run the block again.
Install Zeabur OSS
Section titled “Install Zeabur OSS”Helm uses the K3s kubeconfig that the previous step set. In a new SSH session, run export KUBECONFIG=/etc/rancher/k3s/k3s.yaml first. Run helm install as Install with Helm shows, and sign in with a passkey as Create the admin account shows. The previous step already made the cluster trust sign-in, so skip "Let the cluster trust sign-in" there.
After you sign in, install the other components you need on the Cluster → Components page. See View and install cluster components.