- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for ContainerStateRunning (0.78 sec)
-
pkg/kubelet/util/pod_startup_latency_tracker_test.go
}) } func buildRunningPod() *corev1.Pod { return buildPodWithStatus([]corev1.ContainerStatus{ {State: corev1.ContainerState{Running: &corev1.ContainerStateRunning{StartedAt: metav1.NewTime(frozenTime)}}}, }) } func buildPodWithStatus(cs []corev1.ContainerStatus) *corev1.Pod { return &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 06:09:49 UTC 2023 - 13.7K bytes - Viewed (0) -
pkg/kubelet/status/generate_test.go
{ spec: oneRestartableInitContainer, containerStatuses: []v1.ContainerStatus{ getNotStartedStatus("1234"), { Name: "regular", State: v1.ContainerState{ Running: &v1.ContainerStateRunning{}, }, }, }, podPhase: v1.PodRunning, expected: v1.PodCondition{ Status: v1.ConditionTrue, }, }, } for _, test := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 18.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} func containerSucceeded(c *v1.Container, podStatus *kubecontainer.PodStatus) bool { cStatus := podStatus.FindContainerStatusByName(c.Name) if cStatus == nil || cStatus.State == kubecontainer.ContainerStateRunning { return false } return cStatus.ExitCode == 0 } func isInPlacePodVerticalScalingAllowed(pod *v1.Pod) bool { if !utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
}, }, PodIPs: []api.PodIP{{IP: "10.1.2.3"}}, Phase: api.PodPending, ContainerStatuses: []api.ContainerStatus{ {Name: "ctr1", State: api.ContainerState{Running: &api.ContainerStateRunning{}}, RestartCount: 10, Ready: true}, {Name: "ctr2", State: api.ContainerState{Waiting: &api.ContainerStateWaiting{}}, RestartCount: 0}, }, NominatedNodeName: "nominated-node", }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
} if err := s.AddGeneratedConversionFunc((*v1.ContainerStateRunning)(nil), (*core.ContainerStateRunning)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_ContainerStateRunning_To_core_ContainerStateRunning(a.(*v1.ContainerStateRunning), b.(*core.ContainerStateRunning), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
pkg/kubelet/container/helpers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 01:55:46 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
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/apis/core/zz_generated.deepcopy.go
func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) { *out = *in in.StartedAt.DeepCopyInto(&out.StartedAt) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning { if in == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) { *out = *in in.StartedAt.DeepCopyInto(&out.StartedAt) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning { if in == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
ContainerID: cid, } if oldStatus != nil { status.VolumeMounts = oldStatus.VolumeMounts // immutable } switch { case cs.State == kubecontainer.ContainerStateRunning: status.State.Running = &v1.ContainerStateRunning{StartedAt: metav1.NewTime(cs.StartedAt)} case cs.State == kubecontainer.ContainerStateCreated: // containers that are created but not running are "waiting to be running"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0)