Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setOp (0.27 sec)

  1. pilot/pkg/networking/core/cluster.go

    	cb := NewClusterBuilder(proxy, req, configgen.Cache)
    	instances := proxy.ServiceTargets
    	cacheStats := cacheStats{}
    	switch proxy.Type {
    	case model.SidecarProxy:
    		// Setup outbound clusters
    		outboundPatcher := clusterPatcher{efw: envoyFilterPatches, pctx: networking.EnvoyFilter_SIDECAR_OUTBOUND}
    		ob, cs := configgen.buildOutboundClusters(cb, proxy, outboundPatcher, services)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. pilot/pkg/model/gateway.go

    // non-HTTPS servers (e.g., TCP+TLS) with SNI passthrough will be setup as opaque TCP proxies without terminating
    // the SSL connection. They would inspect the SNI header and forward to the appropriate upstream as opaque TCP.
    //
    // Within HTTPS servers terminating TLS, user could setup multiple servers in the gateway. each server could have
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/server.go

    	// Apply the arguments to the configuration.
    	if err := s.initKubeClient(args); err != nil {
    		return nil, fmt.Errorf("error initializing kube client: %v", err)
    	}
    
    	s.initMeshConfiguration(args, s.fileWatcher)
    	// Setup Kubernetes watch filters
    	// Because this relies on meshconfig, it needs to be outside initKubeClient
    	if s.kubeClient != nil {
    		// Build a namespace watcher. This must have no filter, since this is our input to the filter itself.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  4. pkg/security/security.go

    	// GkeWorkloadCertChainFilePath is the well-known path for the GKE workload certificate chain file.
    	// Quoted from https://cloud.google.com/traffic-director/docs/security-proxyless-setup#create-service:
    	// "On creation, each Pod gets a volume at /var/run/secrets/workload-spiffe-credentials."
    	GkeWorkloadCertChainFilePath = WorkloadIdentityCredentialsPath + "/certificates.pem"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/certcontroller.go

    	if err := s.istiodCertBundleWatcher.SetFromFilesAndNotify(tlsOptions.KeyFile, tlsOptions.CertFile, tlsOptions.CaCertFile); err != nil {
    		return fmt.Errorf("set keyCertBundle failed: %v", err)
    	}
    	// TODO: Setup watcher for root and restart server if it changes.
    	for _, file := range []string{tlsOptions.CertFile, tlsOptions.KeyFile} {
    		log.Infof("adding watcher for certificate %s", file)
    		if err := s.fileWatcher.Add(file); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server_test.go

    		t.Fatalf("WriteFile(%v) failed: %v", caFile, err)
    	}
    
    	tlsOptions := TLSOptions{
    		CertFile:   certFile,
    		KeyFile:    keyFile,
    		CaCertFile: caFile,
    	}
    
    	// setup cert watches.
    	if err := s.initFileCertificateWatches(tlsOptions); err != nil {
    		t.Fatalf("initCertificateWatches failed: %v", err)
    	}
    
    	if err := s.initIstiodCertLoader(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_waypoint.go

    	if len(vss) == 0 {
    		return buildSidecarInboundHTTPRouteConfig(lb, cc)
    	}
    	if len(vss) > 1 {
    		log.Warnf("multiple virtual services for one service: %v", svc.Hostname)
    	}
    	vs := vss[0]
    
    	// Typically we setup routes with the Host header match. However, for waypoint inbound we are actually using
    	// hostname purely to match to the Service VIP. So we only need a single VHost, with routes compute based on the VS.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_inbound.go

    // This allows traffic to ports not exposed by any Service, for example.
    func buildInboundPassthroughChains(lb *ListenerBuilder) []*listener.FilterChain {
    	// Setup enough slots for common max size (permissive mode is 5 filter chains). This is not
    	// exact, just best effort optimization
    	filterChains := make([]*listener.FilterChain, 0, 1+5)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    	}
    
    	var disk StorageAPI
    	disks := er.getOnlineLocalDisks()
    	if len(disks) == 0 {
    		// using er.getOnlineLocalDisks() has one side-affect where
    		// on a pooled setup all disks are remote, add a fallback
    		disks = er.getOnlineDisks()
    	}
    
    	for _, disk = range disks {
    		if disk == nil {
    			continue
    		}
    
    		if !disk.IsOnline() {
    			continue
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top