- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,511 for zone (0.04 sec)
-
pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go
}{ { name: "node updates label which matches topologyKey", pod: st.MakePod().Name("p").SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil). Obj(), oldNode: st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(), newNode: st.MakeNode().Name("node-a").Label("zone", "zone2").Obj(), expectedHint: framework.Queue, }, {
Registered: 2024-06-15 01:39 - Last Modified: 2023-12-17 06:30 - 13K bytes - Viewed (0) -
cluster/gce/list-resources.sh
gcloud-list compute instance-templates "name ~ '${INSTANCE_PREFIX}.*'" gcloud-list compute instance-groups "${ZONE:+"zone:(${ZONE}) AND "}name ~ '${INSTANCE_PREFIX}.*'" gcloud-list compute instances "${ZONE:+"zone:(${ZONE}) AND "}name ~ '${INSTANCE_PREFIX}.*'" # List disk resources, filtering by instance prefix if provided. gcloud-list compute disks "${ZONE:+"zone:(${ZONE}) AND "}name ~ '${INSTANCE_PREFIX}.*'"
Registered: 2024-06-15 01:39 - Last Modified: 2023-03-27 15:44 - 3.6K bytes - Viewed (0) -
pkg/proxy/topology_test.go
name: "multiple hints per endpoint, filtering includes any endpoint with zone included", hintsEnabled: true, nodeLabels: map[string]string{v1.LabelTopologyZone: "zone-c"}, serviceInfo: &BaseServicePortInfo{hintsAnnotation: "auto"}, endpoints: []Endpoint{ &BaseEndpointInfo{endpoint: "10.1.2.3:80", zoneHints: sets.New[string]("zone-a", "zone-b", "zone-c"), ready: true},
Registered: 2024-06-15 01:39 - Last Modified: 2024-04-24 18:25 - 26.6K bytes - Viewed (0) -
pkg/scheduler/internal/cache/node_tree_test.go
expectedTree: map[string][]string{ "region-1:\x00:": {"node-1"}, ":\x00:zone-2": {"node-2"}, "region-1:\x00:zone-2": {"node-3", "node-4"}, "region-1:\x00:zone-3": {"node-5"}, "region-2:\x00:zone-2": {"node-6"}, }, }, { name: "remove a few nodes including one from a zone with multiple nodes", existingNodes: allNodes[:7], nodesToRemove: allNodes[1:4],
Registered: 2024-06-15 01:39 - Last Modified: 2023-07-05 08:00 - 13.1K 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: 2024-06-15 01:39 - Last Modified: 2023-12-15 03:30 - 60K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go
st.MakeNode().Name("node-b").Label("zone", "zone1").Label("node", "node-b").Obj(), st.MakeNode().Name("node-x").Label("zone", "zone2").Label("node", "node-x").Obj(), st.MakeNode().Name("node-y").Label("zone", "zone2").Label("node", "node-y").Obj(), st.MakeNode().Name("node-o").Label("zone", "zone3").Label("node", "node-o").Obj(), st.MakeNode().Name("node-p").Label("zone", "zone3").Label("node", "node-p").Obj(), },
Registered: 2024-06-15 01:39 - Last Modified: 2024-02-28 10:42 - 143.1K bytes - Viewed (0) -
tests/integration/create_cluster_gke.sh
function usage() { echo "${0} -p PROJECT [-z ZONE] [-c CLUSTER_NAME] [-v CLUSTER_VERSION] [-m MACHINE_TYPE] [-n NUM_NODES]" echo '' # shellcheck disable=SC2016 echo ' -p: Specifies the GCP Project name. (defaults to $PROJECT_NAME, or current GCP project if unspecified).' # shellcheck disable=SC2016 echo ' -z: Specifies the zone. (defaults to $ZONE, or "us-central1-f").' # shellcheck disable=SC2016
Registered: 2024-06-14 15:00 - Last Modified: 2022-03-12 16:02 - 3.8K bytes - Viewed (0) -
src/time/zoneinfo.go
isDST = false return } if zone := l.cacheZone; zone != nil && l.cacheStart <= sec && sec < l.cacheEnd { name = zone.name offset = zone.offset start = l.cacheStart end = l.cacheEnd isDST = zone.isDST return } if len(l.tx) == 0 || sec < l.tx[0].when { zone := &l.zone[l.lookupFirstZone()] name = zone.name offset = zone.offset start = alpha if len(l.tx) > 0 {
Registered: 2024-06-12 16:32 - Last Modified: 2024-04-04 14:21 - 18.2K bytes - Viewed (0) -
pkg/scheduler/internal/cache/node_tree.go
func (nt *nodeTree) addNode(logger klog.Logger, n *v1.Node) { zone := utilnode.GetZoneKey(n) if na, ok := nt.tree[zone]; ok { for _, nodeName := range na { if nodeName == n.Name { logger.Info("Did not add to the NodeTree because it already exists", "node", klog.KObj(n)) return } } nt.tree[zone] = append(na, n.Name) } else { nt.zones = append(nt.zones, zone) nt.tree[zone] = []string{n.Name}
Registered: 2024-06-15 01:39 - Last Modified: 2023-05-29 05:26 - 4.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go
withLabel("topology.kubernetes.io/zone", "zone-b").Node, makeNode("zone-b-node-b"). withLabel("topology.kubernetes.io/region", "region-b"). withLabel("topology.kubernetes.io/zone", "zone-b").Node, makeNode("zone-c-node-a"). withLabel("topology.kubernetes.io/region", "region-c"). withLabel("topology.kubernetes.io/zone", "zone-c").Node, makeNode("zone-c-node-b").
Registered: 2024-06-15 01:39 - Last Modified: 2023-12-15 03:30 - 32K bytes - Viewed (0)