- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 117 for containerStatuses (0.18 sec)
-
pkg/apis/core/v1/zz_generated.defaults.go
if a.Resources != nil { SetDefaults_ResourceList(&a.Resources.Limits) SetDefaults_ResourceList(&a.Resources.Requests) } } for i := range in.Status.ContainerStatuses { a := &in.Status.ContainerStatuses[i] SetDefaults_ResourceList(&a.AllocatedResources) if a.Resources != nil { SetDefaults_ResourceList(&a.Resources.Limits) SetDefaults_ResourceList(&a.Resources.Requests) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 14:49:26 UTC 2023 - 37.8K bytes - Viewed (0) -
pkg/kubelet/pleg/evented.go
var sandboxId string for _, sandbox := range podStatus.SandboxStatuses { sandboxId = sandbox.Id // pod must contain only one sandbox break } for _, containerStatus := range podStatus.ContainerStatuses { if containerStatus.ID.ID == sandboxId { if containerStatus.State == kubecontainer.ContainerStateRunning { return containerStatus.State } } } return kubecontainer.ContainerStateExited
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 10:46:06 UTC 2024 - 16.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go
randTime(&pod.Status.StartTime.Time, r) for i := range pod.Status.Conditions { randTime(&pod.Status.Conditions[i].LastTransitionTime.Time, r) } for i := range pod.Status.ContainerStatuses { containerStatus := &pod.Status.ContainerStatuses[i] state := &containerStatus.State if state.Running != nil { randTime(&state.Running.StartedAt.Time, r) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 15.7K bytes - Viewed (0) -
pkg/kubelet/runonce.go
if err != nil { return nil, fmt.Errorf("unable to get status for pod %q: %v", format.Pod(pod), err) } var containerNames []string for _, cs := range status.ContainerStatuses { if cs.State != kubecontainer.ContainerStateRunning && cs.ExitCode != 0 { containerNames = append(containerNames, cs.Name) } } return containerNames, nil
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/runonce_test.go
// because runonce is never used in kubernetes now, we should deprioritize the cleanup work. // 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 {
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/cm/cpumanager/cpu_manager.go
} } return success, failure } func findContainerIDByName(status *v1.PodStatus, name string) (string, error) { allStatuses := status.InitContainerStatuses allStatuses = append(allStatuses, status.ContainerStatuses...) for _, container := range allStatuses { if container.Name == name && container.ContainerID != "" { cid := &kubecontainer.ContainerID{} err := cid.ParseString(container.ContainerID) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 19.9K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
// ID of the pod. ID types.UID // Name of the pod. Name string // Namespace of the pod. Namespace string // All IPs assigned to this pod IPs []string // Status of containers in the pod. ContainerStatuses []*Status // Status of the pod sandbox. // Only for kuberuntime now, other runtime may keep it nil. SandboxStatuses []*runtimeapi.PodSandboxStatus // Timestamp at which container and pod statuses were recorded
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/kube/util.go
if !containerStatus.Ready { return fmt.Errorf("init container not ready: '%s'", containerStatus.Name) } } for _, containerStatus := range pod.Status.ContainerStatuses { if !containerStatus.Ready { return fmt.Errorf("container not ready: '%s'", containerStatus.Name) } } if len(pod.Status.Conditions) > 0 { for _, condition := range pod.Status.Conditions {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
pkg/controller/job/backoff_utils.go
// This should not happen in clusters with Kubelet and PodGC running. return p.CreationTimestamp.Time } func getFinishTimeFromContainers(p *v1.Pod) *time.Time { finishTime := latestFinishTime(nil, p.Status.ContainerStatuses, nil) if utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) { // We need to check InitContainerStatuses here also, // because with the sidecar (restartable init) containers,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 8.3K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml
status: "True" type: ContainersReady - lastProbeTime: null lastTransitionTime: "2021-08-20T14:35:31Z" status: "True" type: PodScheduled containerStatuses: - containerID: containerd://f21ec303caca266fa4b81ebe6c210b5aa2b8ea6a262d8038db2c4f57db127187 image: image-name:tag-name imageID: imageid@sha256:8e2a7eaa7e6b1ede58d6361d0058a391260a46f0290b7f0368b709494e9e36bf
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 04 16:26:30 UTC 2021 - 18.3K bytes - Viewed (0)