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: 
Just click "Delete" when selecting the dashboard under the namespaces using the [vs code kubernetes extension](https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools).

[![enter image description here](https://i.stack.imgur.com/jIPAY.png)](https://i.stack.imgur.com/jIPAY.png)

You will be asked to confirm the deletion after that. This happens on the right side of your screen.

[![enter image description here](https://i.stack.imgur.com/yIlOi.png)](https://i.stack.imgur.com/yIlOi.png)

Then it will ask you if you really want to delete all the underlying resources.
[![enter image description here](https://i.stack.imgur.com/Faqtq.png)](https://i.stack.imgur.com/Faqtq.png)

In this way you see what you are doing without the need of the command-line.
I use "minikube start" create.Then use "minikube dashboard" create the dashboard.Finally,I use "minikube config set dashboard false" to stop and delete the dashboard resources(including service,deployment,...).