Fix the docs to point to correct 'ko publish' command (#1726)

This commit is contained in:
Prashant Sharma 2019-09-04 03:29:01 +05:30 committed by Knative Prow Robot
parent ea2984566f
commit 82ba0af1b6
1 changed files with 9 additions and 1 deletions

View File

@ -30,7 +30,7 @@ git clone -b "{{< branch >}}" https://github.com/knative/eventing-contrib.git
And then build a heartbeats image and publish to your image repo with And then build a heartbeats image and publish to your image repo with
``` ```
ko publish github.com/knative/eventing-contrib/cmd/heartbeats ko publish knative.dev/eventing-contrib/cmd/heartbeats
``` ```
**Note**: `ko publish` requires: **Note**: `ko publish` requires:
@ -62,6 +62,14 @@ Use following command to create the service from `service.yaml`:
```shell ```shell
kubectl apply --filename service.yaml kubectl apply --filename service.yaml
``` ```
The status of the created service can be seen using:
```shell
kubectl get ksvc
NAME URL LATESTCREATED LATESTREADY READY REASON
event-display http://event-display.default.example.com event-display-gqjbw event-display-gqjbw True
```
### Create a ContainerSource using the heartbeats image ### Create a ContainerSource using the heartbeats image