Skip to content

Commit

Permalink
Added note to avoid confusion to user regarding service returning res…
Browse files Browse the repository at this point in the history
…ults.
  • Loading branch information
vishalbidwe committed May 9, 2024
1 parent 40a0751 commit 8db91ef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ <h3>Step 2: Using labels</h3>
<h3>Step 3: Deleting a service</h3>
<p>To delete Services you can use the <code>delete service</code> subcommand. Labels can be used also here:</p>
<p><code><b>kubectl delete service -l app=kubernetes-bootcamp</b></code></p>
{{< note >}}<p> There may be a delay before the cache is cleared. As a result, service may still return valid results temporarily </p>{{< /note >}}
<p>Confirm that the Service is gone:</p>
<p><code><b>kubectl get services</b></code></p>
<p>This confirms that our Service was removed. To confirm that route is not exposed anymore you can <tt>curl</tt> the previously exposed IP and port:</p>
Expand Down

0 comments on commit 8db91ef

Please sign in to comment.