diff --git a/pkg/cloudprovider/gce/gce.go b/pkg/cloudprovider/gce/gce.go index 4ed1f4b63ef..38544416060 100644 --- a/pkg/cloudprovider/gce/gce.go +++ b/pkg/cloudprovider/gce/gce.go @@ -499,7 +499,7 @@ func (gce *GCECloud) ExternalID(instance string) (string, error) { // InstanceID returns the cloud provider ID of the specified instance. func (gce *GCECloud) InstanceID(instance string) (string, error) { - return "", nil + return gce.projectID + "/" + gce.zone + "/" + canonicalizeInstanceName(instance), nil } // List is an implementation of Instances.List.