Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 122 for podAdd (0.2 sec)

  1. pkg/kubelet/cm/cpumanager/policy_static_test.go

    func (spt staticPolicyTest) PseudoClone() staticPolicyTest {
    	return staticPolicyTest{
    		description:     spt.description,
    		topo:            spt.topo, // accessed in read-only
    		numReservedCPUs: spt.numReservedCPUs,
    		podUID:          spt.podUID,
    		options:         spt.options, // accessed in read-only
    		containerName:   spt.containerName,
    		stAssignments:   spt.stAssignments.Clone(),
    		stDefaultCPUSet: spt.stDefaultCPUSet.Clone(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. pkg/volume/fc/fc_test.go

    	mounter, err := plug.(*fcPlugin).newMounterInternal(spec, types.UID("poduid"), fakeManager, fakeMounter, fakeExec)
    	if err != nil {
    		t.Errorf("Failed to make a new Mounter: %v", err)
    	}
    	if mounter == nil {
    		t.Errorf("Got a nil Mounter: %v", err)
    	}
    
    	path := mounter.GetPath()
    	expectedPath := filepath.Join(tmpDir, "pods/poduid/volumes/kubernetes.io~fc/vol1")
    	if path != expectedPath {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/labels.go

    	Labels       map[string]string
    	PodName      string
    	PodNamespace string
    	PodUID       kubetypes.UID
    }
    
    type annotatedPodSandboxInfo struct {
    	// Annotations from v1.Pod
    	Annotations map[string]string
    }
    
    type labeledContainerInfo struct {
    	ContainerName string
    	PodName       string
    	PodNamespace  string
    	PodUID        kubetypes.UID
    }
    
    type annotatedContainerInfo struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. pkg/volume/util/volumepathhandler/volume_path_handler.go

    	// Example of global map path:
    	//   globalMapPath/linkName: plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{podUid}
    	//   linkName: {podUid}
    	//
    	// Example of pod device map path:
    	//   podDeviceMapPath/linkName: pods/{podUid}/{DefaultKubeletVolumeDevicesDirName}/{escapeQualifiedPluginName}/{volumeName}
    	//   linkName: {volumeName}
    	if len(devicePath) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  5. pkg/volume/plugins.go

    	// - name: The volume name, as per the v1.Volume spec.
    	// - podUID: The UID of the enclosing pod
    	NewBlockVolumeUnmapper(name string, podUID types.UID) (BlockVolumeUnmapper, error)
    	// ConstructBlockVolumeSpec constructs a volume spec based on the given
    	// podUID, volume name and a pod device map path.
    	// The spec may have incomplete information due to limited information
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. pkg/volume/git_repo/git_repo_test.go

    	if err != nil {
    		allErrs = append(allErrs,
    			fmt.Errorf("can't find the plugin by name"))
    		return allErrs
    	}
    	pod := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}}
    	mounter, err := plug.NewMounter(volume.NewSpecFromVolume(scenario.vol), pod, volume.VolumeOptions{})
    
    	if err != nil {
    		allErrs = append(allErrs,
    			fmt.Errorf("failed to make a new Mounter: %w", err))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/helpers.go

    func BuildContainerLogsDirectory(podLogsDir, podNamespace, podName string, podUID types.UID, containerName string) string {
    	return filepath.Join(BuildPodLogsDirectory(podLogsDir, podNamespace, podName, podUID), containerName)
    }
    
    // BuildPodLogsDirectory builds absolute log directory path for a pod sandbox.
    func BuildPodLogsDirectory(podLogsDir, podNamespace, podName string, podUID types.UID) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	verifyPodExistsInVolumeAsw(t, podName, generatedVolumeName, "fake/device/path" /* expectedDevicePath */, asw)
    }
    
    func getTestPod(podName, podUID, outerVolumeName, pdName string) *v1.Pod {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: podName,
    			UID:  types.UID(podUID),
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: outerVolumeName,
    					VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. pkg/serviceaccount/claims.go

    		Namespace:    private.Kubernetes.Namespace,
    		Name:         private.Kubernetes.Svcacct.Name,
    		UID:          private.Kubernetes.Svcacct.UID,
    		PodName:      podName,
    		PodUID:       podUID,
    		NodeName:     nodeName,
    		NodeUID:      nodeUID,
    		CredentialID: apiserverserviceaccount.CredentialIDForJTI(jti),
    	}, nil
    }
    
    func (v *validator) NewPrivateClaims() interface{} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor.go

    	// escaped, in their pod mount path, i.e.
    	// /var/lib/kubelet/pods/{podUID}/volumes/{escapeQualifiedPluginName}/{outerVolumeSpecName}/
    	PluginName string
    
    	// PodUID is the UID of the pod mounted to. It is also the string used by
    	// plugins in their pod mount path, i.e.
    	// /var/lib/kubelet/pods/{podUID}/volumes/{escapeQualifiedPluginName}/{outerVolumeSpecName}/
    	PodUID types.UID
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top