Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for colgroup (0.23 sec)

  1. pkg/kubelet/cm/cgroup_manager_linux.go

    }
    
    // CgroupSubsystems holds information about the mounted cgroup subsystems
    type CgroupSubsystems struct {
    	// Cgroup subsystem mounts.
    	// e.g.: "/sys/fs/cgroup/cpu" -> ["cpu", "cpuacct"]
    	Mounts []libcontainercgroups.Mount
    
    	// Cgroup subsystem to their mount location.
    	// e.g.: "cpu" -> "/sys/fs/cgroup/cpu"
    	MountPoints map[string]string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt

        data class ForPlugin(
            val id: String,
            val implementationClass: String,
            override val extension: ExtensionSpec
        ) : PluginDependencySpecAccessor()
    
        data class ForGroup(
            val id: String,
            override val extension: ExtensionSpec
        ) : PluginDependencySpecAccessor()
    }
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider.go

    // the stats of the terminated containers removed and all containerInfos assembled by pod cgroup key.
    // the first return map is container cgroup name <-> ContainerInfo and
    // the second return map is pod cgroup key <-> ContainerInfo.
    // A ContainerInfo is considered to be of a terminated container if it has an
    // older CreationTime and zero CPU instantaneous and memory RSS usage.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/container_manager_linux.go

    	// Check if Cgroup-root actually exists on the node
    	if nodeConfig.CgroupsPerQOS {
    		// this does default to / when enabled, but this tests against regressions.
    		if nodeConfig.CgroupRoot == "" {
    			return nil, fmt.Errorf("invalid configuration: cgroups-per-qos was specified and cgroup-root was not specified. To enable the QoS cgroup hierarchy you need to specify a valid cgroup-root")
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/provider.go

    }
    
    // GetCgroupStats returns the stats of the cgroup with the cgroupName. Note that
    // this function doesn't generate filesystem stats.
    func (p *Provider) GetCgroupStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, *statsapi.NetworkStats, error) {
    	info, err := getCgroupInfo(p.cadvisor, cgroupName, updateStats)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to get cgroup stats for %q: %v", cgroupName, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 13:56:22 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    func TestPrepareForCreate(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    
    	ns := "ns1"
    	volumeDataSource := makeDataSource(coreGroup, pvcKind, "my-vol")
    	volumeDataSourceRef := makeDataSourceRef(coreGroup, pvcKind, "my-vol", nil)
    	xnsVolumeDataSourceRef := makeDataSourceRef(coreGroup, pvcKind, "my-vol", &ns)
    	snapshotDataSource := makeDataSource(snapGroup, snapKind, "my-snap")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		p := "/sys/fs/cgroup/memory/memory.memsw.limit_in_bytes"
    		if isCgroup2UnifiedMode() {
    			// memory.swap.max does not exist in the cgroup root, so we check /sys/fs/cgroup/<SELF>/memory.swap.max
    			_, unified, err := cgroups.ParseCgroupFileUnified("/proc/self/cgroup")
    			if err != nil {
    				klog.V(5).ErrorS(fmt.Errorf("failed to parse /proc/self/cgroup: %w", err), warn)
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. build-logic/uber-plugins/src/main/kotlin/gradlebuild.ci-lifecycle.gradle.kts

    tasks.configureCICrossVersionTestDistributionLifecycleTasks()
    
    val ciGroup = "CI Lifecycle"
    
    /**
     * Basic compile and check lifecycle tasks.
     */
    fun TaskContainer.registerEarlyFeedbackLifecycleTasks() {
        register("compileAllBuild") {
            description = "Initialize CI Pipeline by priming the cache before fanning out"
            group = ciGroup
            dependsOn("compileAllProduction")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 17:16:23 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns_test.go

    	}
    }
    
    // copied and modified from spire
    
    func TestGetContainerIDFromCGroups(t *testing.T) {
    	makeCGroups := func(groupPaths []string) []Cgroup {
    		var out []Cgroup
    		for _, groupPath := range groupPaths {
    			out = append(out, Cgroup{
    				GroupPath: groupPath,
    			})
    		}
    		return out
    	}
    
    	//nolint: lll
    	for _, tt := range []struct {
    		name              string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/helpers_linux.go

    // getCgroupSubsystemsV1 returns information about the mounted cgroup v1 subsystems
    func getCgroupSubsystemsV1() (*CgroupSubsystems, error) {
    	// get all cgroup mounts.
    	allCgroups, err := libcontainercgroups.GetCgroupMounts(true)
    	if err != nil {
    		return &CgroupSubsystems{}, err
    	}
    	if len(allCgroups) == 0 {
    		return &CgroupSubsystems{}, fmt.Errorf("failed to find cgroup mounts")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top