Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How-to guide on Uninstalling Radius #996

Merged
merged 14 commits into from
Jan 18, 2024
2 changes: 1 addition & 1 deletion docs/content/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Congrats! You're running your first Radius app. When you're ready to move on to

## 5. Add Database

This step will add a database (Redis Cache) to the application.
his step will add a database (Redis Cache) to the application.
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

You can create a Redis Cache using [Recipes]({{< ref "guides/recipes/overview" >}}) provided by Radius. The Radius community provides Recipes for running commonly used application dependencies, including Redis.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ slug: 'install'

Radius handles the deployment and management of environments, applications, and other resources with components that are installed into the Kubernetes cluster.

## Prerequisites

- [Kubernetes cluster]({{< ref "guides/operations/kubernetes/overview#supported-kubernetes-clusters" >}})
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- [rad CLI]({{< ref howto-rad-cli >}})

## Install with the rad CLI

Use the [`rad install kubernetes` command]({{< ref rad_install_kubernetes >}}) to install Radius into the `radius-system` namespace on your Kubernetes cluster. You can optionally use the `--set` flag to customize the installation with [Helm configuration options](#helm-configuration-options):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: docs
title: "How-To: Set Kubernetes metadata"
linkTitle: "Kubernetes metadata"
description: "Learn how to configure Kubernetes labels and annotations for generated objects"
weight: 400
weight: 500
categories: "How-To"
tags: ["containers","Kubernetes","applications","environments"]
---
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
type: docs
title: "How-To: Uninstall Radius from Kubernetes"
linkTitle: "Uninstall Radius"
description: "Learn how to uninstall Radius control plane from your Kubernetes cluster"
weight: 400
categories: "How-To"
tags: ["Kubernetes"]
---

## Prerequisites

- [Radius installed on Kubernetes cluster]({{< ref "guides/operations/kubernetes/kubernetes-install" >}})

## Step 1: Uninstall the Radius control-plane from your kubernetes cluster

To uninstall the existing Radius control-plane, run the following command:

```bash
rad uninstall kubernetes
```

All the Radius services running in the `radius-system` namespace will be removed. Note that Radius configuration and data will still be persisted in the cluster until the namespace is also deleted.

## Step 2: Delete the `radius-system` namespace

To delete the `radius-system` namespace, run the following command:

```bash
kubectl delete namespace radius-system
```

Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
All Radius configuration and data will be removed as part of the namespace. This completely removes from your cluster.

## Step 3: Remove the rad CLI

You can remove the rad CLI by deleting the [binary]
({{< ref "/guides/tooling/rad-cli/overview/#binary-location" >}}) and ~/.rad folder from your machine.
Loading