serving: cluster-local visibility not working when using tags
In what area(s)?
/area networking
What version of Knative?
0.9.x
Expected Behavior
I set a service label:
kubectl label ksvc hello-springboot serving.knative.dev/visibility=cluster-local
The service should not be publicly available.
Actual Behavior
But the service is still publicly accessible.
Steps to Reproduce the Problem
kubectl label ksvc YOUR_SERVICE serving.knative.dev/visibility=cluster-local
Try to access the service publicly.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (13 by maintainers)
So far I’ve been unable to reproduce this on Knative
0.11.0with Istio1.4.2.To see this exhibited you need to have a traffic split in place.
I’m using 0.10.0 and still seeing the service accessible publicly.