- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for zone2 (0.08 sec)
-
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) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go
nodes: []*v1.Node{ st.MakeNode().Name("node-a").Label("zone", "zone1").Label(v1.LabelHostname, "node-a").Obj(), st.MakeNode().Name("node-b").Label("zone", "zone1").Label(v1.LabelHostname, "node-b").Obj(), st.MakeNode().Name("node-x").Label("zone", "zone2").Label(v1.LabelHostname, "node-x").Obj(), }, failedNodes: []*v1.Node{ st.MakeNode().Name("node-y").Label("zone", "zone2").Label(v1.LabelHostname, "node-y").Obj(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 60K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go
PodAntiAffinityExists("abc", "zone", st.PodAntiAffinityWithRequiredReq). PodAntiAffinityExists("def", "zone", st.PodAntiAffinityWithRequiredReq).Obj(), pods: []*v1.Pod{ st.MakePod().Namespace(defaultNamespace).Node("node1").Labels(map[string]string{"def": "", "xyz": ""}). PodAntiAffinityExists("abc", "zone", st.PodAntiAffinityWithRequiredReq). PodAntiAffinityExists("def", "zone", st.PodAntiAffinityWithRequiredReq).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 10:24:54 UTC 2023 - 58.2K bytes - Viewed (0)