- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 189 for TopologyKey (0.17 sec)
-
plugin/pkg/admission/antiaffinity/admission_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 7.9K bytes - Viewed (0) -
manifests/charts/gateways/istio-ingress/templates/_affinity.tpl
values: {{- $vals := split "," $item.values }} {{- range $i, $v := $vals }} - {{ $v | quote }} {{- end }} {{- end }} topologyKey: {{ $item.topologyKey }} {{- if $item.namespaces }} namespaces: {{- $ns := split "," $item.namespaces }} {{- range $i, $n := $ns }} - {{ $n | quote }} {{- end }} {{- end }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 10 21:23:08 UTC 2022 - 3.1K bytes - Viewed (0) -
manifests/charts/gateways/istio-egress/templates/_affinity.tpl
values: {{- $vals := split "," $item.values }} {{- range $i, $v := $vals }} - {{ $v | quote }} {{- end }} {{- end }} topologyKey: {{ $item.topologyKey }} {{- if $item.namespaces }} namespaces: {{- $ns := split "," $item.namespaces }} {{- range $i, $n := $ns }} - {{ $n | quote }} {{- end }} {{- end }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 10 21:23:08 UTC 2022 - 3.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring.go
continue } for i, constraint := range s.Constraints { // per-node counts are calculated during Score. if constraint.TopologyKey == v1.LabelHostname { continue } pair := topologyPair{key: constraint.TopologyKey, value: node.Node().Labels[constraint.TopologyKey]} if s.TopologyPairToPodCounts[pair] == nil { s.TopologyPairToPodCounts[pair] = new(int64) topoSize[i]++ } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.1K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go
} // WithTopologyKey sets the TopologyKey field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the TopologyKey field is set to the value of the last call. func (b *PodAffinityTermApplyConfiguration) WithTopologyKey(value string) *PodAffinityTermApplyConfiguration { b.TopologyKey = &value return b }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 11:28:02 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/filtering.go
} if pl.enableNodeInclusionPolicyInPodTopologySpread && !constraint.matchNodeInclusionPolicies(preemptorPod, node, requiredSchedulingTerm) { continue } k, v := constraint.TopologyKey, node.Labels[constraint.TopologyKey] pair := topologyPair{key: k, value: v} s.TpPairToMatchNum[pair] += delta s.TpKeyToCriticalPaths[k].update(v, s.TpPairToMatchNum[pair]) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 12.4K bytes - Viewed (0) -
plugin/pkg/admission/antiaffinity/admission.go
//} for _, v := range podAntiAffinityTerms { if v.TopologyKey != v1.LabelHostname { return apierrors.NewForbidden(attributes.GetResource().GroupResource(), pod.Name, fmt.Errorf("affinity.PodAntiAffinity.RequiredDuringScheduling has TopologyKey %v but only key %v is allowed", v.TopologyKey, v1.LabelHostname)) } } } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 3.1K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
func (p *PodWrapper) PodAffinityExists(labelKey, topologyKey string, kind PodAffinityKind) *PodWrapper { labelSelector := MakeLabelSelector().Exists(labelKey).Obj() p.PodAffinity(topologyKey, labelSelector, kind) return p } // PodAntiAffinityExists creates a PodAntiAffinity with the operator "Exists" // and injects into the inner pod. func (p *PodWrapper) PodAntiAffinityExists(labelKey, topologyKey string, kind PodAffinityKind) *PodWrapper {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go
wantFilterStatuses: []*framework.Status{nil, nil}, name: "Test existing pod's anti-affinity: if an existing pod has a term with invalid topologyKey, labelSelector of the term is firstly checked, and then topologyKey of the term is also checked", }, { pod: st.MakePod().Node("nodeA").Namespace(defaultNamespace).PodAntiAffinityExists("foo", "invalid-node-label", 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)