How to Get your KubeConfig From Rancher#

Log in on the frontend and go to your cluster

In the top right is your kuebconfig