http://localhost:8080/api/v1/proxy/namespaces/<NAMESPACE>/services/<SERVICE-NAME>:<PORT-NAME>/
http://localhost:8080/api/v1/proxy/namespaces/default/services/my-internal-service:http/
kubectl
as an authenticated user.my-service
or cassandra
. You specify these Services with the spec.externalName
parameter.my-service
Service in the prod
namespace to my.database.example.com
:my-service.prod.svc.cluster.local
, the cluster DNS Service returns a CNAME
record with the value my.database.example.com
. Accessing my-service
works in the same way as other Services but with the crucial difference that redirection happens at the DNS level rather than via proxying or forwarding.externalIPs
are not managed by Kubernetes and are the responsibility of the cluster administrator.externalIPs
can be specified along with any of the ServiceTypes
. In the example below, "my-service
" can be accessed by clients on "80.11.12.10:80
" (externalIP:port
)