ServiceScope Implementation#56497
Conversation
|
Skipping CI for Draft Pull Request. |
|
/test all |
|
/retest |
1 similar comment
|
/retest |
c7473f0 to
fe74aad
Compare
59774ae to
7f71a46
Compare
…dpoints Signed-off-by: Jackie Elliott <jaellio@microsoft.com> Pass MeshConfig to GlobalMergedWorkloadServicesCollection Signed-off-by: Jackie Elliott <jaellio@microsoft.com> Add cluster and listener service filtering for waypoints and e/w gateways Signed-off-by: Jackie Elliott <jaellio@microsoft.com> Respond to PR feedback Signed-off-by: Jackie Elliott <jaellio@microsoft.com> Add more tests Signed-off-by: Jackie Elliott <jaellio@microsoft.com> Fix incorrect waypoint logic. In ambient mode, e/w gateways and waypoints are both node.Type Waypoints Signed-off-by: Jackie Elliott <jaellio@microsoft.com> Remove unused ServicesForGateway Signed-off-by: Jackie Elliott <jaellio@microsoft.com> Updated failing lint and add a release note Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
flag for ambient multi network. Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
…ter-ambient-index4
| networkGetter func(ctx krt.HandlerContext) network.ID, | ||
| ) krt.TransformationSingle[*v1.Service, model.ServiceInfo] { | ||
| return func(ctx krt.HandlerContext, s *v1.Service) *model.ServiceInfo { | ||
| serviceScope := model.Local |
There was a problem hiding this comment.
I think in general, labeling the waypoints for the user could be a nice UX improvement, but we could get some user validation that it's useful first. We'd definitely want to call it out in docs first though
waypoint has globally scoped services Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
multinetwork is enable to allow for existence even if no globally scoped services exist - utilize existing apps for integration tests Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
status Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
for simplicity Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
therealmitchconnors
left a comment
There was a problem hiding this comment.
Low priority questions, but overall looks good.
keithmattix
left a comment
There was a problem hiding this comment.
Thanks! Will give a final review tomorrow
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go
Outdated
Show resolved
Hide resolved
than clusterids Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
keithmattix
left a comment
There was a problem hiding this comment.
Thanks! Will give a final review tomorrow
| // Check if the service is a waypoint. If the service is not a waypoint | ||
| // or it's a waypoint containing no services then the Lookup will return | ||
| // an empty list | ||
| wpSvcs := a.services.ByOwningWaypointHostname.Lookup(NamespaceHostname{ |
There was a problem hiding this comment.
We confirmed that waypoint services show up here?
There was a problem hiding this comment.
I'll test this again manually
There was a problem hiding this comment.
@keithmattix Added a hold until I push a feature flag check around calling AllLocalNetworkGlobalServices
Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
|
In response to a cherrypick label: new pull request created: #56946 |
* upstream/master: update compatibility version files setting enable native sidecar to false (istio#56903) ServiceScope Implementation (istio#56497) Automator: update proxy@master in istio/istio@master (istio#56942)
Please provide a description of this PR:
This PR contains the initial alpha implementation of Service Scope for ambient mode multicluster configuration.
Included changes:
Related API PR istio/api#3464
Resolves #55478
To do:
Update ambient default profile to only include a servicescope config if multicluster is enabledInclude a default servicescopeconfig. Unless the user has enabled multinetwork ambient, the servicescopeconfig selections will have no impact. Services are still global by default