Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for colgroup (0.17 sec)

  1. JavadocStyleGuide.md

    ### 1.1.2 HTML
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/node_container_manager_linux.go

    		klog.ErrorS(err, "Failed to create cgroup", "cgroupName", cm.cgroupRoot)
    		return err
    	}
    	return nil
    }
    
    // enforceNodeAllocatableCgroups enforce Node Allocatable Cgroup settings.
    func (cm *containerManagerImpl) enforceNodeAllocatableCgroups() error {
    	nc := cm.NodeConfig.NodeAllocatableConfig
    
    	// We need to update limits on node allocatable cgroup no matter what because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/podcgroupns.go

    		log.Debugf("netns: %d already processed. skipping", inode)
    		return nil, nil
    	}
    
    	cgroup, err := proc.Open(path.Join(entry.Name(), "cgroup"))
    	if err != nil {
    		return nil, nil
    	}
    	defer cgroup.Close()
    
    	var cgroupData bytes.Buffer
    	_, err = io.Copy(&cgroupData, cgroup)
    	if err != nil {
    		return nil, nil
    	}
    
    	uid, _, err := GetPodUIDAndContainerID(cgroupData)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. pkg/api/persistentvolumeclaim/util_test.go

    func TestDataSourceFilter(t *testing.T) {
    	ns := "ns1"
    	volumeDataSource := makeDataSource(coreGroup, pvcKind, "my-vol")
    	volumeDataSourceRef := makeDataSourceRef(coreGroup, pvcKind, "my-vol", nil)
    	xnsVolumeDataSourceRef := makeDataSourceRef(coreGroup, pvcKind, "my-vol", &ns)
    
    	var tests = map[string]struct {
    		spec       core.PersistentVolumeClaimSpec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            group = ciGroup
        }
    
        register("quickFeedbackCrossVersionTest") {
            description = "Run cross-version tests against a limited set of versions"
            group = ciGroup
        }
    
        register("allVersionsCrossVersionTest") {
            description = "Run cross-version tests against all released versions (latest patch release of each)"
            group = ciGroup
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/qos_container_manager_linux.go

    	"k8s.io/kubernetes/pkg/api/v1/resource"
    	v1qos "k8s.io/kubernetes/pkg/apis/core/v1/helper/qos"
    	kubefeatures "k8s.io/kubernetes/pkg/features"
    )
    
    const (
    	// how often the qos cgroup manager will perform periodic update
    	// of the qos level cgroup resource constraints
    	periodicQOSCgroupUpdateInterval = 1 * time.Minute
    )
    
    type QOSContainerManager interface {
    	Start(func() v1.ResourceList, ActivePodsFunc) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top