istio.io/content/en/docs/tasks/traffic-management/locality-load-balancing/cleanup/index.md

681 B

title description weight keywords test owner
Cleanup Cleanup steps for locality load balancing. 30
locality
load balancing
yes istio/wg-networking-maintainers

Now that you've completed the locality load balancing tasks, let's cleanup.

Remove generated files

{{< text bash >}} $ rm -f sample.yaml helloworld-region*.zone*.yaml {{< /text >}}

Remove the sample namespace

{{< text bash >}} $ for CTX in "$CTX_PRIMARY" "$CTX_R1_Z1" "$CTX_R1_Z2" "$CTX_R2_Z3" "$CTX_R3_Z4";
do
kubectl --context="$CTX" delete ns sample --ignore-not-found=true;
done {{< /text >}}

Congratulations! You successfully completed the locality load balancing task!