I am installing opensource kubeadm in google cloud platform using k8s configuration files. As part of the installation, i updated the cloudprovider values as gce in initconfiguration, apiserver and conroller manager. I created cloud-config file with GCE project name and updated this path in kubelet configuration file.
After running the job, all the kubernetes node are joined in the cluster. But the master nodes are tainted as "node.kubernetes.io/network-unavailable".
If i change the cloud provider as "external", all the master nodes came up and tainted properly.
Please let me know, how to pass the cloud provider value as gcp?