Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for containerPath (0.31 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    					ContainerPath: "/container_dir1/file1",
    					HostPath:      "host_dir1/file1",
    					ReadOnly:      true,
    				})
    
    			case "dev2":
    				resp.Devices = append(resp.Devices, &pluginapi.DeviceSpec{
    					ContainerPath: "/dev/ccc",
    					HostPath:      "/dev/ccc",
    					Permissions:   "mrw",
    				})
    
    				resp.Mounts = append(resp.Mounts, &pluginapi.Mount{
    					ContainerPath: "/container_dir1/file2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    				Devices: []kubecontainer.DeviceInfo{
    					{PathOnHost: "/dev/r1", PathInContainer: "/dev/r1", Permissions: "mrw"},
    				},
    				Mounts: []kubecontainer.Mount{
    					{Name: "/home/lib1", HostPath: "/home/lib1", ContainerPath: "/home/lib1", ReadOnly: true},
    				},
    				Envs: []kubecontainer.EnvVar{
    					{Name: "ENV1", Value: "VALUE1"},
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	for idx := range opts.Mounts {
    		v := opts.Mounts[idx]
    		selinuxRelabel := v.SELinuxRelabel && selinux.GetEnabled()
    		mount := &runtimeapi.Mount{
    			HostPath:          v.HostPath,
    			ContainerPath:     v.ContainerPath,
    			Readonly:          v.ReadOnly,
    			SelinuxRelabel:    selinuxRelabel,
    			Propagation:       v.Propagation,
    			RecursiveReadOnly: v.RecursiveReadOnly,
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_pods.go

    		}
    
    		containerPath := mount.MountPath
    		// IsAbs returns false for UNC path/SMB shares/named pipes in Windows. So check for those specifically and skip MakeAbsolutePath
    		if !volumeutil.IsWindowsUNCPath(runtime.GOOS, containerPath) && !utilfs.IsAbs(containerPath) {
    			containerPath = volumeutil.MakeAbsolutePath(runtime.GOOS, containerPath)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  5. pkg/kubelet/container/runtime.go

    	// Name of the volume mount.
    	// TODO(yifan): Remove this field, as this is not representing the unique name of the mount,
    	// but the volume name only.
    	Name string
    	// Path of the mount within the container.
    	ContainerPath string
    	// Path of the mount on the host.
    	HostPath string
    	// Whether the mount is read-only.
    	ReadOnly bool
    	// Whether the mount is recursive read-only.
    	// Must not be true if ReadOnly is false.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       containers 'containerPath1', 'containerPath2'
                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpathContainers.size() == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server_websocket_test.go

    					n, err := stream.Read(fromClient)
    					assert.NoError(t, err, "reading client data")
    					assert.Equal(t, test.clientData, string(fromClient[0:n]), "client data")
    				}
    
    				if test.containerData != "" {
    					_, err := stream.Write([]byte(test.containerData))
    					assert.NoError(t, err, "writing container data")
    				}
    
    				return nil
    			}
    
    			var url string
    			if test.uid {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/helper.go

    		}
    		if cstat.Cpu != nil {
    			cpuStats.UsageCoreNanoSeconds = &cstat.Cpu.Usage.Total
    		}
    	}
    	if info.Spec.HasMemory && cstat.Memory != nil {
    		pageFaults := cstat.Memory.ContainerData.Pgfault
    		majorPageFaults := cstat.Memory.ContainerData.Pgmajfault
    		memoryStats = &statsapi.MemoryStats{
    			Time:            metav1.NewTime(cstat.Timestamp),
    			UsageBytes:      &cstat.Memory.Usage,
    			WorkingSetBytes: &cstat.Memory.WorkingSet,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 23:40:02 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  9. pkg/kubelet/server/server_test.go

    					assert.NoError(t, err, "reading client data")
    					assert.Equal(t, test.clientData, string(fromClient[0:n]), "client data")
    				}
    
    				if test.containerData != "" {
    					_, err := stream.Write([]byte(test.containerData))
    					assert.NoError(t, err, "writing container data")
    				}
    
    				return nil
    			}
    
    			var url string
    			if test.uid {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider_test.go

    	assert.Equal(cs.Memory.WorkingSet, *actual.Memory.WorkingSetBytes)
    	assert.Equal(cs.Memory.RSS, *actual.Memory.RSSBytes)
    	assert.Equal(cs.Memory.ContainerData.Pgfault, *actual.Memory.PageFaults)
    	assert.Equal(cs.Memory.ContainerData.Pgmajfault, *actual.Memory.MajorPageFaults)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top