From 471840944c3d50dbb4a8989dcc5ef05466d22bf1 Mon Sep 17 00:00:00 2001 From: viniciusbds Date: Sat, 9 May 2020 10:23:26 -0300 Subject: [PATCH] Add cleanup topic --- .../connecting-frontend-backend.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/en/docs/tasks/access-application-cluster/connecting-frontend-backend.md b/content/en/docs/tasks/access-application-cluster/connecting-frontend-backend.md index 123271be44e..264d930d5fd 100644 --- a/content/en/docs/tasks/access-application-cluster/connecting-frontend-backend.md +++ b/content/en/docs/tasks/access-application-cluster/connecting-frontend-backend.md @@ -203,6 +203,17 @@ The output shows the message generated by the backend: {{% /capture %}} +{{% capture cleanup %}} + +To delete the Services, enter this command: + + kubectl delete services frontend hello + +To delete the Deployments, the ReplicaSets and the Pods that are running the backend and frontend applications, enter this command: + + kubectl delete deployment frontend hello + +{{% /capture %}} {{% capture whatsnext %}}