Knative: Operator’s Handbook

Internal-only (cluster-local) services

To make a Knative Service available only within the cluster, use this label:

apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
  name: hello
  labels:
    serving.knative.dev/visibility: cluster-local
spec:
[...]

This Service will not have an external domain registered to the load balancer.

Then you can call the service using its full internal domain name, such as:

[NAME].[NAMESPACE].svc.cluster.local