mirror of https://github.com/knative/docs.git
Edit Clean up page in tutorial (#4697)
* Edit clean up page * Tweak introduction * Add minikube output * Hide next on clean up page * Edit link
This commit is contained in:
parent
9de5e8d365
commit
39afe419f7
|
@ -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
|
||||
###############################################################################
|
||||
|
|
|
@ -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.
|
||||
```
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
---
|
||||
hide_next: true
|
||||
---
|
||||
# Next Steps
|
||||
|
||||
This topic provides a list of resources to help you continue your Knative journey.
|
||||
|
|
Loading…
Reference in New Issue