From 285ed12cabdcaea5703ffbbebb4adbcd3a361f70 Mon Sep 17 00:00:00 2001 From: Fawad Halim Date: Thu, 13 Dec 2018 07:41:31 -0800 Subject: [PATCH] Added missing namespace reference in quickstart guide (#139) * Added missing namesapce reference Added `-n argo-events` to `minikube service` calls for consistency with rest of the quickstart guide. * Another missing namespace reference --- docs/quickstart.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/quickstart.md b/docs/quickstart.md index 46d978f758..2d8a00086d 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -52,13 +52,13 @@ Trigger the webhook via sending a http POST request to `/foo` endpoint. You can gateway configuration at run time as well. Note: the `WEBHOOK_SERVICE_URL` will differ based on the Kubernetes cluster. ``` -export WEBHOOK_SERVICE_URL=$(minikube service --url webhook-gateway-gateway-svc) +export WEBHOOK_SERVICE_URL=$(minikube service -n argo-events --url webhook-gateway-gateway-svc) echo $WEBHOOK_SERVICE_URL curl -d '{"message":"this is my first webhook"}' -H "Content-Type: application/json" -X POST $WEBHOOK_SERVICE_URL/foo ``` Note: - * If you are facing an issue getting service url by running `minikube service --url webhook-gateway-gateway-svc`, you can use `kubectl port-forward` + * If you are facing an issue getting service url by running `minikube service -n argo-events --url webhook-gateway-gateway-svc`, you can use `kubectl port-forward` * Open another terminal window and enter `kubectl port-forward 9003:` * You can now user `localhost:9003` to query webhook gateway @@ -70,7 +70,7 @@ argo list Verify that the sensor was updated correctly and moved to a "Complete" phase. ``` -kubectl get sensor webhook-sensor -o yaml +kubectl get sensor -n argo-events webhook-sensor -o yaml ``` Check the logs of the sensor-controller pod, gateway-controller, associated gateways and sensors if there are problems.