- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 75 for MatchExpressions (0.25 sec)
-
staging/src/k8s.io/api/admissionregistration/v1/generated.proto
// // For example, to run the webhook on any objects whose namespace is not // associated with "runlevel" of "0" or "1"; you will set the selector as // follows: // "namespaceSelector": { // "matchExpressions": [ // { // "key": "runlevel", // "operator": "NotIn", // "values": [ // "0", // "1" // ] // } // ] // } //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 51.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
}, }, schema: genMatchSelectorSchema(`self.matchExpressions.all(rule, (rule.operator != "In" && rule.operator != "NotIn") || ((has(rule.values) && size(rule.values) > 0)))`), errors: []string{"failed rule"}, }, {name: "matchExpressions - 'values' may not be specified when 'operator' is 'Exists' or 'DoesNotExist'", obj: map[string]interface{}{ "matchExpressions": []interface{}{ map[string]interface{}{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers.go
func NodeSelectorRequirementKeysExistInNodeSelectorTerms(reqs []v1.NodeSelectorRequirement, terms []v1.NodeSelectorTerm) bool { for _, req := range reqs { for _, term := range terms { for _, r := range term.MatchExpressions { if r.Key == req.Key { return true } } } } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/types.go
// // For example, to run the webhook on any objects whose namespace is not // associated with "runlevel" of "0" or "1"; you will set the selector as // follows: // "namespaceSelector": { // "matchExpressions": [ // { // "key": "runlevel", // "operator": "NotIn", // "values": [ // "0", // "1" // ] // } // ] // } //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 61.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/dns/dns_test.go
affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: labelSelector: matchExpressions: - key: k8s-app operator: In values: ["kube-dns"] topologyKey: kubernetes.io/hostname tolerations: - key: CriticalAddonsOnly
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 41.7K bytes - Viewed (0) -
pkg/volume/util/util.go
// PersistentVolume with node affinity has select and match expressions // in the form of: // // nodeAffinity: // required: // nodeSelectorTerms: // - matchExpressions: // - key: kubernetes.io/hostname // operator: In // values: // - <node1> // - <node2> func GetLocalPersistentVolumeNodeNames(pv *v1.PersistentVolume) []string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
if len(oldTerm.MatchExpressions) == 0 && len(oldTerm.MatchFields) == 0 { if len(newTerm.MatchExpressions) > 0 || len(newTerm.MatchFields) > 0 { return false } } // Validate MatchExpressions only has additions (no deletions or mutations) if l := len(oldTerm.MatchExpressions); l > 0 { if len(newTerm.MatchExpressions) < l { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
Spec: apps.StatefulSetSpec{ Selector: &metav1.LabelSelector{ // Purposely leaving MatchLabels nil, so to ensure it will break if any link // in the chain ignores the set-based MatchExpressions. MatchLabels: nil, MatchExpressions: testMatchExpressions, }, Replicas: ptr.To(replicas), PersistentVolumeClaimRetentionPolicy: &apps.StatefulSetPersistentVolumeClaimRetentionPolicy{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) { *out = *in if in.MatchExpressions != nil { in, out := &in.MatchExpressions, &out.MatchExpressions *out = make([]NodeSelectorRequirement, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } if in.MatchFields != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0)