Skip to content

Commit

Permalink
Merge pull request #1696 from AndrewSirenko/patch-1
Browse files Browse the repository at this point in the history
Add Uninstall Documentation to install.md
  • Loading branch information
k8s-ci-robot authored Jul 19, 2023
2 parents 84935e2 + b5796d4 commit 04a639d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ The EBS CSI Driver is compatible with Kubernetes versions v1.17+ and implements
* [Volume Tagging](docs/tagging.md)
* [Volume Modification](docs/modify-volume.md)
* [Kubernetes Examples](/examples/kubernetes)
* [Driver Uninstallation](docs/install.md#uninstalling-the-ebs-csi-driver)
* [Development and Contributing](CONTRIBUTING.md)
18 changes: 18 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,21 @@ To make sure dynamically provisioned EBS volumes have all tags that the in-tree

**Warning**:
* kubelet *must* be drained of all pods with mounted EBS volumes ***before*** changing its CSI migration feature flags. Failure to do this will cause deleted pods to get stuck in `Terminating`, requiring a forced delete which can cause filesystem corruption. See [#679](../../../issues/679) for more details.

## Uninstalling the EBS CSI Driver

Note: If your cluster is using EBS volumes, there should be no impact to running workloads. However, while the ebs-csi-driver daemonsets and controller are deleted from the cluster, no new EBS PVCs will be able to be created, and new pods that are created which use an EBS PV volume will not function (because the PV will not mount) until the driver is successfully re-installed (either manually, or through the [EKS add-on system](https://docs.aws.amazon.com/eks/latest/userguide/managing-ebs-csi.html)).

Uninstall the self-managed EBS CSI Driver with either Helm or Kustomize, depending on your installation method. If you are using the driver as a managed EKS add-on, see the [EKS Documentation](https://docs.aws.amazon.com/eks/latest/userguide/managing-ebs-csi.html).

**Helm**

```
helm uninstall aws-ebs-csi-driver --namespace kube-system
```
**Kustomize**
```
kubectl delete -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=release-<YOUR-CSI-DRIVER-VERION-NUMBER>"
```

0 comments on commit 04a639d

Please sign in to comment.