- Sort Score
- Result 10 results
- Languages All
Results 91 - 98 of 98 for labelSelectors (0.25 sec)
-
staging/src/k8s.io/api/autoscaling/v2/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,2,name=selector"` } // MetricTarget defines the target value, average value, or average utilization of a specific metric type MetricTarget struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 28.5K bytes - Viewed (0) -
pkg/scheduler/framework/types_test.go
}, want: sets.New(metav1.NamespacePublic, metav1.NamespaceSystem), }, { name: "podAffinityTerm_namespace_selector_not_nil", term: &v1.PodAffinityTerm{ NamespaceSelector: &metav1.LabelSelector{}, }, want: sets.Set[string]{}, }, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { got := getNamespacesFromPodAffinityTerm(&v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1/types.go
// not accessible from any node in the cluster. If empty, the // storage is accessible from all nodes. This field is // immutable. // // +optional NodeTopology *metav1.LabelSelector `json:"nodeTopology,omitempty" protobuf:"bytes,2,opt,name=nodeTopology"` // storageClassName represents the name of the StorageClass that the reported capacity applies to.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 32K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/generated.proto
// Normally, the system sets this field for you. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors // +optional optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4; // manualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 29.1K bytes - Viewed (0) -
pkg/scheduler/framework/types.go
reasonMsg += fmt.Sprintf(" %v", postFilterMsg) } return reasonMsg } func newAffinityTerm(pod *v1.Pod, term *v1.PodAffinityTerm) (*AffinityTerm, error) { selector, err := metav1.LabelSelectorAsSelector(term.LabelSelector) if err != nil { return nil, err } namespaces := getNamespacesFromPodAffinityTerm(pod, term) nsSelector, err := metav1.LabelSelectorAsSelector(term.NamespaceSelector) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
Name: name, Namespace: metav1.NamespaceDefault, ResourceVersion: "18", }, Spec: apps.ReplicaSetSpec{ Replicas: pointer.Int32(int32(replicas)), Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"foo": "bar"}}, Template: v1.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ "name": "foo", "type": "production", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
pkg/apis/batch/types.go
// +optional // FailedPodsLimit *int32 // A label query over pods that should match the pod count. // Normally, the system sets this field for you. // +optional Selector *metav1.LabelSelector // manualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing. // When false or unset, the system pick labels unique to this job
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 12:01:28 UTC 2024 - 33K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1/types.go
// Normally, the system sets this field for you. // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors // +optional Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // manualSelector controls generation of pod labels and pod selectors. // Leave `manualSelector` unset unless you are certain what you are doing.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 40.6K bytes - Viewed (0)