mirror of https://github.com/knative/docs.git
Update eventing/samples/kafka/binding/README.md (#3069)
- Drop namespace reference in k8s Job resource as none of the other resources specify a namespace. - Add verification for job having run Signed-off-by: Sameer Vohra <vsameer@vmware.com>
This commit is contained in:
parent
d8c1cd1aa9
commit
256f6cdf10
|
@ -154,7 +154,6 @@ In this case, we will bind any `Job` with the labels `kafka.topic: "logs"`.
|
|||
labels:
|
||||
kafka.topic: "logs"
|
||||
name: kafka-publisher-job
|
||||
namespace: test-alpha
|
||||
spec:
|
||||
backoffLimit: 1
|
||||
completions: 1
|
||||
|
@ -178,6 +177,12 @@ In this case, we will bind any `Job` with the labels `kafka.topic: "logs"`.
|
|||
value: '{"msg":"This is a test!"}'
|
||||
name: kafka-publisher
|
||||
```
|
||||
1. Check that the Job has run successfully.
|
||||
```
|
||||
$ kubectl get jobs
|
||||
NAME COMPLETIONS DURATION AGE
|
||||
kafka-publisher-job 1/1 7s 7s
|
||||
```
|
||||
|
||||
### Verify
|
||||
|
||||
|
|
Loading…
Reference in New Issue