Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 116 for LabelSelector (0.22 sec)

  1. pkg/kube/kubetypes/types.go

    	"k8s.io/apimachinery/pkg/watch"
    
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type InformerOptions struct {
    	// A selector to restrict the list of returned objects by their labels.
    	LabelSelector string
    	// A selector to restrict the list of returned objects by their fields.
    	FieldSelector string
    	// Namespace to watch.
    	Namespace string
    	// Cluster name for watch error handlers
    	Cluster cluster.ID
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. releasenotes/notes/merge-svc.yaml

    kind: feature
    area: traffic-management
    
    # releaseNotes is a markdown listing of any user facing changes. This will appear in the
    # release notes.
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 07:49:37 UTC 2024
    - 912 bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta1/defaults.go

    		obj.Spec.UpdateStrategy.Type = appsv1beta1.OnDeleteStatefulSetStrategyType
    	}
    	labels := obj.Spec.Template.Labels
    	if labels != nil {
    		if obj.Spec.Selector == nil {
    			obj.Spec.Selector = &metav1.LabelSelector{
    				MatchLabels: labels,
    			}
    		}
    		if len(obj.Labels) == 0 {
    			obj.Labels = labels
    		}
    	}
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetAutoDeletePVC) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. pkg/registry/core/componentstatus/rest.go

    	pred := storage.SelectionPredicate{
    		Label:    labels.Everything(),
    		Field:    fields.Everything(),
    		GetAttrs: nil,
    	}
    	if options != nil {
    		if options.LabelSelector != nil {
    			pred.Label = options.LabelSelector
    		}
    		if options.FieldSelector != nil {
    			pred.Field = options.FieldSelector
    		}
    	}
    	return pred
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	watcher := keycertbundle.NewWatcher()
    	caBundle := []byte("caBundle")
    	watcher.SetAndNotify(nil, nil, caBundle)
    	meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{
    		DiscoverySelectors: []*meshconfig.LabelSelector{
    			{
    				MatchLabels: map[string]string{
    					"discovery-selectors": "enabled",
    				},
    			},
    		},
    	})
    	stop := test.NewStop(t)
    	discoveryNamespacesFilter := filter.NewDiscoveryNamespacesFilter(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. pkg/registry/networking/networkpolicy/storage/storage_test.go

    			Namespace: "default",
    		},
    		Spec: networking.NetworkPolicySpec{
    			PodSelector: metav1.LabelSelector{
    				MatchLabels: map[string]string{"label-1": "value-1"},
    			},
    			Ingress: []networking.NetworkPolicyIngressRule{
    				{
    					From: []networking.NetworkPolicyPeer{
    						{
    							PodSelector: &metav1.LabelSelector{
    								MatchLabels: map[string]string{"label-2": "value-2"},
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. pkg/quota/v1/evaluator/core/persistent_volume_claims_test.go

    		Spec:       spec,
    	}
    }
    
    func TestPersistentVolumeClaimEvaluatorUsage(t *testing.T) {
    	classGold := "gold"
    	validClaim := testVolumeClaim("foo", "ns", core.PersistentVolumeClaimSpec{
    		Selector: &metav1.LabelSelector{
    			MatchExpressions: []metav1.LabelSelectorRequirement{
    				{
    					Key:      "key2",
    					Operator: "Exists",
    				},
    			},
    		},
    		AccessModes: []core.PersistentVolumeAccessMode{
    			core.ReadWriteOnce,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage_test.go

    								APIVersions: []string{"a"},
    								Resources:   []string{"a"},
    							},
    						},
    					},
    				},
    				ObjectSelector: &metav1.LabelSelector{
    					MatchLabels: map[string]string{"a": "b"},
    				},
    				NamespaceSelector: &metav1.LabelSelector{
    					MatchLabels: map[string]string{"a": "b"},
    				},
    			},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 23:43:34 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. samples/sleep/notsleep.yaml

            app: notsleep
        spec:
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: app
                      operator: In
                      values:
                      - productpage
                  topologyKey: kubernetes.io/hostname 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 27 20:55:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage_test.go

    			},
    			Spec: admissionregistration.ValidatingAdmissionPolicyBindingSpec{
    				PolicyName: "replicalimit-policy.example.com",
    				ParamRef: &admissionregistration.ParamRef{
    					Selector: &metav1.LabelSelector{
    						MatchLabels: map[string]string{
    							"label": "value",
    						},
    					},
    					ParameterNotFoundAction: &denyAction,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top