Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 336 for zone2 (0.09 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			},
    		},
    		{
    			name: "should return correct az if node has only zone label",
    			pods: []*corev1.Pod{pod1, pod2},
    			nodes: []*corev1.Node{
    				generateNode("node1", map[string]string{NodeZoneLabel: "zone1"}),
    				generateNode("node2", map[string]string{NodeZoneLabel: "zone2"}),
    			},
    			wantAZ: map[*corev1.Pod]string{
    				pod1: "/zone1/",
    				pod2: "/zone2/",
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  2. pilot/pkg/model/service_test.go

    	differingServiceAccount.Endpoint.ServiceAccount = "service-account-two"
    	differingLocality := exampleInstance.DeepCopy()
    	differingLocality.Endpoint.Locality = Locality{
    		ClusterID: "cluster-id-two",
    		Label:     "region2/zone2/subzone2",
    	}
    	differingLbWeight := exampleInstance.DeepCopy()
    	differingLbWeight.Endpoint.LbWeight = 0
    
    	cases := []struct {
    		comparer *WorkloadInstance
    		comparee *WorkloadInstance
    		shouldEq bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/util/util_test.go

    			},
    		},
    		{
    			name:     "locality with region and zone",
    			locality: "region/zone",
    			want: &core.Locality{
    				Region: "region",
    				Zone:   "zone",
    			},
    		},
    		{
    			name:     "locality with region zone and subzone",
    			locality: "region/zone/subzone",
    			want: &core.Locality{
    				Region:  "region",
    				Zone:    "zone",
    				SubZone: "subzone",
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

    topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | |   P   |   P   |       | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.",...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				tf.RegisterPluginAsExtensions(podtopologyspread.Name, podTopologySpreadFunc, "PreFilter", "Filter"),
    			},
    			nodeNames: []string{"node-a/zone1", "node-b/zone1", "node-x/zone2"},
    			testPods: []*v1.Pod{
    				st.MakePod().Name("p").UID("p").Label("foo", "").Priority(highPriority).
    					SpreadConstraint(1, "zone", v1.DoNotSchedule, st.MakeLabelSelector().Exists("foo").Obj(), nil, nil, nil, nil).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. pkg/apis/core/types.go

    	// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
    	// labelSelector spread as 3/1/1:
    	// +-------+-------+-------+
    	// | zone1 | zone2 | zone3 |
    	// +-------+-------+-------+
    	// | P P P |   P   |   P   |
    	// +-------+-------+-------+
    	// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

      // scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
      // violate MaxSkew(1).
      // - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
      // When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
      // to topologies that satisfy it.
      // It's a required field. Default value is 1 and 0 is not allowed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/generated.proto

      // scheduling it onto zone1(zone2) would make the ActualSkew(3-1) on zone1(zone2)
      // violate MaxSkew(1).
      // - if MaxSkew is 2, incoming pod can be scheduled onto any zone.
      // When `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence
      // to topologies that satisfy it.
      // It's a required field. Default value is 1 and 0 is not allowed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  9. pkg/controller/endpointslice/endpointslice_controller_test.go

    			"ns/svc1": {zoneB: 5, zoneC: 4},
    		},
    		expectedQueueLen: 1,
    	}, {
    		name: "even zones but node missing cpu, sync required",
    		nodes: []nodeInfo{
    			{zoneLabel: &zoneB, ready: &readyTrue, cpu: &cpu2000},
    			{zoneLabel: &zoneB, ready: &readyTrue},
    			{zoneLabel: &zoneC, ready: &readyTrue, cpu: &cpu2000},
    			{zoneLabel: &zoneC, ready: &readyTrue, cpu: &cpu2000},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/types.go

    	// For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
    	// labelSelector spread as 3/1/1:
    	// +-------+-------+-------+
    	// | zone1 | zone2 | zone3 |
    	// +-------+-------+-------+
    	// | P P P |   P   |   P   |
    	// +-------+-------+-------+
    	// If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
Back to top