@@ -134,15 +134,16 @@ ours.
134
134
### Uninstalling the Helm Charts
135
135
136
136
For the example commands below we will be modifying the cluster in
137
- ` us-central1-a ` . You can replace ` module.premerge_cluster_us_central ` with
138
- ` module.premerge_cluster_us_west ` to switch which cluster you are working on.
137
+ ` us-central1-a ` . You can replace ` module.premerge_cluster_us_central_resources `
138
+ with ` module.premerge_cluster_us_west_resources ` to switch which cluster you
139
+ are working on.
139
140
140
141
To begin, start by uninstalling the helm charts by using resource targetting
141
142
on a kubernetes destroy command:
142
143
143
144
``` bash
144
- terraform destroy -target module.premerge_cluster_us_central .helm_release.github_actions_runner_set_linux
145
- terraform destroy -target module.premerge_cluster_us_central .helm_release.github_actions_runner_set_windows
145
+ terraform destroy -target module.premerge_cluster_us_central_resources .helm_release.github_actions_runner_set_linux
146
+ terraform destroy -target module.premerge_cluster_us_central_resources .helm_release.github_actions_runner_set_windows
146
147
```
147
148
148
149
These should complete, but if they do not, we are still able to get things
@@ -153,8 +154,8 @@ manually delete them with `kubectl delete`. Follow up the previous terraform
153
154
commands by deleting the kubernetes namespaces all the resources live in:
154
155
155
156
``` bash
156
- terraform destroy -target module.premerge_cluster_us_central .kubernetes_namespace.llvm_premerge_linux_runners
157
- terraform destroy -target module.premerge_cluster_us_central .kubernetes_namespace.llvm_premerge_windows_runners
157
+ terraform destroy -target module.premerge_cluster_us_central_resources .kubernetes_namespace.llvm_premerge_linux_runners
158
+ terraform destroy -target module.premerge_cluster_us_central_resources .kubernetes_namespace.llvm_premerge_windows_runners
158
159
```
159
160
160
161
If things go smoothly, these should complete quickly. If they do not complete,
@@ -198,12 +199,12 @@ version upgrades however.
198
199
199
200
Start by destroying the helm chart:
200
201
``` bash
201
- terraform destroy -target module.premerge_cluster_us_central .helm_release.github_actions_runner_controller
202
+ terraform destroy -target module.premerge_cluster_us_central_resources .helm_release.github_actions_runner_controller
202
203
```
203
204
204
205
Then delete the namespace to ensure there are no dangling resources
205
206
``` bash
206
- terraform destroy -target module.premerge_cluster_us_central .kubernetes_namespace.llvm_premerge_controller
207
+ terraform destroy -target module.premerge_cluster_us_central_resources .kubernetes_namespace.llvm_premerge_controller
207
208
```
208
209
209
210
### Bumping the Version Number
0 commit comments