Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for NDS (0.01 sec)

  1. pilot/pkg/xds/nds.go

    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // NdsGenerator generates config for Nds i.e. Name Discovery Service. Istio agents
    // send NDS requests to istiod and istiod responds with a list of services and their
    // associated IPs (including service entries).
    // The agent then updates its internal DNS based on this data. If DNS capture is enabled
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. pkg/dns/proto/nds.pb.go

    	(*NameTable)(nil),          // 0: istio.networking.nds.v1.NameTable
    	(*NameTable_NameInfo)(nil), // 1: istio.networking.nds.v1.NameTable.NameInfo
    	nil,                        // 2: istio.networking.nds.v1.NameTable.TableEntry
    }
    var file_dns_proto_nds_proto_depIdxs = []int32{
    	2, // 0: istio.networking.nds.v1.NameTable.table:type_name -> istio.networking.nds.v1.NameTable.TableEntry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. pkg/model/xds.go

    	ExtensionConfigurationType = APITypePrefix + "envoy.config.core.v3.TypedExtensionConfig"
    
    	NameTableType   = APITypePrefix + "istio.networking.nds.v1.NameTable"
    	HealthInfoType  = APITypePrefix + "istio.v1.HealthInformation"
    	ProxyConfigType = APITypePrefix + "istio.mesh.v1alpha1.ProxyConfig"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. pilot/pkg/xds/nds_test.go

    					},
    				},
    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    				ConfigString: mustReadFile(t, "./testdata/nds-se.yaml"),
    			})
    
    			ads := s.ConnectADS().WithType(v3.NameTableType)
    			res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    				Node: &core.Node{
    					Id:       ads.ID,
    					Metadata: tt.meta.ToStruct(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. pilot/pkg/xds/debug.go

    		return
    	}
    
    	if s.Generators[v3.NameTableType] != nil {
    		nds, _, _ := s.Generators[v3.NameTableType].Generate(con.proxy, nil, &model.PushRequest{
    			Push: con.proxy.LastPushContext,
    			Full: true,
    		})
    		if len(nds) == 0 {
    			return
    		}
    		writeJSON(w, nds[0], req)
    	}
    }
    
    // Edsz implements a status and debug interface for EDS.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    		// For headless services, trigger a full push.
    		// If EnableHeadlessService is true and svc ports are not pure HTTP, we need to regenerate listeners per endpoint.
    		// Otherwise we only need to push NDS, but still need to set full but we skip all other xDS except NDS during the push.
    		esc.c.opts.XDSUpdater.ConfigUpdate(&model.PushRequest{
    			Full:           true,
    			ConfigsUpdated: configsUpdated,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. pkg/istio-agent/xds_proxy_delta.go

    				downstreamErr(con, err)
    				return
    			}
    
    			// forward to istiod
    			con.sendDeltaRequest(req)
    			if !initialRequestsSent.Load() && req.TypeUrl == model.ListenerType {
    				// fire off an initial NDS request
    				if _, f := p.handlers[model.NameTableType]; f {
    					con.sendDeltaRequest(&discovery.DeltaDiscoveryRequest{
    						TypeUrl: model.NameTableType,
    					})
    				}
    				// fire off an initial PCDS request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    		if ev := fx.WaitOrFail(t, "xds full"); !ev.Reason.Has(model.EndpointUpdate) {
    			t.Fatalf("xds push reason does not contain %v: %v", model.EndpointUpdate, ev)
    		}
    		// headless service update must trigger nds push, so we trigger a full push.
    		if ev := fx.WaitOrFail(t, "xds full"); !ev.Reason.Has(model.HeadlessEndpointUpdate) {
    			t.Fatalf("xds push reason does not contain %v: %v", model.HeadlessEndpointUpdate, ev)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/bench_test.go

    }
    
    func BenchmarkListenerGeneration(b *testing.B) {
    	runBenchmark(b, v3.ListenerType, testCases)
    }
    
    func TestListenerGeneration(t *testing.T) {
    	testBenchmark(t, v3.ListenerType, testCases)
    }
    
    // NDS isn't really impacted by anything beyond number of services, so just run these separately
    var ndsCases = []ConfigInput{
    	{
    		Name:     "tcp",
    		Services: 1000,
    	},
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. pkg/istio-agent/xds_proxy.go

    				downstreamErr(con, err)
    				return
    			}
    
    			// forward to istiod
    			con.sendRequest(req)
    			if !initialRequestsSent.Load() && req.TypeUrl == model.ListenerType {
    				// fire off an initial NDS request
    				if _, f := p.handlers[model.NameTableType]; f {
    					con.sendRequest(&discovery.DiscoveryRequest{
    						TypeUrl: model.NameTableType,
    					})
    				}
    				// fire off an initial PCDS request
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top