Skip to content

Commit 6d7404b

Browse files
Upmerge v0.62 to edge
Signed-off-by: radius-release[bot] <294554884+radius-release[bot]@users.noreply.github.com>
1 parent bfe2430 commit 6d7404b

3 files changed

Lines changed: 30 additions & 0 deletions

File tree

‎docs/content/getting-started/install-radius/_index.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ In part one, you will install Radius on an existing Kubernetes cluster.
1212

1313
For this guide you only need a **Kubernetes cluster**. To install Radius, your user must have the cluster-admin role. Radius <a href="{{< ref "installation#supported-kubernetes-clusters" >}}">supports</a> <a href="https://azure.microsoft.com/en-us/products/kubernetes-service">AKS</a>, <a href="https://aws.amazon.com/eks/">EKS</a>, <a href="https://k3d.io/">k3d</a>, and <a href="https://kind.sigs.k8s.io/">kind</a> clusters. Running a local cluster with k3d or kind is recommended.
1414

15+
If you use k3d, [prepare the cluster with Traefik disabled and a local HTTP port mapping]({{< ref "/installation#prepare-a-k3d-cluster" >}}) before continuing.
16+
1517
## Install the Radius CLI
1618

1719
{{< read file="/shared-content/installation/rad-cli/install-rad-cli.md" >}}

‎docs/content/installation/_index.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,32 @@ Radius is tested and validated against the following Kubernetes distributions:
3535
- [k3d](https://k3d.io)
3636
- [kind](https://kind.sigs.k8s.io/)
3737

38+
### Prepare a k3d cluster
39+
40+
Use a recent k3d release with a Kubernetes version that meets the [system requirements](#system-requirements). Disable the bundled Traefik ingress controller because `rad install kubernetes` and `rad initialize` install Contour by default. Running both controllers can cause port conflicts and Gateway API CRD ownership errors.
41+
42+
Create a new cluster with Traefik disabled and an HTTP port mapping:
43+
44+
```bash
45+
k3d cluster create radius \
46+
-p "127.0.0.1:18081:80@loadbalancer" \
47+
--k3s-arg "--disable=traefik@server:*"
48+
```
49+
50+
The port mapping forwards traffic from `localhost:18081` to port 80 on the cluster nodes. Replace `18081` with another available local port if needed. Binding to `127.0.0.1` limits access to your workstation.
51+
52+
Leave the bundled k3s service load balancer (`servicelb`) enabled: it exposes Contour's Envoy proxy on the nodes so the port mapping can reach it. Do not add `--disable=servicelb`. Older Radius instructions disabled it because the previous Contour chart exposed Envoy directly through host ports; the current chart uses a Kubernetes `LoadBalancer` Service instead.
53+
54+
If an existing cluster runs Traefik, create a separate cluster with the options above before installing Radius. Creating a new cluster does not migrate workloads from the existing cluster. To use your own gateway controller instead of Contour, see [Use a different gateway controller]({{< ref "/integrations/routes#use-a-different-gateway-controller" >}}).
55+
56+
After creating the cluster, [install the Radius CLI]({{< ref "/installation/cli" >}}), then [install the Radius control plane]({{< ref "/installation/control-plane" >}}). Once you have [deployed an HTTP route]({{< ref "/integrations/routes#deploy-and-access-the-application" >}}), access it through the mapped port using the hostname configured on that route:
57+
58+
```bash
59+
curl -H "Host: frontend.example.com" http://localhost:18081/
60+
```
61+
62+
Replace `frontend.example.com` with your route's hostname. The port mapping alone does not create an application route, and a request without a matching hostname returns HTTP 404.
63+
3864
## Organization
3965

4066
This guide is organized into a separate page for each component you install and configure: the Radius CLI, the control plane, cloud providers, a developer workstation, and the Dashboard. Start with the Radius CLI, then continue through the remaining pages in order.

‎docs/content/installation/control-plane/_index.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ The following table summarizes the differences:
3030

3131
Each method is described in detail below.
3232

33+
For a local k3d cluster, [disable Traefik before installing Radius with Contour]({{< ref "/installation#prepare-a-k3d-cluster" >}}).
34+
3335
## Using `rad initialize`
3436

3537
[`rad initialize`]({{< ref rad_initialize >}}) is the fastest way to get started. It installs the control plane on the current Kubernetes cluster and configures the local machine in one step:

0 commit comments

Comments
 (0)