Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 161 for labelSelector (0.16 sec)

  1. pkg/api/testing/defaulting_test.go

    	f.Funcs(
    		func(s *runtime.RawExtension, c fuzz.Continue) {},
    		func(s *metav1.LabelSelector, c fuzz.Continue) {
    			c.FuzzNoCustom(s)
    			s.MatchExpressions = nil // need to fuzz this specially
    		},
    		func(s *metav1.ListOptions, c fuzz.Continue) {
    			c.FuzzNoCustom(s)
    			s.LabelSelector = "" // need to fuzz requirement strings specially
    			s.FieldSelector = "" // need to fuzz requirement strings specially
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/validation/validation_pluginargs_test.go

    						WhenUnsatisfiable: v1.DoNotSchedule,
    						LabelSelector: &metav1.LabelSelector{
    							MatchLabels: map[string]string{
    								"a": "b",
    							},
    						},
    					},
    				},
    				DefaultingType: config.ListDefaulting,
    			},
    			wantErrs: field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeForbidden,
    					Field: "defaultConstraints[0].labelSelector",
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  3. pkg/config/schema/kubeclient/resources.gen.go

    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return l(options)
    				},
    				WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return w(options)
    				},
    			},
    			gvrToObject(g),
    			0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // See
      // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      // for more examples of label selectors.
      //
      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 1;
    
      // ObjectSelector decides whether to run the validation based on if the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/addons/dns/dns.go

    func DeployedDNSAddon(client clientset.Interface) (string, error) {
    	deploymentsClient := client.AppsV1().Deployments(metav1.NamespaceSystem)
    	deployments, err := deploymentsClient.List(context.TODO(), metav1.ListOptions{LabelSelector: "k8s-app=kube-dns"})
    	if err != nil {
    		return "", errors.Wrap(err, "couldn't retrieve DNS addon deployments")
    	}
    
    	switch len(deployments.Items) {
    	case 0:
    		return "", nil
    	case 1:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

    	"objectSelector":       "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  7. pkg/volume/testing/volume_host.go

    	return []byte(ctb.Spec.TrustBundle), nil
    }
    
    // Note: we do none of the deduplication and sorting that the real deal should do.
    func (f *fakeKubeletVolumeHost) GetTrustAnchorsBySigner(signerName string, labelSelector *metav1.LabelSelector, allowMissing bool) ([]byte, error) {
    	ctbList, err := f.kubeClient.CertificatesV1alpha1().ClusterTrustBundles().List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/generated.proto

      // If empty, defaulted to labels on Pod template.
      // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 1;
    
      // An object that describes the pod that will be created.
      // The DaemonSet will create exactly one copy of this pod on every node
      // that matches the template's node selector (or on every node if no node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go

    	"objectSelector":       "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // If empty, defaulted to labels on Pod template.
      // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 1;
    
      // An object that describes the pod that will be created.
      // The DaemonSet will create exactly one copy of this pod on every node
      // that matches the template's node selector (or on every node if no node
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
Back to top