update knative-v0.20 docs for topic Apache Kafka Source Example (#3207)

Signed-off-by: james759426 <james759426@gmail.com>
This commit is contained in:
james426759 2021-02-06 11:52:33 +08:00 committed by GitHub
parent c478eb5e47
commit 531e6d56bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -208,21 +208,21 @@ Tutorial on how to build and deploy a `KafkaSource` [Eventing source](../../../s
1. Remove the Apache Kafka Event Source
```
\$ kubectl delete -f source/source.yaml kafkasource.sources.knative.dev
$ kubectl delete -f source/source.yaml kafkasource.sources.knative.dev
"kafka-source" deleted
```
2. Remove the Event Display
```
\$ kubectl delete -f source/event-display.yaml service.serving.knative.dev
$ kubectl delete -f source/event-display.yaml service.serving.knative.dev
"event-display" deleted
```
3. Remove the Apache Kafka Event Controller
```
\$ kubectl delete -f https://storage.googleapis.com/knative-releases/eventing-contrib/latest/kafka-source.yaml
$ kubectl delete -f https://storage.googleapis.com/knative-releases/eventing-contrib/latest/kafka-source.yaml
serviceaccount "kafka-controller-manager" deleted
clusterrole.rbac.authorization.k8s.io "eventing-sources-kafka-controller"
deleted clusterrolebinding.rbac.authorization.k8s.io