Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 464 for labelSelectors (0.14 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go

    )
    
    // PodAffinityTermApplyConfiguration represents an declarative configuration of the PodAffinityTerm type for use
    // with apply.
    type PodAffinityTermApplyConfiguration struct {
    	LabelSelector     *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
    	Namespaces        []string                            `json:"namespaces,omitempty"`
    	TopologyKey       *string                             `json:"topologyKey,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)
  2. pkg/config/schema/codegen/templates/clients.go.tmpl

    					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
    - 3.8K bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta1/defaults_test.go

    						Type:          appsv1beta1.OnDeleteStatefulSetStrategyType,
    						RollingUpdate: nil,
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    					Selector: &metav1.LabelSelector{
    						MatchLabels:      map[string]string{"foo": "bar"},
    						MatchExpressions: []metav1.LabelSelectorRequirement{},
    					},
    				},
    			},
    		},
    		{
    			name: "Alternate update strategy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. pkg/api/pod/warnings.go

    				t.TopologyKey,
    				msg,
    			))
    		}
    
    		// warn if labelSelector is empty which is no-match.
    		if t.LabelSelector == nil {
    			warnings = append(warnings, fmt.Sprintf("%s: a null labelSelector results in matching no pod", fieldPath.Child("spec", "topologySpreadConstraints").Index(i).Child("labelSelector")))
    		}
    	}
    
    	// use of deprecated annotations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction_test.go

    			pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "default"},
    				Spec:       policyv1.PodDisruptionBudgetSpec{Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"a": "true"}}},
    				Status:     policyv1.PodDisruptionBudgetStatus{DisruptionsAllowed: 0},
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/util.go

    	webhooks, err := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{
    		LabelSelector: label.IoIstioRev.Name,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetWebhooksWithTag returns webhooks tagged with istio.io/tag=<tag>.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. pkg/kube/inject/webhook_test.go

    			},
    			podSpec: podSpec,
    			meta: metav1.ObjectMeta{
    				Name:      "policy-disabled-always-inject-with-labels",
    				Namespace: "test-namespace",
    				Labels:    map[string]string{"foo": "bar"},
    			},
    			want: true,
    		},
    		{
    			config: &Config{
    				Policy:              InjectionPolicyEnabled,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/policies.go

    			return nil
    		}
    		meshCfg := krt.FetchOne(ctx, MeshConfig.AsCollection())
    		// If there are any PeerAuthentications in our cache, send our static STRICT policy
    		return &model.WorkloadAuthorization{
    			LabelSelector: model.LabelSelector{},
    			Authorization: &security.Authorization{
    				Name:      staticStrictPolicyName,
    				Namespace: meshCfg.GetRootNamespace(),
    				Scope:     security.Scope_WORKLOAD_SELECTOR,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/v1alpha1/defaults.go

    		policy := admissionregistrationv1alpha1.Equivalent
    		obj.MatchPolicy = &policy
    	}
    	if obj.NamespaceSelector == nil {
    		selector := metav1.LabelSelector{}
    		obj.NamespaceSelector = &selector
    	}
    	if obj.ObjectSelector == nil {
    		selector := metav1.LabelSelector{}
    		obj.ObjectSelector = &selector
    	}
    }
    
    // SetDefaults_ParamRef sets defaults for ParamRef
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    	informerFactory.Start(ctx.Done())
    	if !cache.WaitForCacheSync(ctx.Done(), ctbInformer.Informer().HasSynced) {
    		t.Fatalf("Timed out waiting for informer to sync")
    	}
    
    	t.Run("big labelselector should cause error", func(t *testing.T) {
    		longString := strings.Builder{}
    		for i := 0; i < 63; i++ {
    			longString.WriteString("v")
    		}
    		matchLabels := map[string]string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top