Skip to content

Commit 6ecf46e

Browse files
author
Mike Petersen
authored
Added clone of docs to steps and updated paths (#2355)
* Added clone of docs to steps and updated paths * Fixed event spelling
1 parent b43d448 commit 6ecf46e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

docs/eventing/samples/kafka/source/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
6363
2. Deploy the `KafkaTopic`
6464

6565
```shell
66-
$ kubectl apply -f kafka/source/samples/strimzi-topic.yaml
66+
$ kubectl apply -f strimzi-topic.yaml
6767
kafkatopic.kafka.strimzi.io/knative-demo-topic created
6868
```
6969

@@ -77,7 +77,14 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
7777

7878
### Create the Event Display service
7979

80-
1. Build the Event Display Service (`even-display.yaml`)
80+
1. Download a copy of the code:
81+
82+
```shell
83+
git clone -b "{{< branch >}}" https://github.com/knative/docs knative-docs
84+
cd knative-docs/docs/eventing/samples/kafka/source
85+
```
86+
87+
2. Build the Event Display Service (`event-display.yaml`)
8188

8289
```yaml
8390
apiVersion: serving.knative.dev/v1
@@ -97,7 +104,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
97104
1. Deploy the Event Display Service
98105

99106
```
100-
$ kubectl apply --filename source/samples/event-display.yaml
107+
$ kubectl apply --filename event-display.yaml
101108
...
102109
service.serving.knative.dev/event-display created
103110
```
@@ -133,7 +140,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
133140

134141
1. Deploy the event source.
135142
```
136-
$ kubectl apply -f kafka/source/samples/event-source.yaml
143+
$ kubectl apply -f event-source.yaml
137144
...
138145
kafkasource.sources.eventing.knative.dev/kafka-source created
139146
```
@@ -218,7 +225,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
218225
4. (Optional) Remove the Apache Kafka Topic
219226

220227
```shell
221-
$ kubectl delete -f kafka/source/samples/kafka-topic.yaml
228+
$ kubectl delete -f kafka-topic.yaml
222229
kafkatopic.kafka.strimzi.io "knative-demo-topic" deleted
223230
```
224231

0 commit comments

Comments
 (0)