-
Notifications
You must be signed in to change notification settings - Fork 195
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
syn configmap using the old way to query api server in Hub Mode #3568
Comments
Samiliar requirements in getEndpointForHub:
|
@kylinsoong , As in the hubmode services can exist in any namespace other-than the configMap namespace hence, we need to query using kube-api server, as informer may or may not exist for the namespace, where service is residing. If you use isTenantNameServiceNamespace label, it will use the informers and if informers are not found than fall back to kube-api server query. |
Thanks @vklohiya, can we use the similar logic in appMgr's syncConfigMaps? Currently only AS3 Manager get GetEndpoints use the IsTenantNameServiceNamespace, however the APP Manager get GetEndpoints passed false, which thoughts the IsTenantNameServiceNamespace is not set. On the other side, periodicly syn virtual server are always against the service that has watched with informer referenced.
The below is getEndpoints in AS3 Manager
|
Created [CONTCNTR-4952] for internal tracking. |
syn configmap using the old way to query api server in Hub Mode
While syn configmap, the service usually resident the watched namespce, and had appInf bounded, however getServicesForHubMode stilll use the old way, this can further enhance to performance.
The invocation of this function in syncConfigMaps looks:
The text was updated successfully, but these errors were encountered: