We can also remove Kubernetes resources through the dashboard. Try to find the Service my-nginx we just created by yourself! Perform the following:
- Change the Namespace on the left-hand menu to dashboard-test
- Click Services under the Discovery and load balancing section on left-hand menu
- Click the Service my-nginx on the hyperlinked name
- Click DELETE at the top right of the page, below the CREATE button
That's it! Once you see your screen launching a message for confirmation, just click it. Finally, you have not only created a resource but also removed it from the Kubernetes dashboard.