Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 571 for subsets1 (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy_test.go

    				return []*v1.Endpoints{{
    					ObjectMeta: metav1.ObjectMeta{Namespace: svc.Namespace, Name: svc.Name},
    					Subsets:    []v1.EndpointSubset{},
    				}}
    			},
    
    			clusterMode:  expectation{url: "https://hit:443"},
    			endpointMode: expectation{error: true},
    		},
    		{
    			name: "endpoint subset without addresses",
    			services: []*v1.Service{
    				{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "alfa"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    		if ip.Labels[APIServerIdentityLabel] == serverId {
    			if len(ip.Subsets) > 0 {
    				var ipStr, portStr string
    				if len(ip.Subsets[0].Addresses) > 0 {
    					if len(ip.Subsets[0].Addresses[0].IP) > 0 {
    						ipStr = ip.Subsets[0].Addresses[0].IP
    					}
    				}
    				if len(ip.Subsets[0].Ports) > 0 {
    					portStr = fmt.Sprint(ip.Subsets[0].Ports[0].Port)
    				}
    				fullAddr = net.JoinHostPort(ipStr, portStr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    		endpointSlices     []*discovery.EndpointSlice
    		expectedNumActions int
    		expectedNumSlices  int
    	}{{
    		testName: "Endpoints with no addresses",
    		service:  &v1.Service{},
    		endpoints: &v1.Endpoints{
    			Subsets: []v1.EndpointSubset{{
    				Ports: []v1.EndpointPort{{Port: 80}},
    			}},
    		},
    		endpointSlices:     []*discovery.EndpointSlice{},
    		expectedNumActions: 0,
    		expectedNumSlices:  0,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/sidecar_test.go

    					},
    					Tcp: &networking.ConnectionPoolSettings_TCPSettings{
    						ConnectTimeout: &durationpb.Duration{Seconds: 33},
    					},
    				},
    			},
    			Subsets: []*networking.Subset{
    				{
    					Name: "subset1",
    				},
    				{
    					Name: "subset2",
    				},
    			},
    		},
    	}
    	destinationRule3 = config.Config{
    		Meta: config.Meta{
    			Name:      "drRule3",
    			Namespace: "mynamespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. pkg/api/endpoints/testing/make.go

    	// present and valid here.
    	eps := &api.Endpoints{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: metav1.NamespaceDefault,
    		},
    		Subsets: []api.EndpointSubset{{
    			Addresses: addrs,
    			Ports:     ports,
    		}},
    	}
    
    	for _, tweak := range tweaks {
    		tweak(eps)
    	}
    
    	return eps
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 02 01:26:45 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. tests/integration/security/filebased_tls_origination/main_test.go

    		// Do not inject, as we are testing non-Istio TLS here
    		Subsets: []echo.SubsetConfig{{
    			Version:     "v1",
    			Annotations: map[string]string{annotation.SidecarInject.Name: "false"},
    		}},
    		Cluster: ctx.Clusters().Default(),
    	}
    
    	internalClient := echo.Config{
    		Service:   "internal-client",
    		Namespace: appNamespace,
    		Ports:     []echo.Port{},
    		Subsets: []echo.SubsetConfig{{
    			Version: "v1",
    		}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. tests/integration/pilot/original_src_addr_test.go

    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			if t.Settings().Skip(echo.TProxy) {
    				t.Skip()
    			}
    			workloads, err := apps.A[0].Workloads()
    			if err != nil {
    				t.Errorf("failed to get Subsets: %v", err)
    				return
    			}
    			// check the server can see the client's original ip
    			var srcIps []string
    			for _, w := range workloads {
    				srcIps = append(srcIps, w.Address())
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. tests/integration/telemetry/tracing/tracing.go

    				Service:   fmt.Sprintf("client-%s", clName),
    				Namespace: appNsInst,
    				Cluster:   c,
    				Ports:     nil,
    				Subsets:   []echo.SubsetConfig{{}},
    			}).
    			WithConfig(echo.Config{
    				Service:   "server",
    				Namespace: appNsInst,
    				Cluster:   c,
    				Subsets:   []echo.SubsetConfig{{}},
    				Ports: []echo.Port{
    					{
    						Name:         "http",
    						Protocol:     protocol.HTTP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpoints.go

    // with apply.
    type EndpointsApplyConfiguration struct {
    	v1.TypeMetaApplyConfiguration    `json:",inline"`
    	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
    	Subsets                          []EndpointSubsetApplyConfiguration `json:"subsets,omitempty"`
    }
    
    // Endpoints constructs an declarative configuration of the Endpoints type for use with
    // apply.
    func Endpoints(name, namespace string) *EndpointsApplyConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 11.7K bytes
    - Viewed (0)
Back to top