diff --git a/docs/serving/cluster-local-route.md b/docs/serving/cluster-local-route.md index 21cfecbef..656ba2d72 100644 --- a/docs/serving/cluster-local-route.md +++ b/docs/serving/cluster-local-route.md @@ -27,18 +27,18 @@ inside the cluster: ## Label a service to be cluster-local -To configure a KService to only be available on the cluster-local network (and +To configure a Knative service to only be available on the cluster-local network (and not on the public Internet), you can apply the -`networking.knative.dev/visibility=cluster-local` label to the KService, Route or -Kubernetes Service object. +`networking.knative.dev/visibility=cluster-local` label to the Knative service, route or +Kubernetes service object. -To label the KService: +To label the Knative service: ```shell kubectl label kservice ${KSVC_NAME} networking.knative.dev/visibility=cluster-local ``` -To label a route when you used Route directly without KService: +To label a route when the route is used directly without a Knative service: ```shell kubectl label route ${ROUTE_NAME} networking.knative.dev/visibility=cluster-local @@ -65,7 +65,7 @@ You can then verify that the change has been made by verifying the URL for the helloworld-go service: ```shell -kubectl get ksvc helloworld-go +kubectl get kservice helloworld-go NAME URL LATESTCREATED LATESTREADY READY REASON helloworld-go http://helloworld-go.default.svc.cluster.local helloworld-go-2bz5l helloworld-go-2bz5l True