You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using kubeip to manage a reserved external IP that is of STANDARD tier, the gcloud compute instances call fails with the error
ERROR: (gcloud.compute.instances.add-access-config) Could not fetch resource:
- External IP address: xxx.xxx.xxx.xxx has a different network tier STANDARD from the network tier in instance access config PREMIUM.
When using kubeip to manage a reserved external IP that is of STANDARD tier, the
gcloud compute instances
call fails with the errorAccording to the docs, there is a parameter
network-tier
which is PREMIUM by default, and seeing the source code of kubeip that is the value being used by the command, as no value is specified in the function call.kubeip/internal/cloud/gcp_address.go
Line 38 in ab70f62
A proposed solution would be to check the
NetworkTier
attribute of the retrieved GCP Address and if it is of type STANDARD, setting the parameter value to STANDARD for these cases would fix this issue.The text was updated successfully, but these errors were encountered: