diff --git a/docs/admin/infrastructure/scale-testing.md b/docs/admin/infrastructure/scale-testing.md index 14c332c2d2f..0cacf06bede 100644 --- a/docs/admin/infrastructure/scale-testing.md +++ b/docs/admin/infrastructure/scale-testing.md @@ -13,7 +13,7 @@ capabilities, allowing Coder to efficiently deploy, scale, and manage workspaces across a distributed infrastructure. This ensures high availability, fault tolerance, and scalability for Coder deployments. Coder is deployed on this cluster using the -[Helm chart](../../install/kubernetes.md#4-install-coder-with-helm). +[Helm chart](../../install/kubernetes/index.md#4-install-coder-with-helm). For more information about scaling, see our [Coder scaling best practices](../../tutorials/best-practices/scale-coder.md). diff --git a/docs/admin/infrastructure/validated-architectures/index.md b/docs/admin/infrastructure/validated-architectures/index.md index 96fb974abea..a627a48d132 100644 --- a/docs/admin/infrastructure/validated-architectures/index.md +++ b/docs/admin/infrastructure/validated-architectures/index.md @@ -393,7 +393,7 @@ could affect workspace users experience once the platform is live. 1. Determine the necessary environment variables. Here is the [full list of supported server environment variables](../../../reference/cli/server.md). 1. Follow our documented - [steps for installing Coder via Helm](../../../install/kubernetes.md). + [steps for installing Coder via Helm](../../../install/kubernetes/index.md). ### Template configuration diff --git a/docs/admin/integrations/multiple-kube-clusters.md b/docs/admin/integrations/multiple-kube-clusters.md index 0450f175fd0..f8686f3f332 100644 --- a/docs/admin/integrations/multiple-kube-clusters.md +++ b/docs/admin/integrations/multiple-kube-clusters.md @@ -48,7 +48,7 @@ coder: readOnly: true ``` -[Upgrade Coder](../../install/kubernetes.md#upgrade-coder-via-helm) with these +[Upgrade Coder](../../install/kubernetes/index.md#upgrade-coder-via-helm) with these new values. ### VM control plane diff --git a/docs/admin/networking/high-availability.md b/docs/admin/networking/high-availability.md index 91719904c72..c95499a00c8 100644 --- a/docs/admin/networking/high-availability.md +++ b/docs/admin/networking/high-availability.md @@ -68,7 +68,7 @@ Here's an example 3-node network configuration setup: ## Kubernetes If you installed Coder via -[our Helm Chart](../../install/kubernetes.md#4-install-coder-with-helm), just +[our Helm Chart](../../install/kubernetes/index.md#4-install-coder-with-helm), just increase `coder.replicaCount` in `values.yaml`. If you installed Coder into Kubernetes by some other means, insert the relay URL @@ -91,4 +91,4 @@ Then, increase the number of pods. ## Up next - [Read more on Coder's networking stack](./index.md) -- [Install on Kubernetes](../../install/kubernetes.md) +- [Install on Kubernetes](../../install/kubernetes/index.md) diff --git a/docs/install/airgap.md b/docs/install/airgap.md index faeace13ee8..fa1c2f53deb 100644 --- a/docs/install/airgap.md +++ b/docs/install/airgap.md @@ -186,7 +186,7 @@ This can be uploaded into the `plugins` directory on your offline server. We publish the Helm chart for download on [GitHub Releases](https://github.com/coder/coder/releases/latest). Follow our -[Kubernetes](./kubernetes.md) documentation and modify the Helm values to +[Kubernetes](./kubernetes/index.md) documentation and modify the Helm values to specify your custom Coder image. ```yaml diff --git a/docs/install/cloud/index.md b/docs/install/cloud/index.md index 9f6629ee1ad..7fca7fa1043 100644 --- a/docs/install/cloud/index.md +++ b/docs/install/cloud/index.md @@ -14,10 +14,10 @@ We publish Coder Community Edition on the AWS Marketplace. Follow the tutorial h - [Install Coder Community Edition from AWS Marketplace](./aws-marketplace.md) Alternatively, install the [CLI binary](../cli.md) on any Linux machine or -follow our [Kubernetes](../kubernetes.md) documentation to install Coder on an +follow our [Kubernetes](../kubernetes/index.md) documentation to install Coder on an existing Kubernetes cluster. -For EKS-specific installation guidance, see the [AWS section in Kubernetes installation docs](../kubernetes.md#aws). +For EKS-specific installation guidance, see the [AWS section in Kubernetes installation docs](../kubernetes/index.md#aws). ## GCP @@ -27,7 +27,7 @@ tutorial here: - [Install Coder on GCP Compute Engine](./compute-engine.md) Alternatively, install the [CLI binary](../cli.md) on any Linux machine or -follow our [Kubernetes](../kubernetes.md) documentation to install Coder on an +follow our [Kubernetes](../kubernetes/index.md) documentation to install Coder on an existing GKE cluster. ## Azure @@ -37,7 +37,7 @@ Use the following guide to run Coder on an Azure VM: - [Install Coder on an Azure VM](./azure-vm.md) Alternatively, install the [CLI binary](../cli.md) on any Linux machine or -follow our [Kubernetes](../kubernetes.md) documentation to install Coder on an +follow our [Kubernetes](../kubernetes/index.md) documentation to install Coder on an existing GKE cluster. ## Other diff --git a/docs/install/kubernetes.md b/docs/install/kubernetes/index.md similarity index 93% rename from docs/install/kubernetes.md rename to docs/install/kubernetes/index.md index f85eae48b9d..cf04dd67c2f 100644 --- a/docs/install/kubernetes.md +++ b/docs/install/kubernetes/index.md @@ -3,7 +3,7 @@ title: Install Coder on Kubernetes --- You can install Coder on Kubernetes (K8s) using Helm. We run on most Kubernetes -distributions, including [OpenShift](./openshift.md). +distributions, including [OpenShift](../openshift.md). ## Requirements @@ -120,13 +120,13 @@ coder: ``` You can view our -[Helm README](../../helm/coder/README.md) for +[Helm README](../../../helm/coder/README.md) for details on the values that are available, or you can view the -[values.yaml](../../helm/coder/values.yaml) +[values.yaml](../../../helm/coder/values.yaml) file directly. We support two release channels: mainline and stable - read the -[Releases](./releases/index.md) page to learn more about which best suits your team. +[Releases](../releases/index.md) page to learn more about which best suits your team. - **Mainline** Coder release: @@ -201,9 +201,9 @@ helm upgrade coder coder-v2/coder \ ## Standalone AI gateway chart -Coder also publishes a chart, `oci://ghcr.io/coder/chart/coder-ai-gateway`, that runs [AI Gateway](../ai-coder/ai-gateway/index.md) as its own Deployment alongside the control plane. +Coder also publishes a chart, `oci://ghcr.io/coder/chart/coder-ai-gateway`, that runs [AI Gateway](../../ai-coder/ai-gateway/index.md) as its own Deployment alongside the control plane. Use it when you want to scale AI traffic independently of `coderd`. -For installation and configuration, refer to [Deploy AI Gateway as a standalone service](../ai-coder/ai-gateway/standalone.md) and the [AI Gateway Helm chart README](../../helm/ai-gateway/README.md). +For installation and configuration, refer to [Deploy AI Gateway as a standalone service](../../ai-coder/ai-gateway/standalone.md) and the [AI Gateway Helm chart README](../../../helm/ai-gateway/README.md). ## Coder Observability Chart @@ -317,7 +317,7 @@ The Application Gateway supports: - TLS termination Follow our doc on -[how to deploy Coder on Azure with an Application Gateway](./kubernetes/kubernetes-azure-app-gateway.md) +[how to deploy Coder on Azure with an Application Gateway](./kubernetes-azure-app-gateway.md) for an example. ## Troubleshooting @@ -332,10 +332,10 @@ Ensure you have an externally-reachable `CODER_ACCESS_URL` set in your helm chart. If you do not have a domain set up, this should be the IP address of Coder's LoadBalancer (`kubectl get svc -n coder`). -See [troubleshooting templates](../admin/templates/troubleshooting.md) for more +See [troubleshooting templates](../../admin/templates/troubleshooting.md) for more steps. ## Next steps -- [Create your first template](../tutorials/template-from-scratch.md) -- [Control plane configuration](../admin/setup/index.md) +- [Create your first template](../../tutorials/template-from-scratch.md) +- [Control plane configuration](../../admin/setup/index.md) diff --git a/docs/install/openshift.md b/docs/install/openshift.md index 84df8318325..b3dd2c7c37c 100644 --- a/docs/install/openshift.md +++ b/docs/install/openshift.md @@ -82,7 +82,7 @@ coder: ### 3. Configure the Coder service, connection URLs, and cache values To establish a connection to PostgreSQL, set the `CODER_PG_CONNECTION_URL` -value. [See our Helm documentation](./kubernetes.md) on configuring the +value. [See our Helm documentation](./kubernetes/index.md) on configuring the PostgreSQL connection URL as a secret. Additionally, if accessing Coder over a hostname, set the `CODER_ACCESS_URL` value. diff --git a/docs/install/upgrade.md b/docs/install/upgrade.md index e5bc9fb729e..8c17b442cb2 100644 --- a/docs/install/upgrade.md +++ b/docs/install/upgrade.md @@ -48,7 +48,7 @@ docker-compose pull coder && docker-compose up -d coder ### Kubernetes See -[Upgrade Coder via Helm](../install/kubernetes.md#upgrade-coder-via-helm). +[Upgrade Coder via Helm](../install/kubernetes/index.md#upgrade-coder-via-helm). ### Coder AMI on AWS diff --git a/docs/manifest.json b/docs/manifest.json index f9c1e966ba9..c09ce3b659a 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -133,7 +133,7 @@ { "title": "Kubernetes", "description": "Install Coder on a Kubernetes cluster using the official Helm chart for production deployments.", - "path": "./install/kubernetes.md", + "path": "./install/kubernetes/index.md", "icon_path": "./images/icons/kubernetes.svg", "children": [ { diff --git a/docs/tutorials/best-practices/speed-up-templates.md b/docs/tutorials/best-practices/speed-up-templates.md index cd5828e9a69..0136d4eab6b 100644 --- a/docs/tutorials/best-practices/speed-up-templates.md +++ b/docs/tutorials/best-practices/speed-up-templates.md @@ -46,7 +46,7 @@ We recommend that all administrators deploying on Kubernetes or on an existing Prometheus or Grafana stack set the observability bundle up with the control plane from the start. For installation instructions, visit the [observability repository](https://github.com/coder/observability?tab=readme-ov-file#installation), -or our [Kubernetes installation guide](../../install/kubernetes.md). +or our [Kubernetes installation guide](../../install/kubernetes/index.md). ### Enable Prometheus metrics for Coder diff --git a/scripts/releaser/docs.go b/scripts/releaser/docs.go index 33fbfd79a04..fb309aa39a3 100644 --- a/scripts/releaser/docs.go +++ b/scripts/releaser/docs.go @@ -20,7 +20,7 @@ const ( calendarEndMarker = "" releasesFile = "docs/install/releases/index.md" - kubernetesFile = "docs/install/kubernetes.md" + kubernetesFile = "docs/install/kubernetes/index.md" rancherFile = "docs/install/rancher.md" changelogURLFmt = "https://coder.com/changelog/coder-%d-%d" releaseTagURLFmt = "https://github.com/coder/coder/releases/tag/%s"