<p>The command <code>kubectl get service</code> returns a list of services that were created at one point in time:</p>
<pre><code>NAME                     CLUSTER-IP   EXTERNAL-IP   PORT(S)                         AGE
car-example-service      10.0.0.129   &lt;nodes&gt;       8025:31564/TCP,1025:31764/TCP   10h
circle-example-service   10.0.0.48    &lt;nodes&gt;       9000:30362/TCP                  9h
demo-service             10.0.0.9     &lt;nodes&gt;       8025:30696/TCP,1025:32047/TCP   10h
example-servic           10.0.0.168   &lt;nodes&gt;       8080:30231/TCP                  1d
example-service          10.0.0.68    &lt;nodes&gt;       8080:32308/TCP                  1d
example-service2         10.0.0.184   &lt;nodes&gt;       9000:32727/TCP                  13h
example-webservice       10.0.0.35    &lt;nodes&gt;       9000:32256/TCP                  1d
hello-node               10.0.0.224   &lt;pending&gt;     8080:32393/TCP                  120d
kubernetes               10.0.0.1     &lt;none&gt;        443/TCP                         120d
mouse-example-service    10.0.0.40    &lt;nodes&gt;       9000:30189/TCP                  9h
spring-boot-web          10.0.0.171   &lt;nodes&gt;       8080:32311/TCP                  9h
spring-boot-web-purple   10.0.0.42    &lt;nodes&gt;       8080:31740/TCP                  9h
</code></pre>
<p>I no longer want any of these services listed, because when I list resources:
<code>% kubectl get rs</code></p>
<p>I am expecting that I only see the spring-boot-web resource listed.</p>
<pre><code>NAME                         DESIRED   CURRENT   READY     AGE
spring-boot-web-1175758536   1         1         0         18m
</code></pre>
<p>Please help clarify why I am seeing services that are listed , when the resources only show 1 resource.</p>

<p>Simply call this command.</p>
<ol>
<li>Get all available services:</li>
</ol>
<pre><code>kubectl get service -o wide
</code></pre>
<ol start="2">
<li>Then you can delete any services like this:</li>
</ol>
<pre><code>kubectl delete svc &lt;YourServiceName&gt;
</code></pre>
