Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for zone2 (0.15 sec)

  1. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    				},
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    				},
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone2",
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. pkg/registry/storage/csinode/strategy_test.go

    			Name: "foo",
    		},
    		Spec: storage.CSINodeSpec{
    			Drivers: []storage.CSINodeDriver{
    				{
    					Name:         "valid-driver-name",
    					NodeID:       "valid-node",
    					TopologyKeys: []string{"company.com/zone1", "company.com/zone2"},
    				},
    			},
    		},
    	}
    
    	volumeLimitsCases := []struct {
    		name     string
    		obj      *storage.CSINode
    		expected *storage.CSINode
    	}{
    		{
    			"empty allocatable",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 09:24:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. pkg/apis/storage/validation/validation_test.go

    		MatchLabelExpressions: []api.TopologySelectorLabelRequirement{{
    			Key:    "failure-domain.beta.kubernetes.io/zone",
    			Values: []string{"zone1", "zone2"},
    		}},
    	}, {
    		MatchLabelExpressions: []api.TopologySelectorLabelRequirement{{
    			Key:    "failure-domain.beta.kubernetes.io/zone",
    			Values: []string{"zone2", "zone1"},
    		}},
    	}}
    
    	cases := map[string]bindingTest{
    		"no topology": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    		{
    			name:         "update node topologyKey",
    			pod:          st.MakePod().Name("p").PodAffinityIn("service", "zone", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			oldNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone2").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "update node lable but not topologyKey",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. pilot/pkg/autoregistration/controller_test.go

    				Weight:         1,
    				Network:        "nw0",
    				Locality:       "rgn1/zone1/subzone1",
    				ServiceAccount: "sa-a",
    			},
    		},
    	}
    	proxy := fakeProxy("10.0.0.1", group, "nw1", "sa")
    	proxy.Labels[model.LocalityLabel] = "rgn2/zone2/subzone2"
    	proxy.XdsNode = fakeNode("rgn2", "zone2", "subzone2")
    	proxy.Locality = proxy.XdsNode.Locality
    
    	wantLabels := map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top