- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for fullPush (0.16 sec)
-
pilot/pkg/model/endpointshards.go
type PushType int const ( // NoPush does not push any thing. NoPush PushType = iota // IncrementalPush just pushes endpoints. IncrementalPush // FullPush triggers full push - typically used for new services. FullPush ) // UpdateServiceEndpoints updates EndpointShards data by clusterID, hostname, IstioEndpoints.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 15.6K bytes - Viewed (0) -
pilot/pkg/xds/sds_test.go
xds.DisableAuthorizationForSecret(cc) }, }) gen := s.Discovery.Generators[v3.SecretType] fullPush := &model.PushRequest{Full: true, Start: time.Now()} secrets, _, _ := gen.Generate(s.SetupProxy(rawProxy), &model.WatchedResource{ResourceNames: []string{"kubernetes://generic"}}, fullPush) raw := xdstest.ExtractTLSSecrets(t, xdsserver.ResourcesToAny(secrets)) for _, scrt := range raw {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 17.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
instancesDeleted := []*model.ServiceInstance{} fullPush := false configsUpdated := sets.New[model.ConfigKey]() addConfigs := func(se *networking.ServiceEntry, services []*model.Service) { // If serviceentry's resolution is DNS, make a full push // TODO: maybe cds? if isDNSTypeServiceEntry(se) { fullPush = true for key, value := range getUpdatedConfigs(services) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
pilot/pkg/xds/eds.go
pushType := s.Env.EndpointIndex.UpdateServiceEndpoints(shard, serviceName, namespace, istioEndpoints) if pushType == model.IncrementalPush || pushType == model.FullPush { // Trigger a push s.ConfigUpdate(&model.PushRequest{ Full: pushType == model.FullPush, ConfigsUpdated: sets.New(model.ConfigKey{Kind: kind.ServiceEntry, Name: serviceName, Namespace: namespace}), Reason: model.NewReasonStats(model.EndpointUpdate),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 15:58:06 UTC 2024 - 9.9K bytes - Viewed (0) -
pilot/pkg/xds/eds_test.go
t.Fatalf("Expected service key %s to be deleted in EndpointIndex. But is still there %v", "removeservice.com", s.Discovery.Env.EndpointIndex.Shardz()) } } func fullPush(s *xdsfake.FakeDiscoveryServer) { s.Discovery.Push(&model.PushRequest{Full: true}) } func addTestClientEndpoints(m *memory.ServiceDiscovery) { svc := &model.Service{ Hostname: "test-1.default",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 20:58:47 UTC 2024 - 39.6K bytes - Viewed (0) -
pilot/pkg/xds/ads_test.go
} func TestVersionNonce(t *testing.T) { s := xdsfake.NewFakeDiscoveryServer(t, xdsfake.FakeOptions{}) ads := s.ConnectADS().WithType(v3.ClusterType) resp1 := ads.RequestResponseAck(t, nil) fullPush(s) resp2 := ads.ExpectResponse(t) if !(resp1.VersionInfo < resp2.VersionInfo) { t.Fatalf("version should be incrementing: %v -> %v", resp1.VersionInfo, resp2.VersionInfo) } if resp1.Nonce == resp2.Nonce {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 30.3K bytes - Viewed (0)