cluster-info on k8s cluster with limited permissions
➜ ~ kubectl cluster-info To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. Error from server (Forbidden): services is forbidden: User "timvw" cannot list resource "services" in API group "" in the namespace "kube-system"
As soon as you run the command in your namespace it will work:
➜ ~ kubectl cluster-info -n spark Kubernetes master is running at https://api.customer.example:443 To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.