Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DNSAutoAllocate (0.3 sec)

  1. pilot/pkg/networking/core/route/route_cache.go

    	// DNSCapture indicates whether the workload has enabled dns capture
    	DNSCapture bool
    	// DNSAutoAllocate indicates whether the workload should have auto allocated addresses for ServiceEntry
    	// This allows resolving ServiceEntries, which is especially useful for distinguishing TCP traffic
    	// This depends on DNSCapture.
    	DNSAutoAllocate bool
    	// AllowAny indicates if the proxy should allow all outbound traffic or only known registries
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/serviceentry_simulation_test.go

    				},
    			},
    		},
    	}
    
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			proxy := &model.Proxy{
    				Metadata: &model.NodeMetadata{
    					DNSCapture:      true,
    					DNSAutoAllocate: true,
    				},
    			}
    			runSimulationTest(t, proxy, xds.FakeOptions{}, simulationTest{
    				name:   tt.name,
    				config: tt.config,
    				calls:  tt.calls,
    			})
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. pilot/pkg/xds/nds_test.go

    	cases := []struct {
    		name     string
    		meta     model.NodeMetadata
    		expected *dnsProto.NameTable
    	}{
    		{
    			name: "auto allocate",
    			meta: model.NodeMetadata{
    				DNSCapture:      true,
    				DNSAutoAllocate: true,
    			},
    			expected: &dnsProto.NameTable{
    				Table: map[string]*dnsProto.NameTable_NameInfo{
    					"random-1.host.example": {
    						Ips:      []string{"240.240.116.21"},
    						Registry: "External",
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. pkg/model/proxy.go

    	DNSCapture StringBool `json:"DNS_CAPTURE,omitempty"`
    
    	// DNSAutoAllocate indicates whether the workload should have auto allocated addresses for ServiceEntry
    	// This allows resolving ServiceEntries, which is especially useful for distinguishing TCP traffic
    	// This depends on DNSCapture.
    	DNSAutoAllocate StringBool `json:"DNS_AUTO_ALLOCATE,omitempty"`
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/httproute.go

    			ClusterID:               string(node.Metadata.ClusterID),
    			DNSDomain:               node.DNSDomain,
    			DNSCapture:              bool(node.Metadata.DNSCapture),
    			DNSAutoAllocate:         bool(node.Metadata.DNSAutoAllocate),
    			AllowAny:                util.IsAllowAnyOutbound(node),
    			ListenerPort:            listenerPort,
    			Services:                services,
    			VirtualServices:         virtualServices,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. pilot/pkg/xds/bench_test.go

    	}
    
    	key := &route.Cache{
    		RouteName:        "something",
    		ClusterID:        "my-cluster",
    		DNSDomain:        "some.domain.example.com",
    		DNSCapture:       true,
    		DNSAutoAllocate:  false,
    		ListenerPort:     1234,
    		Services:         services,
    		DestinationRules: drs,
    		EnvoyFilterKeys:  []string{ns + "1/a", ns + "2/b", ns + "3/c"},
    	}
    	return key
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. pilot/pkg/model/service.go

    			addresses := s.ClusterVIPs.GetAddressesFor(node.Metadata.ClusterID)
    			if len(addresses) > 0 {
    				return addresses[0]
    			}
    		}
    
    		if node.Metadata.DNSCapture && node.Metadata.DNSAutoAllocate && s.DefaultAddress == constants.UnspecifiedIP {
    			if node.SupportsIPv4() && s.AutoAllocatedIPv4Address != "" {
    				return s.AutoAllocatedIPv4Address
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_test.go

    			numListenersOnServicePort: 1,
    			useAutoAllocatedAddress:   true,
    		},
    	}
    
    	proxy := getProxy()
    	proxy.Metadata.DNSCapture = true
    	proxy.Metadata.DNSAutoAllocate = true
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			listeners := buildOutboundListeners(t, proxy, tt.sidecar, nil, services...)
    
    			listenersToCheck := make([]string, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top