This message was deleted.
# gcp
a
This message was deleted.
c
you mean GKE right?
w
no GCE
c
ah right... so provisioning RKE2 or K3s on GCE nodes... gotcha
m
This guide is for RKE1 Custom clusters with nodes running on GCE. Is this the situation you have, @worried-apple-61234? @future-night-17486 , since you recently looked into setting up GCE Cloud Provider, could you please help?
w
this is for a Rancher RKE2 cluster not RKE1
m
The YAML on the https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in[…]er-setup/set-up-cloud-providers/google-compute-engine is for RKE1 case though so please share more specific info on your setup (e.g. cluster configuration YAML).
Also, is this for local (Rancher is running on) or downstream cluster (managed by local Rancher)? And what is the K8s version?
w
I am trying to deploy a new downstream cluster Rancher RKE2 cluster 1.27.12
m
Got it. So I assume you have VMs in GCE and created RKE2 Custom cluster in Rancher and then running registration commands on your VMs. Questions: 1. Is the above correct? 2. What is the cluster's YAML configuration? 3. Where/when do you see the error you're referencing?
w
No I am trying to deploy a new Rancher RKE2 cluster and on deployment I have selected RKE2 and Google GCE normally on cluster configuration i have to define service account to GCP project and to define Machine Pools for etcd, Control Plane and Worker At: Basic - Cloud Provider I deploy also configuration as described here: https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in[…]er-setup/set-up-cloud-providers/google-compute-engine After I deploy I get the error: error setting machine configuration from flags provided: no Google Cloud Project name specified (--google-project)
m
Got it. As far as I know it's not something we support or tested. Node-provisioned GKE clusters are not officially supported per https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-8-3/ And then the instructions for setting up GCP Cloud Provider are for RKE1 Custom clusters only and your situation is RKE2 Node-Provisioned cluster.