- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for preemptionPolicy (0.19 sec)
-
staging/src/k8s.io/api/scheduling/v1/generated.pb.go
} func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.PreemptionPolicy != nil { i -= len(*m.PreemptionPolicy) copy(dAtA[i:], *m.PreemptionPolicy) i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PreemptionPolicy))) i-- dAtA[i] = 0x2a } i -= len(m.Description) copy(dAtA[i:], m.Description)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 18.8K bytes - Viewed (0) -
plugin/pkg/admission/priority/admission_test.go
} else if test.pod.Spec.PreemptionPolicy != nil && test.expectPreemptionPolicy != nil && *test.pod.Spec.PreemptionPolicy != *test.expectPreemptionPolicy { t.Errorf("Test %q: expected preemption policy is %s, but got %s.", test.name, *test.expectPreemptionPolicy, *test.pod.Spec.PreemptionPolicy) } } if err == nil && test.expectError {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 03 18:43:48 UTC 2022 - 21.2K bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1alpha1/generated.pb.go
} func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.PreemptionPolicy != nil { i -= len(*m.PreemptionPolicy) copy(dAtA[i:], *m.PreemptionPolicy) i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PreemptionPolicy))) i-- dAtA[i] = 0x2a } i -= len(m.Description) copy(dAtA[i:], m.Description)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 18.9K bytes - Viewed (0) -
staging/src/k8s.io/api/scheduling/v1beta1/generated.pb.go
} func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.PreemptionPolicy != nil { i -= len(*m.PreemptionPolicy) copy(dAtA[i:], *m.PreemptionPolicy) i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PreemptionPolicy))) i-- dAtA[i] = 0x2a } i -= len(m.Description) copy(dAtA[i:], m.Description)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 18.9K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go
EnableServiceLinks *bool `json:"enableServiceLinks,omitempty"` PreemptionPolicy *corev1.PreemptionPolicy `json:"preemptionPolicy,omitempty"` Overhead *corev1.ResourceList `json:"overhead,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:22:42 UTC 2022 - 23.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go
func (pl *DefaultPreemption) PodEligibleToPreemptOthers(pod *v1.Pod, nominatedNodeStatus *framework.Status) (bool, string) { if pod.Spec.PreemptionPolicy != nil && *pod.Spec.PreemptionPolicy == v1.PreemptNever { return false, "not eligible due to preemptionPolicy=Never." } nodeInfos := pl.fh.SnapshotSharedLister().NodeInfos() nomNodeName := pod.Status.NominatedNodeName if len(nomNodeName) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 25 19:36:04 UTC 2023 - 12.7K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
return p } // PreemptionPolicy sets the give preemption policy to the inner pod. func (p *PodWrapper) PreemptionPolicy(policy v1.PreemptionPolicy) *PodWrapper { p.Spec.PreemptionPolicy = &policy return p } // Overhead sets the give ResourceList to the inner pod
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml
name: kube-api-access-s8rz5 readOnly: true dnsPolicy: Default enableServiceLinks: true nodeName: mynode nodeSelector: kubernetes.io/os: linux preemptionPolicy: PreemptLowerPriority priority: 2000000000 priorityClassName: system-cluster-critical restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 65534
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 04 16:26:30 UTC 2021 - 18.3K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml
name: kube-api-access-s8rz5 readOnly: true dnsPolicy: Default enableServiceLinks: true nodeName: mynode nodeSelector: kubernetes.io/os: linux preemptionPolicy: PreemptLowerPriority priority: 2000000000 priorityClassName: system-cluster-critical restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 65534
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 04 16:26:30 UTC 2021 - 18.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml
nodeName: nodeNameValue nodeSelector: nodeSelectorKey: nodeSelectorValue os: name: nameValue overhead: overheadKey: "0" preemptionPolicy: preemptionPolicyValue priority: 25 priorityClassName: priorityClassNameValue readinessGates: - conditionType: conditionTypeValue resourceClaims: - name: nameValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 34.2K bytes - Viewed (0)