Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for labelSelectors (0.34 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    				{Name: "node-b", Score: 20},
    				{Name: "node-c", Score: 60},
    				{Name: "node-d", Score: 100},
    			},
    			enableMatchLabelKeys: false,
    		},
    		{
    			name: "matchLabelKeys ANDed with LabelSelector when LabelSelector is empty",
    			pod: st.MakePod().Name("p").Label("foo", "").Label("bar", "").
    				SpreadConstraint(1, "zone", v1.ScheduleAnyway, st.MakeLabelSelector().Obj(), nil, nil, nil, []string{"foo"}).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar_test.go

    						Name:      "foo",
    						Namespace: "ns1",
    						LabelSelectors: map[string]string{
    							"app": "foo",
    						},
    					},
    				},
    				{
    					Hostname:   "foobar.svc.cluster.local",
    					Ports:      port803x[3:],
    					Resolution: DNSLB,
    					Attributes: ServiceAttributes{
    						Name:      "bar",
    						Namespace: "ns1",
    						LabelSelectors: map[string]string{
    							"app": "bar",
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceregistry_test.go

    			Protocol: "http",
    		}, {
    			Name:     "tcp",
    			Port:     70,
    			Protocol: "tcp",
    		}},
    		Attributes: model.ServiceAttributes{
    			Namespace:      namespace,
    			Name:           "service",
    			LabelSelectors: labels,
    		},
    	}
    
    	t.Run("Kubernetes only", func(t *testing.T) {
    		_, kube, fx := setupTest(t)
    		makeService(t, kube, service)
    		makePod(t, kube, pod)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			Attributes: model.ServiceAttributes{
    				ServiceRegistry: provider.Kubernetes,
    				Name:            "svc1",
    				Namespace:       "nsa",
    				LabelSelectors:  map[string]string{"app": "prod-app"},
    				K8sAttributes: model.K8sAttributes{
    					Type: string(corev1.ServiceTypeClusterIP),
    				},
    			},
    		},
    		Port: model.ServiceInstancePort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener.go

    							// A Kubernetes service with no endpoints means there are no endpoints at
    							// all, so don't bother sending, as traffic will never work. If we did
    							// send a wildcard listener, we may get into a situation where a scale
    							// down leads to a listener conflict. Similarly, if we have a
    							// labelSelector on the Service, then this may have endpoints not yet
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_test.go

    	extSvcSelector := buildServiceWithPort("example2.com", 9999, protocol.TCP, tnow)
    	extSvcSelector.Resolution = model.Passthrough
    	extSvcSelector.Attributes.ServiceRegistry = provider.External
    	extSvcSelector.Attributes.LabelSelectors = map[string]string{"foo": "bar"}
    
    	tests := []struct {
    		name                      string
    		instances                 []*model.ServiceInstance
    		services                  []*model.Service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    			{
    				LabelSelector: &metav1.LabelSelector{
    					MatchExpressions: []metav1.LabelSelectorRequirement{
    						{
    							Key:      "foo",
    							Operator: metav1.LabelSelectorOpIn,
    							Values:   []string{"bar", "buzz"},
    						},
    					},
    				},
    				TopologyKey: "region",
    			},
    			{
    				LabelSelector: &metav1.LabelSelector{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy_test.go

    				},
    				Spec: api.PodSpec{
    					Affinity: &api.Affinity{
    						PodAffinity: &api.PodAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{
    									LabelSelector: &metav1.LabelSelector{
    										MatchLabels: map[string]string{
    											"region": "Asia",
    										},
    									},
    									MatchLabelKeys:    []string{"country"},
    									MismatchLabelKeys: []string{"city"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
Back to top