Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for matchLabelKeys (0.4 sec)

  1. pkg/api/pod/util_test.go

    		},
    		{
    			name:    "feature disabled, both pods use MatchLabelKeys fields",
    			enabled: false,
    			oldPodSpec: &api.PodSpec{
    				TopologySpreadConstraints: []api.TopologySpreadConstraint{
    					{MatchLabelKeys: []string{"foo"}},
    				},
    			},
    			podSpec: &api.PodSpec{
    				TopologySpreadConstraints: []api.TopologySpreadConstraint{
    					{MatchLabelKeys: []string{"foo"}},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go

    	TopologyKey       *string                             `json:"topologyKey,omitempty"`
    	NamespaceSelector *v1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
    	MatchLabelKeys    []string                            `json:"matchLabelKeys,omitempty"`
    	MismatchLabelKeys []string                            `json:"mismatchLabelKeys,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 11:28:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. pkg/api/pod/util.go

    			podSpec.TopologySpreadConstraints[i].MatchLabelKeys = nil
    		}
    	}
    }
    
    // dropMatchLabelKeysFieldInWeightedPodAffnityTerm removes MatchLabelKeys and MismatchLabelKeys fields from WeightedPodAffinityTerm
    func dropMatchLabelKeysFieldInWeightedPodAffnityTerm(terms []api.WeightedPodAffinityTerm) {
    	for i := range terms {
    		terms[i].PodAffinityTerm.MatchLabelKeys = nil
    		terms[i].PodAffinityTerm.MismatchLabelKeys = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/common.go

    			selector, err := metav1.LabelSelectorAsSelector(c.LabelSelector)
    			if err != nil {
    				return nil, err
    			}
    
    			if pl.enableMatchLabelKeysInPodTopologySpread && len(c.MatchLabelKeys) > 0 {
    				matchLabels := make(labels.Set)
    				for _, labelKey := range c.MatchLabelKeys {
    					if value, ok := podLabels[labelKey]; ok {
    						matchLabels[labelKey] = value
    					}
    				}
    				if len(matchLabels) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.json

                          "values": [
                            "valuesValue"
                          ]
                        }
                      ]
                    },
                    "matchLabelKeys": [
                      "matchLabelKeysValue"
                    ],
                    "mismatchLabelKeys": [
                      "mismatchLabelKeysValue"
                    ]
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.json

                          "values": [
                            "valuesValue"
                          ]
                        }
                      ]
                    },
                    "matchLabelKeys": [
                      "matchLabelKeysValue"
                    ],
                    "mismatchLabelKeys": [
                      "mismatchLabelKeysValue"
                    ]
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 53.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
                      matchLabelsKey: matchLabelsValue
                  matchLabelKeys:
                  - matchLabelKeysValue
                  mismatchLabelKeys:
                  - mismatchLabelKeysValue
                  namespaceSelector:
                    matchExpressions:
                    - key: keyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

                  - key: keyValue
                    operator: operatorValue
                    values:
                    - valuesValue
                  matchLabels:
                    matchLabelsKey: matchLabelsValue
                matchLabelKeys:
                - matchLabelKeysValue
                mismatchLabelKeys:
                - mismatchLabelKeysValue
                namespaceSelector:
                  matchExpressions:
                  - key: keyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
                      matchLabelsKey: matchLabelsValue
                  matchLabelKeys:
                  - matchLabelKeysValue
                  mismatchLabelKeys:
                  - mismatchLabelKeysValue
                  namespaceSelector:
                    matchExpressions:
                    - key: keyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

                          "values": [
                            "valuesValue"
                          ]
                        }
                      ]
                    },
                    "matchLabelKeys": [
                      "matchLabelKeysValue"
                    ],
                    "mismatchLabelKeys": [
                      "mismatchLabelKeysValue"
                    ]
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top