Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 134 for LabelSelector (0.24 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/api/policy/v1/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(metav1.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: Thu Nov 10 22:32:27 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  4. pkg/registry/policy/poddisruptionbudget/storage/storage_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: metav1.NamespaceDefault,
    			Labels:    map[string]string{"a": "b"},
    		},
    		Spec: policy.PodDisruptionBudgetSpec{
    			Selector:     &metav1.LabelSelector{MatchLabels: map[string]string{"a": "b"}},
    			MinAvailable: &minAvailable,
    		},
    		Status: policy.PodDisruptionBudgetStatus{},
    	}
    }
    
    func TestCreate(t *testing.T) {
    	storage, _, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. pkg/registry/core/componentstatus/rest_test.go

    	}
    }
    
    func TestList_WithLabelSelectors(t *testing.T) {
    	r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
    	opts := metainternalversion.ListOptions{
    		LabelSelector: labels.SelectorFromSet(map[string]string{
    			"testLabel": "testValue",
    		}),
    	}
    	got, err := r.List(genericapirequest.NewContext(), &opts)
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. istioctl/pkg/util/handlers/handlers.go

    	if err != nil {
    		return []string{}, "", err
    	}
    	if podName != "" {
    		return []string{podName}, namespace, err
    	}
    
    	options := metav1.ListOptions{LabelSelector: selector}
    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return []string{}, "", err
    	}
    	pods := []string{}
    	for i := range podList.Items {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. 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)
  9. pkg/apis/policy/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)
  10. 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)
Back to top