# general


07/26/2022, 9:14 PM
super new k8s and the whole SUSE k8s ecosystem but I'll try not to ask dumb questions. First one, and yes I've googled and checked githhub. I have deployed rancher server on gcp using terraform and would like to now create a gke cluster. I have created a service account and I think the roles are correct but I don't think the docs are up to date with what you see in google's UI so this ultimately might be a permissions issue. The problem is creating the cluster, after specifying all the options, the project ID and specifying the credentials I created (with associated service account json) I get: "TypeError: Cannot read properties of undefined (reading 'error')". Is there any particular log or a terminal that I can see what API commands and the returning result to see what these always nebulous java errors are?


07/26/2022, 10:23 PM
Hmm, that doesn't sound quite right.. which version of Rancher are your running?


07/26/2022, 11:15 PM
The version that expects an idiot to enable to Kubernetes API on his work gcloud account and not on his personal sandbox. 😛
but my question still stands... is there anyplace in the UI or within logs on the server itself that shows what API calls it is running and the responses?
2.6.6 is the non-idiot proof version. LOL
again... nevermind. I see the corresponding YAML.
but thanks for reaching out, I really do appreciate that.


07/27/2022, 2:58 AM
Why not just deploy the rancher dashboard on top of your gke or K3s using helm? Are you operating on one VM for a single node set up or multiple VMs for HA?


07/27/2022, 3:11 AM
actually that was one consideration... just manually create a gke cluster just to get rancher server up and running. lol. but when I say I'm a noob, I mean, I'm not even a *nix dude (I just happen to have been in IT since creating the first national ISP in Canada and played with large deployments, enterprise storage, compute and network, vmware admin and sales guy for long while) k8s just seems like natural progression that I was able to pick up the concepts easy... but because one thing I've learned is leaving a repeatable process and to share knowledge (terraform from scratch would be best in that case) I decided to go with what I know and deploy it as a gcp vm instance. I'm truly winging it here... although I
'm halfway through a CKA course. LOL
That would be extremely helpful in not only troubleshooting but learning the 'under the covers' more as I delve into this new world. In a looooong ago time as a Microsoft Exchange admin, I really appreciated them adding the 'equivalent powershell command' for what you were doing in the UI. This sounds similar. Thanks! Tips and tricks, as I call them, are invaluable. Thanks again Phil.