Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 161 for labelSelector (0.4 sec)

  1. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
    		Spec: policy.PodDisruptionBudgetSpec{
    			MinAvailable:               &minAvailable,
    			Selector:                   &metav1.LabelSelector{MatchLabels: validSelector},
    			UnhealthyPodEvictionPolicy: tc.unhealthyPodEvictionPolicy,
    		},
    	}
    
    	Strategy.PrepareForCreate(ctx, pdb)
    	errs := Strategy.Validate(ctx, pdb)
    	if len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. pkg/registry/batch/job/storage/storage_test.go

    	return &batch.Job{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: "default",
    		},
    		Spec: batch.JobSpec{
    			Completions: &completions,
    			Parallelism: &parallelism,
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"a": "b"},
    			},
    			ManualSelector: newBool(true),
    			Template: api.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{"a": "b"},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy.go

    // and merge to LabelSelector with the given operator:
    func applyLabelKeysToLabelSelector(labelSelector *metav1.LabelSelector, labelKeys []string, operator metav1.LabelSelectorOperator, podLabels map[string]string) {
    	for _, key := range labelKeys {
    		if value, ok := podLabels[key]; ok {
    			labelSelector.MatchExpressions = append(labelSelector.MatchExpressions, metav1.LabelSelectorRequirement{
    				Key:      key,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml

                    values:
                    - valuesValue
            podAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: keyValue
                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml

                    values:
                    - valuesValue
            podAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: keyValue
                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.DaemonSet.yaml

                    values:
                    - valuesValue
            podAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: keyValue
                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. istioctl/pkg/multixds/gather.go

    	labelSelector := centralOpts.XdsPodLabel
    	if labelSelector == "" {
    		labelSelector = "app=istiod"
    	}
    	pods, err := kubeClient.GetIstioPods(context.TODO(), istioNamespace, metav1.ListOptions{
    		LabelSelector: labelSelector,
    		FieldSelector: kube.RunningStatus,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/batch.v1.CronJob.yaml

                        values:
                        - valuesValue
                podAffinity:
                  preferredDuringSchedulingIgnoredDuringExecution:
                  - podAffinityTerm:
                      labelSelector:
                        matchExpressions:
                        - key: keyValue
                          operator: operatorValue
                          values:
                          - valuesValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/batch.v1.Job.yaml

                    values:
                    - valuesValue
            podAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: keyValue
                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Deployment.yaml

                    values:
                    - valuesValue
            podAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: keyValue
                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top