Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for labelSelectors (0.2 sec)

  1. cni/pkg/cmd/root.go

    		InitContainerName:  viper.GetString(constants.RepairInitContainerName),
    		InitTerminationMsg: viper.GetString(constants.RepairInitTerminationMsg),
    		InitExitCode:       viper.GetInt(constants.RepairInitExitCode),
    		LabelSelectors:     viper.GetString(constants.RepairLabelSelectors),
    		FieldSelectors:     viper.GetString(constants.RepairFieldSelectors),
    	}
    
    	return &config.Config{InstallConfig: installCfg, RepairConfig: repairCfg}, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar.go

    		return false
    	}
    
    	if !maps.Equal(s1.Attributes.Labels, s2.Attributes.Labels) {
    		return false
    	}
    
    	if !maps.Equal(s1.Attributes.LabelSelectors, s2.Attributes.LabelSelectors) {
    		return false
    	}
    
    	if !maps.Equal(s1.Attributes.ExportTo, s2.Attributes.ExportTo) {
    		return false
    	}
    
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			},
    		},
    		{
    			name: "pod with authz",
    			inputs: []any{
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    					Authorization: &security.Authorization{Name: "wrong-ns", Namespace: "not-ns"},
    				},
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/kube.go

    	i.mu.Lock()
    	defer i.mu.Unlock()
    
    	if i.ingress[c.Name()] == nil {
    		i.ingress[c.Name()] = map[string]ingress.Instance{}
    	}
    	if _, ok := i.ingress[c.Name()][labelSelector]; !ok {
    		ingr := newIngress(i.ctx, ingressConfig{
    			Cluster:       c,
    			Service:       service,
    			LabelSelector: labelSelector,
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. pkg/kube/kclient/client_test.go

    	}
    }
    
    func TestFilterNamespace(t *testing.T) {
    	tracker := assert.NewTracker[string](t)
    	c := kube.NewFakeClient()
    	meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{DiscoverySelectors: []*meshconfig.LabelSelector{{
    		MatchLabels: map[string]string{"kubernetes.io/metadata.name": "selected"},
    	}}})
    	testns := clienttest.NewWriter[*corev1.Namespace](t, c)
    	discoveryNamespacesFilter := filter.NewDiscoveryNamespacesFilter(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/configmap.go

    		// https://github.com/kubernetes/kubernetes/issues/30189
    		pl, err := c.Kube().CoreV1().Pods(cm.namespace).List(context.TODO(), metav1.ListOptions{LabelSelector: "app=istiod"})
    		if err != nil {
    			return err
    		}
    		for _, pod := range pl.Items {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. pkg/volume/plugins.go

    	// Returns trust anchors from the ClusterTrustBundles selected by signer
    	// name and label selector.
    	GetTrustAnchorsBySigner(signerName string, labelSelector *metav1.LabelSelector, allowMissing bool) ([]byte, error)
    }
    
    // AttachDetachVolumeHost is a AttachDetach Controller specific interface that plugins can use
    // to access methods on the Attach Detach Controller.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	kv := []string{}
    	for k, v := range sel {
    		kv = append(kv, k+"="+v)
    	}
    	podsr, err := client.Kube().CoreV1().Pods(namespace).List(context.Background(), metav1.ListOptions{
    		TypeMeta:      metav1.TypeMeta{},
    		LabelSelector: strings.Join(kv, ","),
    		FieldSelector: "spec.nodeName=" + node,
    	})
    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_pod_control_test.go

    			WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType,
    			WhenScaled:  apps.DeletePersistentVolumeClaimRetentionPolicyType,
    		}
    		set.Spec.Selector = &metav1.LabelSelector{MatchLabels: map[string]string{"key": "value"}}
    		claimIndexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})
    		for i, claimState := range tc.claimStates {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
Back to top