[release-1.2] Edit Clean up page in tutorial (#4706)

* Edit clean up page

* Tweak introduction

* Add minikube output

* Hide next on clean up page

* Edit link

Co-authored-by: snneji <snneji@vmware.com>
This commit is contained in:
Knative Prow Robot 2022-02-07 06:53:53 -08:00 committed by GitHub
parent 1642c86771
commit 5396a6b74e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 45 deletions

View File

@ -20,8 +20,8 @@ nav:
- Sources, Brokers, Triggers, Sinks: getting-started/first-broker.md
- Introducing the CloudEvents Player: getting-started/first-source.md
- Creating your first Trigger: getting-started/first-trigger.md
- Clean Up: getting-started/clean-up.md
- What's Next?: getting-started/next-steps.md
- Clean Up: getting-started/clean-up.md
###############################################################################
# Installing
###############################################################################

View File

@ -1,38 +1,37 @@
## Clean Up
---
hide_next: true
---
# Clean Up
=== "kn"
Delete the Service by running the command:
We recommend that you delete the cluster used for this tutorial to free up resources
on your local machine.
```bash
kn service delete cloudevents-player
```
If you want to continue experimenting with Knative after deleting the cluster,
you can reinstall Knative on a new cluster using the [`quickstart` plugin](quickstart-install.md#run-the-knative-quickstart-plugin) again.
Delete the Trigger by running the command:
## Delete the Cluster
```bash
kn trigger delete cloudevents-trigger
```
=== "kind"
=== "kubectl"
Delete the Service by running the command
Delete your `kind` cluster by running the command:
```bash
kubectl delete -f cloudevents.yaml
```
Delete the Trigger by running the command:
```bash
kubectl delete -f ce-trigger.yaml
```
Delete the Cluster
Delete your `kind` Cluster by running the command:
```bash
kind delete clusters knative
```
!!! success "Verify Output"
```{ .bash .no-copy }
Deleted clusters: ["knative"]
!!! success "Example output"
```{ .bash .no-copy }
Deleted clusters: ["knative"]
```
=== "minikube"
Delete your `minikube` cluster by running the command:
```bash
minikube delete -p knative
```
!!! success "Example output"
```{ .bash .no-copy }
🔥 Deleting "knative" in hyperkit ...
💀 Removed all traces of the "knative" cluster.
```

View File

@ -185,16 +185,3 @@ Hello World!
```
Congratulations, :tada: you've successfully split traffic between 2 different Revisions of a Knative Service. Up next, Knative Eventing!
## Clean Up
You won't need the `hello` Service in the Knative Eventing tutorial, so it's best to clean up before you move forward:
=== "kn"
```bash
kn service delete hello
```
=== "kubectl"
```bash
kubectl delete -f hello.yaml
```

View File

@ -1,6 +1,3 @@
---
hide_next: true
---
# Next Steps
This topic provides a list of resources to help you continue your Knative journey.