Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for LabelSelector (0.2 sec)

  1. api/openapi-spec/v3/apis__batch__v1_openapi.json

    the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  2. pkg/generated/openapi/zz_generated.openapi.go

    the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. MatchLabelKeys cannot be set when LabelSelector isn't set. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.\n\nThis is a beta field and requires the MatchLabelKeysInPodTopologySpread...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/configmap.go

    		// https://github.com/kubernetes/kubernetes/issues/30189
    		pl, err := c.Kube().CoreV1().Pods(cm.namespace).List(context.TODO(), metav1.ListOptions{LabelSelector: "app=istiod"})
    		if err != nil {
    			return err
    		}
    		for _, pod := range pl.Items {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. pkg/volume/plugins.go

    	// Returns trust anchors from the ClusterTrustBundles selected by signer
    	// name and label selector.
    	GetTrustAnchorsBySigner(signerName string, labelSelector *metav1.LabelSelector, allowMissing bool) ([]byte, error)
    }
    
    // AttachDetachVolumeHost is a AttachDetach Controller specific interface that plugins can use
    // to access methods on the Attach Detach Controller.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_utils_test.go

    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: v1.NamespaceDefault,
    			UID:       types.UID("test"),
    		},
    		Spec: apps.StatefulSetSpec{
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"foo": "bar"},
    			},
    			Replicas:             ptr.To(replicas),
    			Template:             template,
    			VolumeClaimTemplates: claims,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate_test.go

    				})
    			}
    		})
    	}
    }
    
    func selectorMatches(t *testing.T, selector *metav1.LabelSelector, labels klabels.Set) bool {
    	t.Helper()
    	// From webhook spec: "Default to the empty LabelSelector, which matches everything."
    	if selector == nil {
    		return true
    	}
    	s, err := metav1.LabelSelectorAsSelector(selector)
    	if err != nil {
    		t.Fatal(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	kv := []string{}
    	for k, v := range sel {
    		kv = append(kv, k+"="+v)
    	}
    	podsr, err := client.Kube().CoreV1().Pods(namespace).List(context.Background(), metav1.ListOptions{
    		TypeMeta:      metav1.TypeMeta{},
    		LabelSelector: strings.Join(kv, ","),
    		FieldSelector: "spec.nodeName=" + node,
    	})
    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. pkg/controller/job/job_controller_test.go

    		TypeMeta: metav1.TypeMeta{Kind: "Job"},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			UID:       uuid.NewUUID(),
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: batch.JobSpec{
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"foo": "bar"},
    			},
    			Template: v1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"foo": "bar",
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_pod_control_test.go

    			WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType,
    			WhenScaled:  apps.DeletePersistentVolumeClaimRetentionPolicyType,
    		}
    		set.Spec.Selector = &metav1.LabelSelector{MatchLabels: map[string]string{"key": "value"}}
    		claimIndexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
    		for i, claimState := range tc.claimStates {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/types.go

    		reasonMsg += fmt.Sprintf(" %v", postFilterMsg)
    	}
    	return reasonMsg
    }
    
    func newAffinityTerm(pod *v1.Pod, term *v1.PodAffinityTerm) (*AffinityTerm, error) {
    	selector, err := metav1.LabelSelectorAsSelector(term.LabelSelector)
    	if err != nil {
    		return nil, err
    	}
    
    	namespaces := getNamespacesFromPodAffinityTerm(pod, term)
    	nsSelector, err := metav1.LabelSelectorAsSelector(term.NamespaceSelector)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
Back to top