-
Notifications
You must be signed in to change notification settings - Fork 159
Failed to set up metadata service: failed to get machine-type: metadata: GCE metadata "instance/machine-type" not defined #421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
After more investigation it seems to have to do that I use workload identity in the cluster which seems not to pass the instance-type to the pods. |
/kind bug |
Hi @philipstromback, thanks for bringing this up and adding context with regards to workload identity. We are investigating now |
I have workload identity enabled on a new cluster created only for testing the driver. I have a similar error message with difference of GOOGLE_APPLICATION_CREDENTIALS env var not set. I tested a virtually identical cluster with workload identity disabled without such problem.
|
Hi All, To workaround this issue please run both the controller and node deployments with We are working on a longer term fix to lift the restriction of using Thank you for bringing up this issue. Leaving it open for others to see the workaround as well as to track progress of longer term fix. |
@davidz627 , it's not obvious how users can read driver-install and identify which .yaml file to put |
@hilliao we will actually just update the deployments to work and make some patch releases. Please check out the linked PR's if you want to use it earlier |
Does it mean devops can just follow driver-install with workload identity enabled on the cluster without encounter the error in the issue title? |
Hi,
I have a problem with installing the driver any version above v0.5.0 because it have problem to get the instance-type from the nodes. I'm running in a region cluster with a n1-standard-2 node-pool.
Kubernetes version:
Releases:
0.5.1
0.5.2
0.6.0
Errors:
Any idea what's wrong and how to solved it?
Regards
Philip
The text was updated successfully, but these errors were encountered: