Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 457 for endpoints2 (0.2 sec)

  1. pkg/registry/discovery/endpointslice/strategy_test.go

    				Endpoints: []discovery.Endpoint{{
    					Addresses: []string{"1.2.3.4"},
    				}},
    			},
    		},
    		{
    			name: "changed endpoints should increment generation",
    			oldEPS: &discovery.EndpointSlice{
    				ObjectMeta: metav1.ObjectMeta{Generation: 1},
    				Endpoints: []discovery.Endpoint{{
    					Addresses: []string{"1.2.3.4"},
    				}},
    			},
    			newEPS: &discovery.EndpointSlice{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. internal/config/etcd/etcd.go

    		}
    		// If one of the endpoint is https, we will use https directly.
    		etcdSecure = etcdSecure || u.Scheme == "https"
    	}
    
    	return etcdEndpoints, etcdSecure, nil
    }
    
    // Enabled returns if etcd is enabled.
    func Enabled(kvs config.KVS) bool {
    	endpoints := kvs.Get(Endpoints)
    	return endpoints != ""
    }
    
    // LookupConfig - Initialize new etcd config.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    			if svc != nil {
    				fep := esc.c.collectWorkloadInstanceEndpoints(svc)
    				endpoints = append(endpoints, fep...)
    			} else {
    				log.Debugf("Handle EDS endpoint: skip collecting workload entry endpoints, service %s/ has not been populated",
    					hostname)
    			}
    		}
    
    		esc.c.opts.XDSUpdater.EDSUpdate(shard, string(hostname), namespace, endpoints)
    	}
    }
    
    // getPod fetches a pod by name or IP address.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/ep_filters_test.go

    			{
    				Network: "network3",
    				Cluster: "cluster3",
    				Addr:    "3.3.3.3",
    				Port:    443,
    			},
    		},
    	})
    	return ds
    }
    
    // testShards creates endpoints to be handed to the filter:
    //   - 2 endpoints in network1
    //   - 1 endpoints in network2
    //   - 0 endpoints in network3
    //   - 1 endpoints in network4
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    )
    
    var printEndpointError = func() func(Endpoint, error, bool) {
    	var mutex sync.Mutex
    	printOnce := make(map[Endpoint]map[string]int)
    
    	return func(endpoint Endpoint, err error, once bool) {
    		reqInfo := (&logger.ReqInfo{}).AppendTags("endpoint", endpoint.String())
    		ctx := logger.SetReqInfo(GlobalContext, reqInfo)
    		mutex.Lock()
    		defer mutex.Unlock()
    
    		m, ok := printOnce[endpoint]
    		if !ok {
    			m = make(map[string]int)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    				if len(cluster.LoadAssignment.Endpoints) != len(tt.expected) {
    					t.Fatalf("expected endpoints %d but got %d", len(cluster.LoadAssignment.Endpoints), len(tt.expected))
    				}
    				for i := range cluster.LoadAssignment.Endpoints {
    					// TODO Below assertions are not robust to ordering changes in cluster.LoadAssignment.Endpoints[i]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    						}
    					}
    				}
    			}
    
    			// remove groups of endpoints in a locality that miss matched
    			for i := range misMatched {
    				if loadAssignment.Endpoints[i] != nil {
    					loadAssignment.Endpoints[i].LbEndpoints = nil
    				}
    			}
    			break
    		}
    	}
    }
    
    // set locality loadbalancing priority - This is based on Region/Zone/SubZone matching.
    func applyLocalityFailover(
    	locality *core.Locality,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. operator/pkg/name/name.go

    	ClusterRoleBindingStr             = "ClusterRoleBinding"
    	CMStr                             = "ConfigMap"
    	DaemonSetStr                      = "DaemonSet"
    	DeploymentStr                     = "Deployment"
    	EndpointStr                       = "Endpoints"
    	HPAStr                            = "HorizontalPodAutoscaler"
    	IstioOperator                     = "IstioOperator"
    	MutatingWebhookConfigurationStr   = "MutatingWebhookConfiguration"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/discovery/v1/types.go

    	AddressType AddressType `json:"addressType" protobuf:"bytes,4,rep,name=addressType"`
    
    	// endpoints is a list of unique endpoints in this slice. Each slice may
    	// include a maximum of 1000 endpoints.
    	// +listType=atomic
    	Endpoints []Endpoint `json:"endpoints" protobuf:"bytes,2,rep,name=endpoints"`
    
    	// ports specifies the list of network ports exposed by each endpoint in
    	// this slice. Each port must have a unique name. When ports is empty, it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. pkg/proxy/nftables/proxier_test.go

    		add chain ip kube-proxy reject-chain { comment "helper for @no-endpoint-services / @no-endpoint-nodeports" ; }
    		add rule ip kube-proxy reject-chain reject
    
    		add map ip kube-proxy no-endpoint-services { type ipv4_addr . inet_proto . inet_service : verdict ; comment "vmap to drop or reject packets to services with no endpoints" ; }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top