From 0304e7a85c8d71b80ed0df84c434f91f5da57535 Mon Sep 17 00:00:00 2001 From: RichieEscarez Date: Wed, 12 Sep 2018 10:46:16 -0700 Subject: [PATCH] cleanup remaining kubectl shorthand -o flags (#394) * Cleanup remaining kubectl shorthand -o flags * cleanup remaining kubectl shorthand -o flags * cleanup remaining kubectl shorthand -o flags * cleanup remaining kubectl shorthand -o flags --- eventing/samples/github-events/README.md | 2 +- serving/samples/gitwebhook-go/README.md | 2 +- serving/samples/knative-routing-go/README.md | 2 +- serving/samples/traffic-splitting/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eventing/samples/github-events/README.md b/eventing/samples/github-events/README.md index 7becb9ec0..b6e84f727 100644 --- a/eventing/samples/github-events/README.md +++ b/eventing/samples/github-events/README.md @@ -130,7 +130,7 @@ kubectl apply --filename auth.yaml 1. Check that your service is running using: ```shell - kubectl get ksvc -o "custom-columns=NAME:.metadata.name,READY:.status.conditions[2].status,REASON:.status.conditions[2].message" + kubectl get ksvc --output "custom-columns=NAME:.metadata.name,READY:.status.conditions[2].status,REASON:.status.conditions[2].message" NAME READY REASON legit True ``` diff --git a/serving/samples/gitwebhook-go/README.md b/serving/samples/gitwebhook-go/README.md index 952e83bff..91a13172d 100644 --- a/serving/samples/gitwebhook-go/README.md +++ b/serving/samples/gitwebhook-go/README.md @@ -103,7 +103,7 @@ service "gitwebhook" created ```shell $ kubectl get ksvc gitwebhook \ - -o=custom-columns=NAME:.metadata.name,DOMAIN:.status.domain + --output=custom-columns=NAME:.metadata.name,DOMAIN:.status.domain NAME DOMAIN gitwebhook gitwebhook.default.example.com diff --git a/serving/samples/knative-routing-go/README.md b/serving/samples/knative-routing-go/README.md index 4dafd412b..d55032af9 100644 --- a/serving/samples/knative-routing-go/README.md +++ b/serving/samples/knative-routing-go/README.md @@ -139,7 +139,7 @@ corresponding URIs. You should get the same results as directly accessing these * Get the ingress IP: ``` export GATEWAY_IP=`kubectl get svc knative-ingressgateway --namespace istio-system \ - -o jsonpath="{.status.loadBalancer.ingress[*]['ip']}"` + --output jsonpath="{.status.loadBalancer.ingress[*]['ip']}"` ``` * Send a request to the Search service: diff --git a/serving/samples/traffic-splitting/README.md b/serving/samples/traffic-splitting/README.md index 1309c9ffc..0e662bc46 100644 --- a/serving/samples/traffic-splitting/README.md +++ b/serving/samples/traffic-splitting/README.md @@ -38,7 +38,7 @@ kubectl get route --output yaml ``` export SERVICE_HOST=`kubectl get route stock-route-example --output jsonpath="{.status.domain}"` export SERVICE_IP=`kubectl get svc knative-ingressgateway --namespace istio-system \ - -o jsonpath="{.status.loadBalancer.ingress[*].ip}"` + --output jsonpath="{.status.loadBalancer.ingress[*].ip}"` ``` * Make a request to the index endpoint: