A single script for creating a kubeconfig file for a user who can read pod, service and ingress details within a specific namespace as well as run kubectl exec against those pods.
A quick guide for getting NGINX Ingress Controller working with MetalLB.
Run the following command, replacing the italics with your pod’s name. Use -n namespace if your pod is in another namespace.