<p>This is the result for the command:
kubectl describe service</p>
<pre><code>Name:              kubernetes
Namespace:         default
Labels:            component=apiserver
                   provider=kubernetes
Annotations:       &lt;none&gt;
Selector:          &lt;none&gt;
Type:              ClusterIP
IP Family Policy:  SingleStack
IP Families:       IPv4
IP:                10.96.0.1
IPs:               10.96.0.1
Port:              https  443/TCP
TargetPort:        6443/TCP
Endpoints:         192.168.65.4:6443
Session Affinity:  None
Events:            &lt;none&gt;


Name:                     testdeployment
Namespace:                default
Labels:                   &lt;none&gt;
Annotations:              &lt;none&gt;
Selector:                 app=testdeployment,version=v01
Type:                     NodePort
IP Family Policy:         SingleStack
IP Families:              IPv4
IP:                       10.109.218.220
IPs:                      10.109.218.220
LoadBalancer Ingress:     localhost
Port:                     &lt;unset&gt;  80/TCP
TargetPort:               80/TCP
NodePort:                 &lt;unset&gt;  30741/TCP
Endpoints:                10.1.0.27:80,10.1.0.28:80
Session Affinity:         None
External Traffic Policy:  Cluster
Events:                   &lt;none&gt;
</code></pre>
<p>And I have two pods running in the service:
kubectl get pods</p>
<pre><code>NAME                              READY   STATUS    RESTARTS   AGE
testdeployment-6565bb9664-2ctwn   2/2     Running   0          30m
testdeployment-6565bb9664-7vmv5   2/2     Running   0          30m
</code></pre>
<p>The service is conneted to two pods.</p>
<p>Please tell me the URL to access the service.</p>

Muthu Vijay
<p>ClusterIPs are not accessible outside the cluster.</p>
<p>So, if you're planning to access the cluster from outside you cannot do it unless you change something, for example:</p>
<ul>
<li>turning the clusterIP into NodePort or LoadBalancer</li>
<li>add an Ingress to connect to the clusterIP</li>
<li>forward the request with Kubectl (<code>kubectl port-forward &lt;int_port&gt; &lt;ext_port&gt;</code>)</li>
</ul>
<p>If useful, you can also check the endpoint you created:</p>
<pre><code>kubectl get endpoints
</code></pre>
<p>or</p>
<pre><code>kubectl get services
</code></pre>
