CLUSTERID='c-1234'
kubectl get secret c-$CLUSTERID -n cattle-system -o json | jq -r .data.cluster | base64 -D | jq -r .metadata.state > kubeconfig-direct
Change endpoint to https://localhost:6443
ssh -L 6443:$master_ip:6443 $jump_server
export KUBECONFIG=$(pwd)/kubeconfig-direct
k get nodes -o wide