- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 116 for LabelSelector (0.26 sec)
-
pkg/registry/storage/csistoragecapacity/strategy_test.go
ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: metav1.NamespaceDefault, ResourceVersion: "1", }, StorageClassName: "bar", NodeTopology: &metav1.LabelSelector{ MatchExpressions: []metav1.LabelSelectorRequirement{ { Key: "node", Operator: metav1.LabelSelectorOpIn, Values: []string{ "node1", }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/controller/ttlafterfinished/ttlafterfinished_controller_test.go
j := &batchv1.Job{ TypeMeta: metav1.TypeMeta{Kind: "Job"}, ObjectMeta: metav1.ObjectMeta{ Name: "foobar", Namespace: metav1.NamespaceDefault, }, Spec: batchv1.JobSpec{ Selector: &metav1.LabelSelector{ MatchLabels: map[string]string{"foo": "bar"}, }, Template: corev1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ "foo": "bar", }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 18 18:46:26 UTC 2023 - 5.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)