Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 117 for CONTAINERID (0.17 sec)

  1. pkg/kubelet/kuberuntime/legacy_test.go

    	containerName := randStringBytes(70)
    	containerID := randStringBytes(80)
    	// The file name cannot exceed 255 characters. Since .log suffix is required, the prefix cannot exceed 251 characters.
    	expectedPath := filepath.Join(containerLogsDir, fmt.Sprintf("%s_%s-%s", podFullName, containerName, containerID)[:251]+".log")
    	as.Equal(expectedPath, logSymlink(containerLogsDir, podFullName, containerName, containerID))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 12:34:58 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodStatusResult.json

                "startedAt": "2005-01-01T01:01:01Z",
                "finishedAt": "2006-01-01T01:01:01Z",
                "containerID": "containerIDValue"
              }
            },
            "ready": true,
            "restartCount": 5,
            "image": "imageValue",
            "imageID": "imageIDValue",
            "containerID": "containerIDValue",
            "started": true,
            "allocatedResources": {
              "allocatedResourcesKey": "0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/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: Thu Apr 18 08:52:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/scope_test.go

    		}
    	}
    }
    
    func TestAddContainer(t *testing.T) {
    	testCases := []struct {
    		name        string
    		containerID string
    		podUID      types.UID
    	}{
    		{
    			name:        "Case1",
    			containerID: "nginx",
    			podUID:      "0aafa4c4-38e8-11e9-bcb1-a4bf01040474",
    		},
    		{
    			name:        "Case2",
    			containerID: "Busy_Box",
    			podUID:      "b3ee37fc-39a5-11e9-bcb1-a4bf01040474",
    		},
    	}
    	scope := scope{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 10 11:44:15 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/results/results_manager.go

    	Get(kubecontainer.ContainerID) (Result, bool)
    	// Set sets the cached result for the container with the given ID.
    	// The pod is only included to be sent with the update.
    	Set(kubecontainer.ContainerID, Result, *v1.Pod)
    	// Remove clears the cached result for the container with the given ID.
    	Remove(kubecontainer.ContainerID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 13 07:12:54 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/fake_topology_manager.go

    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    func (m *fakeManager) RemoveContainer(containerID string) error {
    	klog.InfoS("RemoveContainer", "containerID", containerID)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 18:02:07 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/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: Fri Dec 15 04:12:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. pkg/kubelet/lifecycle/handlers_test.go

    		}
    	}
    }
    
    type fakeContainerCommandRunner struct {
    	Cmd []string
    	ID  kubecontainer.ContainerID
    	Err error
    	Msg string
    }
    
    func (f *fakeContainerCommandRunner) RunInContainer(_ context.Context, id kubecontainer.ContainerID, cmd []string, timeout time.Duration) ([]byte, error) {
    	f.Cmd = cmd
    	f.ID = id
    	return []byte(f.Msg), f.Err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/topologymanager/scope.go

    	klog.InfoS("RemoveContainer", "containerID", containerID)
    	// Get the podUID and containerName associated with the containerID to be removed and remove it
    	podUIDString, containerName, err := s.podMap.GetContainerRef(containerID)
    	if err != nil {
    		return nil
    	}
    	s.podMap.RemoveByContainerID(containerID)
    
    	// In cases where a container has been restarted, it's possible that the same podUID and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 14:44:24 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/fake_cpu_manager.go

    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    	klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID)
    }
    
    func (m *fakeManager) RemoveContainer(containerID string) error {
    	klog.InfoS("RemoveContainer", "containerID", containerID)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top