Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for xdsserver (0.16 sec)

  1. pkg/istio-agent/grpcxds/grpc_bootstrap.go

    // See https://github.com/grpc/grpc-go/blob/master/xds/internal/xdsclient/bootstrap/bootstrap.go
    // TODO use structs from gRPC lib if created/exported
    type Bootstrap struct {
    	XDSServers                 []XdsServer                    `json:"xds_servers,omitempty"`
    	Node                       *core.Node                     `json:"node,omitempty"`
    	CertProviders              map[string]CertificateProvider `json:"certificate_providers,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/server.go

    	for _, fn := range initFuncs {
    		fn(s)
    	}
    	// Initialize workload Trust Bundle before XDS Server
    	e.TrustBundle = s.workloadTrustBundle
    	s.XDSServer = xds.NewDiscoveryServer(e, args.RegistryOptions.KubeOptions.ClusterAliases)
    	configGen := core.NewConfigGenerator(s.XDSServer.Cache)
    
    	grpcprom.EnableHandlingTimeHistogram()
    
    	// make sure we have a readiness probe before serving HTTP to avoid marking ready too soon
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/servicecontroller.go

    func (s *Server) initServiceControllers(args *PilotArgs) error {
    	serviceControllers := s.ServiceController()
    
    	s.serviceEntryController = serviceentry.NewController(
    		s.configController, s.XDSServer,
    		s.environment.Watcher,
    		serviceentry.WithClusterID(s.clusterID),
    	)
    	serviceControllers.AddRegistry(s.serviceEntryController)
    
    	registered := sets.New[provider.ID]()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. pilot/pkg/xds/sds_test.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/spiffe"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/util/sets"
    	xdsserver "istio.io/istio/pkg/xds"
    )
    
    func makeSecret(name string, data map[string]string) *corev1.Secret {
    	bdata := map[string][]byte{}
    	for k, v := range data {
    		bdata[k] = []byte(v)
    	}
    	return &corev1.Secret{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. pkg/test/echo/server/endpoint/grpc.go

    		Config: config,
    		f:      forwarder.New(),
    	}
    }
    
    func (s *grpcInstance) GetConfig() Config {
    	return s.Config
    }
    
    func (s *grpcInstance) newServer(opts ...grpc.ServerOption) grpcServer {
    	if s.Port.XDSServer {
    		if len(s.Port.XDSTestBootstrap) > 0 {
    			opts = append(opts, xds.BootstrapContentsForTesting(s.Port.XDSTestBootstrap))
    		}
    		epLog.Infof("Using xDS for serverside gRPC on %d", s.Port.Port)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 17:30:37 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. pkg/test/echo/common/model.go

    	LocalhostIP bool
    
    	// XDSServer, for gRPC servers, will use the xds.NewGRPCServer constructor to rely on XDS configuration.
    	// If this flag is set but the environment variable feature gates aren't, we should fail due to gRPC internals.
    	XDSServer bool
    
    	// XDSTestBootstrap allows settings per-endpoint bootstrap without using the GRPC_XDS_BOOTSTRAP env var
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 05 00:22:45 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/configcontroller.go

    				AddRunFunction(func(leaderStop <-chan struct{}) {
    					log.Infof("Starting gateway status writer")
    					gwc.SetStatusWrite(true, s.statusManager)
    
    					// Trigger a push so we can recompute status
    					s.XDSServer.ConfigUpdate(&model.PushRequest{
    						Full:   true,
    						Reason: model.NewReasonStats(model.GlobalUpdate),
    					})
    					<-leaderStop
    					log.Infof("Stopping gateway status writer")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/kube/templates/deployment.yaml

              - --forwarding_address=0.0.0.0:{{ $appContainer.FallbackPort }}
    {{- end }}
              - --metrics=15014
              - --cluster={{ $cluster }}
    {{- range $i, $p := $appContainer.ContainerPorts }}
    {{- if and $p.XDSServer (eq .Protocol "GRPC") }}
              - --xds-grpc-server={{ $p.Port }}
    {{- else if eq .Protocol "GRPC" }}
              - --grpc={{ $p.Port }}
    {{- else if eq .Protocol "TCP" }}
              - --tcp={{ $p.Port }}
    {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. pkg/test/echo/cmd/server/main.go

    				ports[portIndex] = &common.Port{
    					Name:        "grpc-" + strconv.Itoa(i),
    					Protocol:    protocol.GRPC,
    					Port:        p,
    					TLS:         tlsByPort[p],
    					ServerFirst: serverFirstByPort[p],
    					XDSServer:   xdsGRPCByPort[p],
    				}
    				portIndex++
    			}
    			for i, p := range tcpPorts {
    				ports[portIndex] = &common.Port{
    					Name:        "tcp-" + strconv.Itoa(i),
    					Protocol:    protocol.TCP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. pilot/pkg/xds/delta_test.go

    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/workloadapi"
    	xdsserver "istio.io/istio/pkg/xds"
    )
    
    func TestDeltaAds(t *testing.T) {
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	ads := s.ConnectDeltaADS().WithType(v3.ClusterType)
    	ads.RequestResponseAck(nil)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top