--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-cloud-provider" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-cloud...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-cloud-provider/CABc050FfSEeDJ2SbQuAGBcZLoH3scD5_cdnaSg9q0vFwo2aEdw%40mail.gmail.com.
Hi,I think this brings an interesting discussion around the guarantees we are offering around cloud interface. IMHO there might be two cases here:- If we can deprecate the existing functions (and remove them later), then it might make sense to do it on the same instance interface.
- If our deprecation policy is against removal then a instance v2 interface makes senseYassine Tijani—Github: @yastij
Le mar. 26 mai 2020 à 17:01, Andrew Kim <kim.a...@gmail.com> a écrit :
Hi SIG Cloud Provider,
I noticed two recent PRs (90894 & 91319) that adds a new method to the Instances interface as part of the cloud provider API: `InstancesMetadataByProviderID`. The reason for the change is to reduce the # of cloud API requests required per node initialization, so `InstancesMetadataByProviderID` encapsulates existing logic from `NodeAddressesByProviderID`, `InstanceTypeByProviderID`, `InstanceID`, etc but in a single API call.Overall I am in favor of this change, the cloud controllers hitting API quota limits on cloud providers is a common problem that comes up and this would definitely help. However, it does make me wonder if `InstancesMetadataByProviderID` should should be part of a new InstancesV2 interface as it effectively deprecates all of the existing methods in the current Instances interface. With a v2 interface, we can branch out some of the logic in the cloud controllers based on whether a provider supports v2 or not. We can fallback to the existing code paths if they don't. This would make the proposed changes in the PR less disruptive for providers to adopt. Or if folks are okay to bite the bullet and adopt the proposed changes (which includes deprecation of existing methods) that would be fine to.Thoughts?- Andrew Sy Kim--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-cloud-provider" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-cloud-provider+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-cloud...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-cloud-provider/CABc050FfSEeDJ2SbQuAGBcZLoH3scD5_cdnaSg9q0vFwo2aEdw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-cloud-provider" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-cloud...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-cloud-provider/b63d980b-853c-417f-9446-3aae0917eba6%40googlegroups.com.