On this page
Install Generate on your own machine or cluster
Check the system requirements, get a grant from the portal, run the Generate installer on a Linux machine or Kubernetes cluster, sign in and upgrade.
This page takes you through installing a Generate site with the generate installer on a Linux machine of yours or on an existing Kubernetes cluster, then upgrading it.
On a bare machine the installer builds the Kubernetes cluster first. It opens no listener and makes no call into your network. What it installs, which release and for which site all come from the grant you download from the Iterate portal.
Install
Section titled “Install”Go from a machine that meets the system requirements to a signed-in workspace.
-
Download the installer
In the portal, open Releases, then the release. On your machine’s row, open the menu, choose Copy download command, and paste it into the machine’s terminal within 5 minutes. To download in a browser instead, take the installer with its
SHA256SUMS,.sigand.pemfiles and verify the signature withcosign verify-blobbefore you run it. -
Name the machine
Run this on a single machine, or add
--kubeconfig <path>withoutsudofor a cluster, plus--platform aksor--platform gkeon those managed clusters. Copy the line that starts withgmc1, or scan the QR code it prints.Terminal window sudo ./generate machine-code -
Get a grant
In the portal, choose New site and paste the line, or open an existing site and choose New grant. Download the grant file,
generate-grant-<id>.json, to the machine. A grant works on that one machine, for one release, for 48 hours. -
Set up your own domain, if you use one
Skip this on a site at
<site id>.generate.iterate.ai. Point an A record for each of the site’s hosts at the machine; on a cluster, point each host at the gateway service’s external address, with an A record for an address or a CNAME for a name. Check each record:Terminal window dig +short <host>With Let’s Encrypt, keep port 80 open to the internet for issue and renewal. With your own certificate, see Use your own certificate.
-
Start a tmux session
Run the install inside tmux, so a dropped connection does not stop it; reconnect with
tmux attach -t install.Terminal window tmux new -s install -
Run the install command
Copy the install command from the portal’s New grant dialog and run it. For a cluster, add
--kubeconfig <path>. Replace<box IPv4>with the address your users reach the site at (hostname -Ilists the machine’s), or on a cluster with its addresses, comma-separated. On a single machine the install can take over an hour. -
Read the administrator password
Read the initial administrator password from the site’s
admin-initial-credentialssecret. -
Sign in and register a tenant
Open
https://<your app host>/tenant-register/login, sign in asadmin, and choose Register a tenant to create your organization’s workspace.
Every check runs before anything is written, and one refusal stops the install with a message naming what to fix. A check the installer cannot answer prints NO ANSWER, which counts as a failure. Fix what it names and run the same command again; a rerun picks up where it stopped and changes nothing that is already right.
Send a support file
Section titled “Send a support file”Give Iterate support what it needs when an install still fails.
-
Write the support file
Add
--namespaceand--kubeconfigas the guide in the portal shows. On a site that keeps its own logs, the file includes the last hour of the site’s logs;--sincetakes up to72h.Terminal window generate diagnose --out generate-support.txt -
Send it to Iterate support
Or send it through the portal with
--upload, which lists every item and its size and asks you to confirm; any answer but yes sends nothing.Terminal window generate diagnose --upload
Replace a certificate
Section titled “Replace a certificate”Swap your own certificate before it expires, with no reinstall.
-
Save the new pair
Save the new certificate and key as
tls.crtandtls.key. -
Run tls renew
It finishes when the site serves the new certificate.
Terminal window sudo ./generate tls renew --tls-cert tls.crt --tls-key tls.key
Upgrade a site
Section titled “Upgrade a site”Move a connected site to a newer release from the portal, with no shell access needed.
-
Pick the newer release
In the portal, move the site to a newer release. It follows within about a minute, and the upgrade fails if the site is not healthy and verified within 30 minutes.
-
Upgrade the machine’s Kubernetes when the portal asks
The machine’s Kubernetes is upgraded separately. When the portal shows it is behind, run this, which steps it one minor version at a time.
Terminal window sudo ./generate upgrade-host
You can also set an update policy that decides which releases the site takes by itself in its maintenance window: none, patch releases, or patch and minor releases. Running generate install again with a new grant also upgrades or repairs a site.
- Rollback returns to the previous release only when no release in between changed the database. Otherwise the site is marked roll-forward only.
- Support window: a site may run one minor release behind the current one and stay supported. Two behind still runs, but a defect report is answered with a request to upgrade first.
System requirements
Section titled “System requirements”A single machine
Section titled “A single machine”| Requirement | What the installer accepts |
|---|---|
| Operating system | Ubuntu 22.04 or 24.04 on amd64 or arm64, or RHEL 9.7 or 9.8 on amd64 |
| Access | A user that can run sudo |
| Network | Ports 80 and 443 open to the machine, and outbound HTTPS to the public chart repositories and container registries the install downloads from |
| GPU, for a model served on the machine | An NVIDIA GPU whose driver works, so nvidia-smi -L lists it |
The portal shows the size your site needs. The installer measures the machine first and stops if it is too small:
| Size | CPU cores | Memory | Disk |
|---|---|---|---|
| xs | 13 | 56 GiB | 250 GiB |
| small | 16 | 72 GiB | 300 GiB |
| medium | 24 | 96 GiB | 750 GiB |
| large | 48 | 192 GiB | 750 GiB |
| xl | 96 | 384 GiB | 1400 GiB |
Disk is measured on the filesystem that holds /var/lib/rancher. The machine’s Kubernetes uses the pod and service networks 10.42.0.0/16 and 10.43.0.0/16 unless you choose others, and the install stops on a machine whose own network falls inside them. To move them, add --cluster-cidr and --service-cidr with two networks your site does not use, such as --cluster-cidr 10.100.0.0/16 --service-cidr 10.101.0.0/16.
Building the machine changes it in these ways: the install turns on unattended upgrades for security updates only, with no automatic reboot; raises the file-watch limits; installs the NFS client where the site mounts NFS exports; and, on a machine with an NVIDIA GPU, adds NVIDIA’s container toolkit. Every download is checked against a pinned checksum, and a component already at its pinned version is left alone.
For a storage site, have the NetApp ONTAP storage VM ready first, as Choose a Generate edition lists, and set its storage credential in the portal before you ask for a grant; the grant waits until it is set.
An existing Kubernetes cluster
Section titled “An existing Kubernetes cluster”kubectlaccess as a user who can create namespaces and cluster-wide objects.- Kubernetes 1.28 or later.
- A computer to run the installer from: Linux, or a Mac with Apple silicon.
The installer checks the cluster before it writes anything: the operators and controllers the site needs, the storage classes, the container runtimes, GPUs where a model runs on the site, and enough capacity on the nodes the site may use.
To install into two namespaces with no cluster-wide rights for the person installing, after a cluster administrator applies a bundle once, see Install Generate into namespaces on your own cluster. A site there that pulls from your own registry copies its images into it with generate copy-images before the bundle.
Use your own certificate
Section titled “Use your own certificate”Save the certificate and its key in PEM as tls.crt and tls.key, covering every host and valid for more than 7 days, and add --tls-cert tls.crt --tls-key tls.key to the install command. Put the server certificate first in tls.crt, then the chain. On a cluster, install without them and place them afterwards with generate tls renew --kubeconfig <path> --tls-cert tls.crt --tls-key tls.key.
Other installer commands
Section titled “Other installer commands”| Command | What it does |
|---|---|
generate preflight |
Runs every check and writes nothing |
generate connect |
An online install with no file to copy: prints a code, valid 15 minutes, to enter in the portal’s New site or New grant, then waits for the grant |
generate uninstall |
Removes the site and lists anything it could not remove. It deletes no data on disk |
generate version |
Prints the installer’s build |
Last updated on