Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 335 for containerId (0.34 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.yaml

        type: typeValue
      containerStatuses:
      - allocatedResources:
          allocatedResourcesKey: "0"
        containerID: containerIDValue
        image: imageValue
        imageID: imageIDValue
        lastState:
          running:
            startedAt: "2001-01-01T01:01:01Z"
          terminated:
            containerID: containerIDValue
            exitCode: 1
            finishedAt: "2006-01-01T01:01:01Z"
            message: messageValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/cpu_manager.go

    				err = m.updateContainerCPUSet(ctx, containerID, cset)
    				if err != nil {
    					klog.ErrorS(err, "ReconcileState: failed to update container", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID, "cpuSet", cset)
    					failure = append(failure, reconciledContainer{pod.Name, container.Name, containerID})
    					continue
    				}
    				m.lastUpdateState.SetCPUSet(string(pod.UID), container.Name, cset)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  3. pkg/kubelet/container/runtime.go

    // ContainerReasonStatusUnknown indicates a container the status of the container cannot be determined.
    const ContainerReasonStatusUnknown string = "ContainerStatusUnknown"
    
    // Container provides the runtime information for a container, such as ID, hash,
    // state of the container.
    type Container struct {
    	// The ID of the container, used by the container runtime to identify
    	// a container.
    	ID ContainerID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. pkg/kubelet/prober/prober.go

    }
    
    // probe probes the container.
    func (pb *prober) probe(ctx context.Context, probeType probeType, pod *v1.Pod, status v1.PodStatus, container v1.Container, containerID kubecontainer.ContainerID) (results.Result, error) {
    	var probeSpec *v1.Probe
    	switch probeType {
    	case readiness:
    		probeSpec = container.ReadinessProbe
    	case liveness:
    		probeSpec = container.LivenessProbe
    	case startup:
    		probeSpec = container.StartupProbe
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:50:13 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/instrumented_services.go

    }
    
    func (in instrumentedRuntimeService) StartContainer(ctx context.Context, containerID string) error {
    	const operation = "start_container"
    	defer recordOperation(operation, time.Now())
    
    	err := in.service.StartContainer(ctx, containerID)
    	recordError(operation, err)
    	return err
    }
    
    func (in instrumentedRuntimeService) StopContainer(ctx context.Context, containerID string, timeout int64) error {
    	const operation = "stop_container"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. pkg/kubelet/prober/prober_manager_test.go

    	m.readinessManager.Set(kubecontainer.ParseContainerID(probedReady.ContainerID), results.Success, &v1.Pod{})
    	m.readinessManager.Set(kubecontainer.ParseContainerID(probedUnready.ContainerID), results.Failure, &v1.Pod{})
    	m.startupManager.Set(kubecontainer.ParseContainerID(startedNoReadiness.ContainerID), results.Success, &v1.Pod{})
    	m.readinessManager.Set(kubecontainer.ParseContainerID(terminated.ContainerID), results.Success, &v1.Pod{})
    
    	m.UpdatePodStatus(&v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		fakeOS.Removes)
    	// Verify container is removed
    	assert.Contains(t, fakeRuntime.Called, "RemoveContainer")
    	containers, err := fakeRuntime.ListContainers(ctx, &runtimeapi.ContainerFilter{Id: containerID})
    	assert.NoError(t, err)
    	assert.Empty(t, containers)
    }
    
    // TestKillContainer tests killing the container in a Pod.
    func TestKillContainer(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. pkg/kubelet/status/status_manager.go

    // state, which is the set of containers that have attempted to start at least once. If all containers
    // are Waiting, the first container is always returned.
    func initializedContainers(containers []v1.ContainerStatus) []v1.ContainerStatus {
    	for i := len(containers) - 1; i >= 0; i-- {
    		if containers[i].State.Waiting == nil || containers[i].LastTerminationState.Terminated != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  9. pkg/kubelet/prober/prober_test.go

    			Stdout: test.stdout,
    			Err:    test.err,
    		}
    		prober := &prober{
    			runner: runner,
    		}
    
    		container := v1.Container{}
    		containerID := kubecontainer.ContainerID{Type: "docker", ID: "containerID"}
    		cmd := []string{"/foo", "bar"}
    		exec := prober.newExecInContainer(ctx, container, containerID, cmd, 0)
    
    		var dataBuffer bytes.Buffer
    		writer := ioutils.LimitWriter(&dataBuffer, int64(limit))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. pkg/kubelet/pod_container_deletor.go

    		}
    		return nil
    	}(filterContainerID, podStatus)
    
    	if filterContainerID != "" && matchedContainer == nil {
    		klog.InfoS("Container not found in pod's containers", "containerID", filterContainerID)
    		return containerStatusbyCreatedList{}
    	}
    
    	// Find the exited containers whose name matches the name of the container with id being filterContainerId
    	var candidates containerStatusbyCreatedList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top