Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 161 for labelSelector (0.18 sec)

  1. staging/src/k8s.io/api/autoscaling/v1/generated.proto

      optional string metricName = 1;
    
      // metricSelector is used to identify a specific time series
      // within a given metric.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
    
      // targetValue is the target value of the metric (as a quantity).
      // Mutually exclusive with TargetAverageValue.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      optional string metricName = 1;
    
      // metricSelector is used to identify a specific time series
      // within a given metric.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector metricSelector = 2;
    
      // targetValue is the target value of the metric (as a quantity).
      // Mutually exclusive with TargetAverageValue.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    func getPodNameBySelector(ctx cli.Context, kubeClient kube.CLIClient, labelSelector string) ([]string, string, error) {
    	var (
    		podNames []string
    		ns       string
    	)
    	pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    	if err != nil {
    		return nil, "", fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    	}
    	if len(pl.Items) < 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
  4. pkg/kube/client.go

    }
    
    func (c *client) GetIstioPods(ctx context.Context, namespace string, opts metav1.ListOptions) ([]v1.Pod, error) {
    	if c.revision != "" {
    		if opts.LabelSelector != "" {
    			opts.LabelSelector += fmt.Sprintf(",%s=%s", label.IoIstioRev.Name, c.revision)
    		} else {
    			opts.LabelSelector = fmt.Sprintf("%s=%s", label.IoIstioRev.Name, c.revision)
    		}
    	}
    
    	pl, err := c.kube.CoreV1().Pods(namespace).List(ctx, opts)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K 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.go

    	ns := filter.Namespace
    	if !istiogvr.IsClusterScoped(gvr) && ns == "" {
    		ns = features.InformerWatchNamespace
    	}
    	return kubetypes.InformerOptions{
    		LabelSelector:   filter.LabelSelector,
    		FieldSelector:   filter.FieldSelector,
    		Namespace:       ns,
    		ObjectTransform: filter.ObjectTransform,
    		Cluster:         c.ClusterID(),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v1/types.go

    	// When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
    	// When unset, just the metricName will be used to gather metrics.
    	// +optional
    	Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,name=selector"`
    
    	// averageValue is the target value of the average of the
    	// metric across all relevant pods (as a quantity)
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/helper/helpers.go

    	for _, req := range topologySelectorTerms {
    		// nil or empty term selects no objects
    		if len(req.MatchLabelExpressions) == 0 {
    			continue
    		}
    
    		labelSelector, err := TopologySelectorRequirementsAsSelector(req.MatchLabelExpressions)
    		if err != nil || !labelSelector.Matches(lbls) {
    			continue
    		}
    
    		return true
    	}
    
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. 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)
  10. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // See
      // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      // for more examples of label selectors.
      //
      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 1;
    
      // ObjectSelector decides whether to run the validation based on if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top