- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 134 for LabelSelector (0.17 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go
} // validate labelSelector if scale.LabelSelectorPath != nil { labelSelectorPath := strings.TrimPrefix(*scale.LabelSelectorPath, ".") // ignore leading period labelSelector, _, err := unstructured.NestedString(obj.UnstructuredContent(), strings.Split(labelSelectorPath, ".")...) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 14:00:05 UTC 2024 - 7.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/registry/apps/daemonset/storage/storage_test.go
Labels: map[string]string{"a": "b"}, }, Spec: apps.DaemonSetSpec{ UpdateStrategy: apps.DaemonSetUpdateStrategy{ Type: apps.OnDeleteDaemonSetStrategyType, }, Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"a": "b"}}, Template: api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{"a": "b"}, }, Spec: api.PodSpec{ Containers: []api.Container{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 12 20:55:35 UTC 2019 - 5.3K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 23:43:34 UTC 2023 - 6.9K bytes - Viewed (0)