How to: Lab 3.2. Explore Kubernetes API resources via Google Cloud
> This lab is repeated in [chapter 4 with minikube](#4-kubernetes-lab-environment) \
> Skip this lab if you do not currently have a Google Cloud account with Billing enabled

1. Create an `nginx` application with three replicas
2. View available resources
3. Delete a pod create
4. View available resources, how many pods left, can you find the deleted pod?
5. List supported API resources
6. Delete the application
7. view available resource
8. Delete the Kubernetes service
9. view available resources
10. If nothing found, allow 5s and try [9] again
lab3.2 solution
```sh
kubectl create deploy webserver --image=nginx --replicas=3
kubectl get all
kubectl delete pod $POD_NAME
kubectl get all # new pod auto created to replace deleted
kubectl api-resources
kubectl delete deploy webserver
kubectl get all
kubectl delete svc kubernetes
kubectl get all # new kubernetes service is auto created to replace deleted
```
> Remember to delete Google cloud cluster to avoid charges if you wish to use a local environment detailed in the next chapter