<p>When you run: <code>kubectl get svc -n default</code>, you will have a Kubernetes service with Type as ClusterIP already there.</p>
<p>What is the purpose of this service? Are there some references?</p>
<p>I'm running in Minikube:</p>
<pre class="lang-none prettyprint-override"><code>kubectl describe svc/kubernetes
</code></pre>
<p>Output:</p>
<pre class="lang-none prettyprint-override"><code>Name:              kubernetes
Namespace:         default
Labels:            component=apiserver
               provider=kubernetes
Annotations:       &lt;none&gt;
Selector:          &lt;none&gt;
Type:              ClusterIP
IP:                10.0.0.1
Port:              https  443/TCP
TargetPort:        8443/TCP
Endpoints:         10.0.2.15:8443
Session Affinity:  ClientIP
Events:            &lt;none&gt;
</code></pre>
<p>And:</p>
<pre class="lang-none prettyprint-override"><code>kubectl cluster-info
</code></pre>
<p>Output:</p>
<pre class="lang-none prettyprint-override"><code>Kubernetes master is running at https://192.168.99.100:8443
</code></pre>

Fei
<p>As far as I know, the Kubernetes service in the default namespace is a service which forwards requests to the Kubernetes master (typically Kubernetes API server).</p>
<p>So all the requests to the <em>kubernetes.default</em> service from the cluster will be routed to the configured endpoint IP address. In this scenario its Kubernetes master IP address.</p>
<p>For example:</p>
<p>Let’s check out the output of <code>kubectl describe svc kubernetes</code> and look at the the endpoint IP address.</p>
<p><a href="https://i.stack.imgur.com/JSFks.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JSFks.jpg" alt="Enter image description here" /></a></p>
<p>Now let’s check our cluster information:</p>
<p><code>kubectl cluster-info</code></p>
<p><a href="https://i.stack.imgur.com/RhCrx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RhCrx.jpg" alt="Enter image description here" /></a></p>
<p>Please note that the Kubernetes master is running at the same IP address as the endpoint's IP address of the <em>kubernetes.default</em> service.</p>
