Skip to content

Commit d328d91

Browse files
PascalBourdierTimothy-Dougherty
authored andcommitted
Fix typo in README.md (kubernetes-sigs#2223)
* Update README.md make describe deploy before delete ! * update after review
1 parent 274b708 commit d328d91

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

helm/aws-load-balancer-controller/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,15 @@ The old controller must be uninstalled completely before installing the new vers
109109
If you had installed the previous version via kubectl, uninstall as follows
110110
```shell script
111111
$ kubectl delete deployment -n kube-system alb-ingress-controller
112-
# Find the version of the current controller
112+
$ kubectl delete clusterRole alb-ingress-controller
113+
$ kubectl delete ClusterRoleBinding alb-ingress-controller
114+
$ kubectl delete ServiceAccount -n kube-system alb-ingress-controller
115+
116+
# Alternatively you can find the version of the controller and delete as follows
113117
$ kubectl describe deployment -n kube-system alb-ingress-controller |grep Image
114118
Image: docker.io/amazon/aws-alb-ingress-controller:v1.1.8
119+
# You can delete the deployment now
120+
$ kubectl delete deployment -n kube-system alb-ingress-controller
115121
# In this case, the version is v1.1.8, the rbac roles can be removed as follows
116122
$ kubectl delete -f https://raw.githubusercontent.com/kubernetes-sigs/aws-alb-ingress-controller/v1.1.8/docs/examples/rbac-role.yaml
117123
```

0 commit comments

Comments
 (0)