mirror of https://github.com/knative/docs.git
Label to k8s service instead of route (#2710)
This commit is contained in:
parent
6c786c0359
commit
a484b2e772
|
@ -47,7 +47,7 @@ kubectl label route ${ROUTE_NAME} serving.knative.dev/visibility=cluster-local
|
|||
To label a Kubernetes service:
|
||||
|
||||
```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
|
||||
|
|
Loading…
Reference in New Issue