- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 186 for pidStatus (0.39 sec)
-
pkg/kubelet/eviction/eviction_manager_test.go
wantPodStatus v1.PodStatus }{ "eviction due to memory pressure; no image fs": { wantPodStatus: v1.PodStatus{ Phase: v1.PodFailed, Reason: "Evicted", Message: "The node was low on resource: memory. Threshold quantity: 2Gi, available: 1500Mi. ", }, }, "eviction due to memory pressure; image fs": { wantPodStatus: v1.PodStatus{ Phase: v1.PodFailed,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers.go
} return signalToRankFunc } // PodIsEvicted returns true if the reported pod status is due to an eviction. func PodIsEvicted(podStatus v1.PodStatus) bool { return podStatus.Phase == v1.PodFailed && podStatus.Reason == Reason } // buildSignalToNodeReclaimFuncs returns reclaim functions associated with resources.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager_test.go
return rt.err } type mockPodStatusProvider struct { podStatus v1.PodStatus found bool } func (psp mockPodStatusProvider) GetPodStatus(uid types.UID) (v1.PodStatus, bool) { return psp.podStatus, psp.found } func getPod(podUID string, containerName string, requirements *v1.ResourceRequirements) *v1.Pod { return &v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 13:01:40 UTC 2023 - 70.2K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption.go
klog.V(3).InfoS("Preempting pod to free up resources", "pod", klog.KObj(pod), "podUID", pod.UID, "insufficientResources", insufficientResources) err := c.killPodFunc(pod, true, nil, func(status *v1.PodStatus) { status.Phase = v1.PodFailed status.Reason = events.PreemptContainer status.Message = message if utilfeature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 16:53:19 UTC 2023 - 11.5K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/topology_manager_test.go
pod := &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: v1.ResourceRequirements{}, }, }, }, Status: v1.PodStatus{ QOSClass: tc.qosClass, }, } podAttr := lifecycle.PodAdmitAttributes{ Pod: pod, } // Container scope Admit ctnActual := ctnScopeManager.Admit(&podAttr)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 13:04:32 UTC 2023 - 13.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/recycle_test.go
Name: "vol1", VolumeSource: v1.VolumeSource{ PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ ClaimName: "runningClaim", }, }, }, }, }, Status: v1.PodStatus{ Phase: v1.PodRunning, }, } pendingPod := runningPod.DeepCopy() pendingPod.Name = "pendingPod" pendingPod.Status.Phase = v1.PodPending
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 14.2K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
badGID := int64(-1) containerTypes := map[string]func(podStatus *core.PodStatus, containerStatus []core.ContainerStatus){ "container": func(podStatus *core.PodStatus, containerStatus []core.ContainerStatus) { podStatus.ContainerStatuses = containerStatus }, "initContainer": func(podStatus *core.PodStatus, containerStatus []core.ContainerStatus) { podStatus.InitContainerStatuses = containerStatus },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go
return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: defaultPodName, Namespace: defaultNS, UID: defaultUID, }, Spec: v1.PodSpec{ NodeName: defaultNodeName, }, Status: v1.PodStatus{ Phase: v1.PodPending, }, } } func unscheduled(pod *v1.Pod) *v1.Pod { pod.Spec.NodeName = "" return pod } func withPVC(pvcName string, pod *v1.Pod) *v1.Pod { volume := v1.Volume{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 15.5K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
pod := newPod("matching-owned-succeeded-pod-0-", "node-0", simpleDaemonSetLabel, ds) pod.Status = v1.PodStatus{Phase: v1.PodSucceeded} return pod }(), func() *v1.Pod { pod := newPod("matching-owned-failed-pod-1-", "node-1", simpleDaemonSetLabel, ds) pod.Status = v1.PodStatus{Phase: v1.PodFailed} return pod }(), }, ignoredPods: []*v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption_test.go
f.killedPods = []*v1.Pod{} } func (f *fakePodKiller) getKilledPods() []*v1.Pod { return f.killedPods } func (f *fakePodKiller) killPodNow(pod *v1.Pod, evict bool, gracePeriodOverride *int64, fn func(status *v1.PodStatus)) error { if f.errDuringPodKilling { f.killedPods = []*v1.Pod{} return fmt.Errorf("problem killing pod %v", pod) } f.killedPods = append(f.killedPods, pod) return nil } type fakePodProvider struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 10:04:08 UTC 2022 - 19.2K bytes - Viewed (0)