Question: I want to hide all products that are not checked.
for example:- I have a checkbox button in product.template model and i want to hide hide all those products that are unchecked.

Answer: 
**UPDATE MAY 2020:**

Thanks to [Lee Richardson](https://stackoverflow.com/users/40783/lee-richardson) for his comment ;)

They have changed the organisation of the files in the repo and as well the command on [Kubernetes manual](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#deploying-the-dashboard-ui), so the new `kubectl delete` command needs to be:

```
kubectl delete -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended.yaml

```

---

**ORIGINAL POST:**

As said before, you can delete the deployment to remove the pods too, running this:

```
kubectl delete deployment kubernetes-dashboard --namespace=kube-system 

```

But, **if you want to clean all the dashboard related things**, you can simply execute the delete command K8s cluster file based in the official [Kubernetes manual](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#deploying-the-dashboard-ui):

```
kubectl delete -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended/kubernetes-dashboard.yaml

```
Just delete the `Deployment`, all the related pods will be terminated automatically.