- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ContainerStateRunning (0.36 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstaterunning.go
// with apply. type ContainerStateRunningApplyConfiguration struct { StartedAt *v1.Time `json:"startedAt,omitempty"` } // ContainerStateRunningApplyConfiguration constructs an declarative configuration of the ContainerStateRunning type for use with // apply. func ContainerStateRunning() *ContainerStateRunningApplyConfiguration {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 1.6K bytes - Viewed (0) -
pkg/kubelet/pod_container_deletor_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 19 15:48:08 UTC 2020 - 5.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 23:10:00 UTC 2019 - 7.1K bytes - Viewed (0) -
pkg/kubelet/runonce.go
func (kl *Kubelet) isPodRunning(pod *v1.Pod, status *kubecontainer.PodStatus) bool { for _, c := range pod.Spec.Containers { cs := status.FindContainerStatusByName(c.Name) if cs == nil || cs.State != kubecontainer.ContainerStateRunning { klog.InfoS("Container not running", "pod", klog.KObj(pod), "containerName", c.Name) return false } } return true } // getFailedContainer returns failed container name for pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 5.9K bytes - Viewed (0) -
pkg/kubelet/prober/common_test.go
func getTestRunningStatusWithStarted(started bool) v1.PodStatus { containerStatus := v1.ContainerStatus{ Name: testContainerName, ContainerID: testContainerID.String(), } containerStatus.State.Running = &v1.ContainerStateRunning{StartedAt: metav1.Now()} containerStatus.Started = &started podStatus := v1.PodStatus{ Phase: v1.PodRunning, ContainerStatuses: []v1.ContainerStatus{containerStatus}, } return podStatus }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 16:57:26 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/api/testing/deep_copy_test.go
Type: api.PodReady, Status: api.ConditionTrue, }, }, ContainerStatuses: []api.ContainerStatus{ { Name: "etcd-container", State: api.ContainerState{ Running: &api.ContainerStateRunning{ StartedAt: parseTimeOrDie("2015-04-22T11:49:32Z"), }, }, Ready: true, RestartCount: 0, Image: "registry.k8s.io/etcd:2.0.9",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 31 14:16:53 UTC 2022 - 4.7K bytes - Viewed (0) -
pkg/kubelet/pleg/evented_test.go
ID: types.UID(id), SandboxStatuses: []*v1.PodSandboxStatus{ {Id: id}, }, ContainerStatuses: []*kubecontainer.Status{ {ID: kubecontainer.ContainerID{ID: id}, State: kubecontainer.ContainerStateRunning}, }, } pleg.updateRunningPodMetric(podStatuses[i]) pleg.cache.Set(podStatuses[i].ID, podStatuses[i], nil, time.Now()) } pleg.cache.UpdateTime(time.Now()) expectedMetric := `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 01 07:45:05 UTC 2023 - 6.4K bytes - Viewed (0) -
pkg/kubelet/runonce_test.go
// TODO(random-liu) Fix the test, make it meaningful. fakeRuntime.PodStatus = kubecontainer.PodStatus{ ContainerStatuses: []*kubecontainer.Status{ { Name: "bar", State: kubecontainer.ContainerStateRunning, }, }, } results, err := kb.runOnce(ctx, pods, time.Millisecond) if err != nil { t.Errorf("unexpected error: %v", err) } if results[0].Err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 06:59:54 UTC 2024 - 6.5K bytes - Viewed (0) -
pkg/kubelet/prober/scale_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 16:33:01 UTC 2023 - 8.2K bytes - Viewed (0)