Label to k8s service instead of route (#2710)

This commit is contained in:
Kenjiro Nakayama 2020-07-29 23:01:59 +09:00 committed by GitHub
parent 6c786c0359
commit a484b2e772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ kubectl label route ${ROUTE_NAME} serving.knative.dev/visibility=cluster-local
To label a Kubernetes service: To label a Kubernetes service:
```shell ```shell
kubectl label route ${SERVICE_NAME} serving.knative.dev/visibility=cluster-local kubectl label service ${SERVICE_NAME} serving.knative.dev/visibility=cluster-local
``` ```
By labeling the Kubernetes service it allows you to restrict visibility in a more By labeling the Kubernetes service it allows you to restrict visibility in a more