Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 114 for labelSelectors (0.35 sec)

  1. staging/src/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go

    		in, out := &in.MinAvailable, &out.MinAvailable
    		*out = new(intstr.IntOrString)
    		**out = **in
    	}
    	if in.Selector != nil {
    		in, out := &in.Selector, &out.Selector
    		*out = new(v1.LabelSelector)
    		(*in).DeepCopyInto(*out)
    	}
    	if in.MaxUnavailable != nil {
    		in, out := &in.MaxUnavailable, &out.MaxUnavailable
    		*out = new(intstr.IntOrString)
    		**out = **in
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. samples/addons/loki.yaml

                  mountPath: /var/loki
              resources:
                {}
          affinity:
            podAntiAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
              - labelSelector:
                  matchLabels:
                    app.kubernetes.io/component: single-binary
                topologyKey: kubernetes.io/hostname
          volumes:
            - name: tmp
              emptyDir: {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/upgrade/versiongetter.go

    func (g *KubeVersionGetter) ComponentVersions(name string) (map[string][]string, error) {
    	podList, err := g.client.CoreV1().Pods(metav1.NamespaceSystem).List(
    		context.TODO(),
    		metav1.ListOptions{
    			LabelSelector: fmt.Sprintf("component=%s,tier=%s", name, constants.ControlPlaneTier),
    		},
    	)
    	if err != nil {
    		return nil, errors.Wrap(err, "couldn't list pods in cluster")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. pilot/pkg/status/distribution/state.go

    		informers.WithNamespace(namespace),
    		informers.WithTweakListOptions(func(listOptions *metav1.ListOptions) {
    			listOptions.LabelSelector = labels.Set(map[string]string{labelKey: "true"}).AsSelector().String()
    		})).
    		Core().V1().ConfigMaps()
    	c.cmInformer = i.Informer()
    	c.cmHandle, _ = c.cmInformer.AddEventHandler(&DistroReportHandler{dc: c})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. pkg/apis/policy/types.go

    	// evictions by specifying "100%".
    	// +optional
    	MinAvailable *intstr.IntOrString
    
    	// Label query over pods whose evictions are managed by the disruption
    	// budget.
    	// +optional
    	Selector *metav1.LabelSelector
    
    	// An eviction is allowed if at most "maxUnavailable" pods selected by
    	// "selector" are unavailable after the eviction, i.e. even in absence of
    	// the evicted pod. For example, one can prevent all voluntary evictions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go

    		// TODO: For resources that implement indexes at the watchcache level,
    		//  we need to adjust the cost accordingly
    		estimatedObjectsToBeProcessed = numStored
    	case listOptions.FieldSelector != "" || listOptions.LabelSelector != "":
    		estimatedObjectsToBeProcessed = numStored + limit
    	default:
    		estimatedObjectsToBeProcessed = 2 * limit
    	}
    
    	// for now, our rough estimate is to allocate one seat to each 100 obejcts that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/rbac/v1/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.
    message ClusterRole {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tests/integration/pilot/multicluster_test.go

    			t.Logf("creating pod %s/%s", ns, pod)
    			deps, err := primary.Kube().AppsV1().
    				Deployments(ns).List(context.TODO(), metav1.ListOptions{LabelSelector: "app=istiod"})
    			if err != nil {
    				t.Fatal(err)
    			}
    			if len(deps.Items) == 0 {
    				t.Skip("no deployments with label app=istiod")
    			}
    			pods := primary.Kube().CoreV1().Pods(ns)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. pkg/controller/clusterroleaggregation/clusterroleaggregation_controller_test.go

    			AggregationRule: &rbacv1.AggregationRule{},
    		}
    		for _, selector := range selectors {
    			ret.AggregationRule.ClusterRoleSelectors = append(ret.AggregationRule.ClusterRoleSelectors,
    				metav1.LabelSelector{MatchLabels: selector})
    		}
    		for _, currRules := range rules {
    			ret.Rules = append(ret.Rules, currRules...)
    		}
    		return ret
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top