Skip to content

Commit f43e573

Browse files
authored
Merge pull request #701 from danehans/kgtw_cleanup
Docs: Adds Kgateway Cleanup to Quickstart
2 parents 4d7738a + 6a18beb commit f43e573

File tree

1 file changed

+39
-7
lines changed

1 file changed

+39
-7
lines changed

site-src/guides/index.md

+39-7
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ This quickstart guide is intended for engineers familiar with k8s and model serv
119119

120120
5. Given that the default connection timeout may be insufficient for most inference workloads, it is recommended to configure a timeout appropriate for your intended use case.
121121

122-
```bash
123-
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api-inference-extension/raw/main/config/manifests/gateway/gke/gcp-backend-policy.yaml
124-
```
122+
```bash
123+
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api-inference-extension/raw/main/config/manifests/gateway/gke/gcp-backend-policy.yaml
124+
```
125125

126126
=== "Istio"
127127

@@ -269,10 +269,10 @@ This quickstart guide is intended for engineers familiar with k8s and model serv
269269

270270
### Cleanup
271271

272-
The following cleanup assumes you would like to clean ALL resources that were created in this quickstart guide.
272+
The following instructions assume you would like to cleanup ALL resources that were created in this quickstart guide.
273273
Please be careful not to delete resources you'd like to keep.
274274

275-
1. Uninstall the Inference Pool
275+
1. Uninstall the InferencePool, InferenceModel, and model server resources
276276

277277
```bash
278278
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api-inference-extension/raw/main/config/manifests/inferencepool-resources.yaml --ignore-not-found
@@ -282,7 +282,7 @@ This quickstart guide is intended for engineers familiar with k8s and model serv
282282
kubectl delete secret hf-token --ignore-not-found
283283
```
284284

285-
1. Uninstall the Gateway
285+
1. Uninstall the Gateway API resources
286286

287287
```bash
288288
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api-inference-extension/raw/main/config/manifests/gateway/gke/gateway.yaml --ignore-not-found
@@ -296,8 +296,40 @@ This quickstart guide is intended for engineers familiar with k8s and model serv
296296
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api-inference-extension/raw/main/config/manifests/gateway/kgateway/httproute.yaml --ignore-not-found
297297
```
298298

299-
1. Uninstall the CRDs
299+
1. Uninstall the Gateway API Inference Extension CRDs
300300

301301
```bash
302302
kubectl delete -k https://github.com/kubernetes-sigs/gateway-api-inference-extension/config/crd --ignore-not-found
303303
```
304+
305+
1. Choose one of the following options to cleanup the Inference Gateway.
306+
307+
=== "GKE"
308+
309+
**TODO**
310+
311+
=== "Istio"
312+
313+
**TODO**
314+
315+
=== "Kgateway"
316+
317+
The following instructions assume you would like to cleanup ALL Kgateway resources that were created in this quickstart guide.
318+
319+
1. Uninstall Kgateway
320+
321+
```bash
322+
helm uninstall kgateway -n kgateway-system
323+
```
324+
325+
1. Uninstall the Kgateway CRDs.
326+
327+
```bash
328+
helm uninstall kgateway-crds -n kgateway-system
329+
```
330+
331+
1. Remove the Kgateway namespace.
332+
333+
```bash
334+
kubectl delete ns kgateway-system
335+
```

0 commit comments

Comments
 (0)