Kubernetes Cheatsheet

Get Commands

kubectl get namespace
kubectl get services
kubectl get services -n ingress-nginx
This request would be useful if you need to make a cross namespace request.  For example.  If you're making a request within the default namespace in your 'Client' service running Next JS and you need to reach out to your auth service.  Rather than reaching out directly to your auth service, you make a cross namespace request to the Ingress Nginx service like the following. 

http://ingress-nginx.ingress-nginx-controller.svc.cluster.local/api/users/currentuser  

which is using the format

http://<namespace>.<service>.svc.cluster.local/api/users/currentuser