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
chestack
changed the title
[discussion] InitDefaultVpc, it's better to set 'vpc.Status.Default = true' during create instead of patch
[discussion] get latest vpc data from k8s api instead of cache
Jul 14, 2022
In InitDefaultVpc(), default vpc was created and then updated with
vpc.Status.Default = true
Found that the following code returned the default vpc data with
vpc.Status.Default = false
occasionally.Maybe the reason is
orivpc, err := c.vpcsLister.Get(key)
get vpc from local informer cache but not k8s-api so it's possible get stale vpc info.The text was updated successfully, but these errors were encountered: