## Summary Rework the install landing pages so a reader can see where to go at a glance, without reading the planning material first. The install landing page is now a hub of ten cards in three groups that point to the high-impact and most searched pages, modeled on the GitLab and Mattermost install pages, and the planning material moves to a new Production deployment process page. Every existing page URL stays the same; the sidebar gains two pages. #31869 (the air-gapped K3s tutorial), which this PR links to, has merged, and this branch is rebased onto `main`. The cards need coder/docs-engine#388 to render as cards; without it, the docs engine, GitHub, and the classic offline docs render the same block as a plain link list, so the two PRs can merge in either order. The docs home page cards moved to #32714. Refs [DOCS-1568](https://linear.app/codercom/issue/DOCS-1568) and [DOCS-1570](https://linear.app/codercom/issue/DOCS-1570). ## Changes - `install/index.md`: a one-sentence intro, a tip that points to the Quickstart and the CLI download, and three groups of cards. - Install the control plane: Installation requirements, Air-gapped K3s quickstart, Install on Kubernetes, and Installation methods. - Run Coder in production: Production deployment process and Upgrade Coder. - Common tasks: Air-gapped deployments, Use an external database, TLS and reverse proxies, and Image pull secrets. - New `install/production-deployment.md` (Production deployment process), the first child of Install: the five phases table with its "When you can skip it" column, Move from evaluation to production, Decisions worth making deliberately, and Who does the work, all moved from the landing page. Move from evaluation to production keeps the setup token sentence from #32324. - New `install/server/requirements.md` (Installation requirements), the first child of Install the control plane: control plane CPU and memory, PostgreSQL, platform versions, network, internet access, and license, each traced to code or the existing platform pages. - `install/server/index.md`: takes the three platform questions, the offline notes, and the first air-gapped workspace build note from the landing page. The platform table gains a "Where the control plane runs" column, with Rancher and OpenShift listed as Kubernetes. - `install/server/kubernetes/index.md`: intro names EKS, AKS, GKE, K3s, and OpenShift, and points offline clusters to the air-gap page and the K3s tutorial. - `install/server/cloud/index.md`: sends existing EKS, AKS, and GKE clusters to the Kubernetes guide, notes that the AWS Marketplace guide creates a new EKS cluster, and fixes the Azure tab, which said GKE instead of AKS. - `install/plan/index.md` and `install/prepare/index.md`: planning reads as a recommendation, not a requirement, and Prepare links to the requirements page. ## Decisions for review 1. **Card syntax.** Each card is one item in a plain link list, `[Title](link): one-sentence description`, inside `<div class="cards">`. The corpus compiles as `.md`, so it can't use JSX; this is the same approach as `<div class="tabs">`, and it degrades to a readable list wherever the plugin isn't present. 2. **The first six cards** come from the Nov 20 review with Ben. Two card titles are shorter than their target page titles: "Air-gapped K3s quickstart" opens "Install Coder on K3s in an air-gapped environment", and "Installation methods" opens "Install the control plane". The 1-hour target from the Nov 4 review still isn't stated, because it needs a timed run. 3. **The Common tasks cards come from search data, not page views.** No page-view source was available (Search Console is on a personal account, and Vercel analytics needs credentials). The four cards are the install pages with the most result impressions in Algolia over the 30 days to Nov 18: image pull secrets, air-gapped deployments, the external database, and the NGINX and Apache reverse proxy pages, which match the frequent `proxy` and `certificate` searches. Semrush also shows "nginx reverse proxy" at 4,400 searches a month. The TLS card opens the TLS & Reverse Proxy section of the control plane setup page, which links Apache, Caddy, and NGINX, instead of one proxy page. Docker is left out because the Installation methods card already covers it. Swap any card if page views tell a different story. 4. **"Choose your path" is gone.** Every row now has a card or the tip, and Move from evaluation to production is a section of the new page. The Architecture link that row carried now lives only on Plan your deployment. 5. **Classic offline docs get no card styling.** They render the plain list until the offline docs move to the docs engine. 6. **Rancher and OpenShift read as Kubernetes options.** This reverses what I proposed in the Nov 4 install review (Rancher with container runtimes, OpenShift with Linux). Both guides install the Helm chart on a cluster, so a reader looking for Kubernetes needs to find them. This PR only changes the table labels; no pages move. ## Previews Both previews are built from this branch at `e1d00f4f10`. A screenshot of the docs engine version of the install page is on coder/docs-engine#388. - **Docs engine:** check out coder/docs-engine#388 (`vigilante/coder-docs-cards`), and in `apps/docs` run `DOCS_VERSION_ID=main DOCS_VERSION_REF=e1d00f4f10 DOCS_VERSION_ROOT=1 DOCS_ROOT=<this checkout>/docs pnpm sync`, then the same variables with `pnpm exec next dev -p <port>`, and open `/install/`. The cards sit in a two-column grid and stack to one column on a phone. - **Classic offline docs:** in `offlinedocs/`, run `pnpm install`, `pnpm copy-images`, and `pnpm exec next dev -p <port>`, and open `/install/`. The cards render as a bulleted link list with descriptions, and the tip renders as an alert. ## Not in this PR - Cards on the docs home page: #32714 ([DOCS-1904](https://linear.app/codercom/issue/DOCS-1904)). - New pages that need a tested run first: create your first template ([DOCS-1783](https://linear.app/codercom/issue/DOCS-1783)), an air-gapped Helm install on EKS or AKS ([DOCS-1798](https://linear.app/codercom/issue/DOCS-1798)), and a small reference architecture ([DOCS-1572](https://linear.app/codercom/issue/DOCS-1572)). - Sidebar moves and renames ([DOCS-1569](https://linear.app/codercom/issue/DOCS-1569)). - Pre-existing issues on `prepare/airgap.md`, which this PR links to: it says the built-in database downloads PostgreSQL from `repo1.maven.org`, but `cli/server.go` uses `repo.maven.apache.org`, and its first sentence says all features are supported offline without the hosted-service exception this PR adds to the requirements page. Known tradeoff: platform versions (Kubernetes 1.19, Helm 3.5, and so on) appear on both the requirements page and each platform page, so a version bump has to update both. ## Testing - `make gen/docs-manifest` and `make fmt/markdown`. - `make lint/emdash lint/docs-html lint/docs-manifest lint/markdown lint/docs-redirects`: all pass. - Vale on the changed pages: 0 errors and 0 warnings on added lines. - Links and anchors on the changed pages resolve, including `admin/setup#tls--reverse-proxy` on the docs engine, and no page in `docs/` links to an anchor this PR removed from the landing page. - The docs engine single-version sync of this branch passes strict. - In headless Chromium, the docs engine renders ten cards on the install page with the expected titles and links, in light and dark at 1440px and in one column at 390px; the classic offline docs render the same links as lists. - doc-check skill in author self-check mode at `eaab2994c4`, with fixes in `e1d00f4f10`: - Fixed: the requirements page and the platform chooser said every feature works without internet access; both now say Coder runs offline, and that features that call a hosted service, such as a hosted AI provider, need it reachable. - Fixed: the phase 5 "When you can skip it" cell now reads "Never", like phase 3. - Rejected: a finding that no setup token exists. #32324 adds it (`cli/setuptoken.go`, the `Setup token:` prompt in `cli/login.go`, and `setup_token` in `SetupPageView.tsx`). - Not applied: renaming the "Air-gapped K3s quickstart" card, which is the name from the Nov 20 review. - An earlier run flagged the Helm chart default resources on the requirements page as wrong, but `helm/libcoder/templates/_coder.yaml` sets 2 CPU cores and 4 GiB as both requests and limits when `coder.resources` is empty, so the sentence stands. <details> <summary>Plan and decision log</summary> **Request.** Add pages where they're needed, and update the existing landing pages so it's obvious where to go to install the control plane right away. Don't rearrange the sidebar or rename pages. **Inputs.** - The install section skeleton IA draft in Notion (Docs proposals), which recommends Kubernetes as the golden path and air-gap first. - Feedback from the Nov 4 install docs review with Stephen Kirby and Ben, the Nick and Ian 1:1 (Nov 4), and the Nick and Ben 1:1 (Nov 5). - The Nick and Ben weekly (Nov 20): the landing page still read as text-heavy and didn't tell a reader where to go. The bar is the GitLab and Mattermost install pages. Agreed: cards at the top, the text moved to an intro page, and air-gapped and production paths visually distinct. **What the feedback changed.** - Kirby's three questions (network-gapped, cloud or on premises, VMs or containers) open the platform chooser, Install the control plane. - Kirby's point was "plan once, deploy once": planning matters, but most of the lost time comes after IT approval. So readers can install first, and Plan and Prepare stay visible as recommendations, with a "When you can skip it" column, on the Production deployment process page. - The review called out the missing path from evaluation to production, which is now a section of the Production deployment process page. - Kirby's golden path is an enterprise past approval installing with Helm on air-gapped EKS or AKS. The K3s tutorial covers single-node evaluation only, so that gap is filed as DOCS-1798 instead of being written here without a tested run. - Nov 20: the landing page became six cards in two groups, following GitLab's install page (requirements, methods, offline, reference architectures, upgrades) and Mattermost's evaluate-to-production journey. The prose moved inward rather than being cut: planning to the new page, platform choice and offline notes to the chooser. - Nov 24: Nick asked for cards for the high-traffic pages on the install landing page. With no page-view data reachable, a third group, Common tasks, follows the install pages with the most Algolia result impressions, and Ben's caution against card sprawl keeps it to four. Cards for the docs home page, built first by mistake, moved to their own PR, #32714. #31869 had merged, so the branch is rebased onto `main` without its commits. **Choices made.** - Requirements traced to code: Helm chart default resources (`helm/libcoder/templates/_coder.yaml`), Kubernetes version (`helm/coder/Chart.yaml` `kubeVersion`), built-in PostgreSQL download (`cli/server.go`), and the Kubernetes starter template's code-server install (`examples/templates/kubernetes/main.tf`). - Cards are a docs-engine remark plugin over a plain link list (DOCS-1795, coder/docs-engine#388), not JSX, so the page reads the same on GitHub and in the classic offline docs. Each card description is one sentence and avoids abbreviations that would need expanding. - The new page is the first child of Install, so the sidebar reads as the process followed by its five phases. - Ian's suggestion to use includes for repeated content (such as the air-gap Dockerfile) is deferred. This PR repeats only short routing sentences. </details> --- _This PR was generated by Coder Agents on behalf of @nickvigilante._ --------- Co-authored-by: Ian Evans <5760366+ianjevans@users.noreply.github.com>
2.8 KiB
title
| title |
|---|
| Prepare prerequisites |
Preparation gathers the external pieces a deployment depends on. Most of them are owned by another team, so their lead time, not the installation itself, usually sets your timeline. Start the slowest items first. For the CPU, memory, database, and platform versions the control plane itself needs, refer to Installation requirements.
What to gather
| Prerequisite | Usual owner | Notes |
|---|---|---|
| Access hostname and DNS records | DNS and TLS owner | You need the Coder hostname, and a wildcard record if you want to serve workspace apps on subdomains |
| TLS certificates | DNS and TLS owner | A wildcard certificate covers the hostname and the workspace app subdomains |
| PostgreSQL database | Database administrator | Include a backup and restore plan, not only a connection string |
| Identity provider application | Identity provider administrator | Register the OpenID Connect (OIDC) application and agree on the group claims you intend to map |
| Coder license | Licensing contact | Required for Premium features; refer to Licensing |
| Container images and Coder binaries | Coder platform owner | Only for restricted networks; refer to Air-gapped deployments and Mirror Coder Registry with Artifactory |
Lead times
Certificates, database provisioning, and identity provider registration are the items most likely to block an install, because each one needs a request to another team and a review cycle. Requesting them while you're still planning is usually the difference between a deployment that takes days and one that takes weeks.
Before you move on
You can install the control plane without every item on this list, and a proof of concept often does. Treat the list as strong recommendations: each item you skip is work that reappears later, usually when real users already depend on the deployment.
Next: Install the control plane.