Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 134 for LabelSelector (0.65 sec)

  1. pkg/controller/podautoscaler/metrics/client.go

    	metrics, err := c.client.PodMetricses(namespace).List(ctx, metav1.ListOptions{LabelSelector: selector.String()})
    	if err != nil {
    		return nil, time.Time{}, fmt.Errorf("unable to fetch metrics from resource metrics API: %v", err)
    	}
    
    	if len(metrics.Items) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 16 20:17:52 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. pkg/apis/rbac/types.go

    	// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
    	// If any of the selectors match, then the ClusterRole's permissions will be added
    	ClusterRoleSelectors []metav1.LabelSelector
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // ClusterRoleBinding references a ClusterRole, but not contain it.  It can reference a ClusterRole in the global namespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/rbac/v1/generated.proto

      // If any of the selectors match, then the ClusterRole's permissions will be added
      // +optional
      // +listType=atomic
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    }
    
    // ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
    message ClusterRole {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

      // If any of the selectors match, then the ClusterRole's permissions will be added
      // +optional
      repeated k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    }
    
    // ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // not accessible from any node in the cluster. If empty, the
      // storage is accessible from all nodes. This field is
      // immutable.
      //
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector nodeTopology = 2;
    
      // storageClassName represents the name of the StorageClass that the reported capacity applies to.
      // It must meet the same requirements as the name of a StorageClass
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. tests/integration/pilot/revisions/uninstall_test.go

    func getRemainingResourcesCluster(cs cluster.Cluster, gvr schema.GroupVersionResource, ls string) ([]unstructured.Unstructured, []string) {
    	usList, _ := cs.Dynamic().Resource(gvr).List(context.TODO(), metav1.ListOptions{LabelSelector: ls})
    	var remainingResources []unstructured.Unstructured
    	var staleList []string
    	if usList != nil && len(usList.Items) != 0 {
    		for _, item := range usList.Items {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "add a new node with matched pod anti-affinity topologyKey",
    			pod:          st.MakePod().Name("p").PodAntiAffinity("zone", &metav1.LabelSelector{MatchLabels: map[string]string{"another": "label"}}, st.PodAntiAffinityWithRequiredReq).Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/policy/v1/generated.proto

      // budget.
      // A null selector will match no pods, while an empty ({}) selector will select
      // all pods within the namespace.
      // +patchStrategy=replace
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    
      // An eviction is allowed if at most "maxUnavailable" pods selected by
      // "selector" are unavailable after the eviction, i.e. even in absence of
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/health.go

    	selectorControlPlane := labels.SelectorFromSet(map[string]string{
    		constants.LabelNodeRoleControlPlane: "",
    	})
    	nodes, err := client.CoreV1().Nodes().List(context.Background(), metav1.ListOptions{
    		LabelSelector: selectorControlPlane.String(),
    	})
    	if err != nil {
    		return errors.Wrapf(err, "could not list nodes labeled with %q", constants.LabelNodeRoleControlPlane)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:18:02 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1beta1/generated.proto

      // In policy/v1, an empty selector will select all pods in the namespace.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    
      // An eviction is allowed if at most "maxUnavailable" pods selected by
      // "selector" are unavailable after the eviction, i.e. even in absence of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top