Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for zone2 (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/time/format.go

    				b = append(b, name...)
    				break
    			}
    			// No time zone known for this time, but we must print one.
    			// Use the -0700 format.
    			zone := offset / 60 // convert to minutes
    			if zone < 0 {
    				b = append(b, '-')
    				zone = -zone
    			} else {
    				b = append(b, '+')
    			}
    			b = appendInt(b, zone/60, 2)
    			b = appendInt(b, zone%60, 2)
    		case stdFracSecond0, stdFracSecond9:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    }
    
    // addPodEvictorForNewZone checks if new zone appeared, and if so add new evictor.
    func (nc *Controller) addPodEvictorForNewZone(logger klog.Logger, node *v1.Node) {
    	nc.evictorLock.Lock()
    	defer nc.evictorLock.Unlock()
    	zone := nodetopology.GetZoneKey(node)
    	if _, found := nc.zoneStates[zone]; !found {
    		nc.zoneStates[zone] = stateInitial
    		nc.zoneNoExecuteTainter[zone] =
    			scheduler.NewRateLimitedTimedQueue(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. src/time/time.go

    	return t
    }
    
    // Location returns the time zone information associated with t.
    func (t Time) Location() *Location {
    	l := t.loc
    	if l == nil {
    		l = UTC
    	}
    	return l
    }
    
    // Zone computes the time zone in effect at time t, returning the abbreviated
    // name of the zone (such as "CET") and its offset in seconds east of UTC.
    func (t Time) Zone() (name string, offset int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  8. src/net/netip/netip_test.go

    	}
    
    	// makeIPv6 produces a set of IPv6 subtests with an optional zone identifier.
    	makeIPv6 := func(zone string) []subtest {
    		if zone != "" {
    			zone = "%" + zone
    		}
    
    		return []subtest{
    			{
    				ip:   mustIP(fmt.Sprintf("2001:db8::1%s", zone)),
    				bits: 255,
    			},
    			{
    				ip:   mustIP(fmt.Sprintf("2001:db8::1%s", zone)),
    				bits: 32,
    				p:    mustPrefix("2001:db8::/32"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  9. src/time/time_test.go

    	// Issue 4064: handle locations without any zone transitions.
    	loc, err := LoadLocation("Etc/GMT+1")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// The tzdata name Etc/GMT+1 uses "east is negative",
    	// but Go and most other systems use "east is positive".
    	// So GMT+1 corresponds to -3600 in the Go zone, not +3600.
    	name, offset := Now().In(loc).Zone()
    	// The zone abbreviation is "-01" since tzdata-2016g, and "GMT+1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. src/net/url/url_test.go

    		"",
    	},
    	// host subcomponent; IPv6 address with zone identifier in RFC 6874
    	{
    		"http://[fe80::1%25en0]/", // alphanum zone identifier
    		&URL{
    			Scheme: "http",
    			Host:   "[fe80::1%en0]",
    			Path:   "/",
    		},
    		"",
    	},
    	// host and port subcomponents; IPv6 address with zone identifier in RFC 6874
    	{
    		"http://[fe80::1%25en0]:8080/", // alphanum zone identifier
    		&URL{
    			Scheme: "http",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top