I have created a service account on a Kubernetes upstream cluster. The account is used by an application (hosted outside of the cluster) who needs the service account to directly access the Kubernetes API via curl. The problem is that I don’t know how to access the rest API directly, because normally i use the rancher url.
I have tried to access the IP of the control plane. Unfortunately without success.
Has anyone successfully used curl to access the Kuberneets Upstreap Rest API?