Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for LabelSelector (0.43 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    			}
    		}
    	}
    	noMatchingReason := func(whs []admitv1.MutatingWebhook) string {
    		nsMatchedLabels := make([]string, 0)
    		podMatchedLabels := make([]string, 0)
    		extractMatchLabels := func(selector *metav1.LabelSelector) []string {
    			if selector == nil {
    				return nil
    			}
    			labels := make([]string, 0)
    			for _, me := range selector.MatchExpressions {
    				if me.Operator != metav1.LabelSelectorOpIn {
    					continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. pkg/kube/namespace/filter.go

    		return "", false
    	}
    	if _, ok := object.(*corev1.Namespace); ok {
    		return object.GetName(), true
    	}
    	return object.GetNamespace(), true
    }
    
    func LabelSelectorAsSelector(ps *meshapi.LabelSelector) (labels.Selector, error) {
    	if ps == nil {
    		return labels.Nothing(), nil
    	}
    	if len(ps.MatchLabels)+len(ps.MatchExpressions) == 0 {
    		return labels.Everything(), nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/kube/templates/deployment.yaml

    {{- end }}
        spec:
    {{- if $.Ambient }}
          topologySpreadConstraints:
          - topologyKey: "kubernetes.io/hostname"
            whenUnsatisfiable: "ScheduleAnyway"
            maxSkew: 1
            labelSelector:
              matchLabels:
                app: {{ $.Service }}
    {{- end }}
    {{- if $.ServiceAccount }}
          serviceAccountName: {{ $.Service }}
    {{- end }}
    {{- if $.DisableAutomountSAToken }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. cluster/addons/dns/kube-dns/kube-dns.yaml.in

            fsGroup: 65534
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
                  topologyKey: kubernetes.io/hostname
          tolerations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cluster/addons/dns/kube-dns/kube-dns.yaml.sed

            fsGroup: 65534
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
                  topologyKey: kubernetes.io/hostname
          tolerations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. cluster/addons/dns/kube-dns/kube-dns.yaml.base

            fsGroup: 65534
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
                  topologyKey: kubernetes.io/hostname
          tolerations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. pkg/controller/nodeipam/ipam/cidr_allocator.go

    		var err error
    		nodeList, err = kubeClient.CoreV1().Nodes().List(ctx, metav1.ListOptions{
    			FieldSelector: fields.Everything().String(),
    			LabelSelector: labels.Everything().String(),
    		})
    		if err != nil {
    			logger.Error(err, "Failed to list all nodes")
    			return false, nil
    		}
    		return true, nil
    	}); pollErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top