From 82ba0af1b6a9d34eaef6edeff8071d96df7c17f9 Mon Sep 17 00:00:00 2001 From: Prashant Sharma Date: Wed, 4 Sep 2019 03:29:01 +0530 Subject: [PATCH] Fix the docs to point to correct 'ko publish' command (#1726) --- docs/eventing/samples/container-source/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/eventing/samples/container-source/README.md b/docs/eventing/samples/container-source/README.md index 5bf1eb16d..b3e835e91 100644 --- a/docs/eventing/samples/container-source/README.md +++ b/docs/eventing/samples/container-source/README.md @@ -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 ``` -ko publish github.com/knative/eventing-contrib/cmd/heartbeats +ko publish knative.dev/eventing-contrib/cmd/heartbeats ``` **Note**: `ko publish` requires: @@ -62,6 +62,14 @@ Use following command to create the service from `service.yaml`: ```shell 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