mirror of https://github.com/knative/docs.git
Fix the docs to point to correct 'ko publish' command (#1726)
This commit is contained in:
parent
ea2984566f
commit
82ba0af1b6
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue