Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for colgroup (0.26 sec)

  1. pkg/kubelet/metrics/metrics.go

    	// CgroupManagerDuration is a Histogram that tracks the duration (in seconds) it takes for cgroup manager operations to complete.
    	// Broken down by method.
    	CgroupManagerDuration = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           CgroupManagerOperationsKey,
    			Help:           "Duration in seconds for cgroup manager operations. Broken down by method.",
    			Buckets:        metrics.DefBuckets,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			if !cmp.Equal(resources, tc.expected) {
    				t.Errorf("Test %s: expected resources %+v, but got %+v", tc.name, tc.expected, resources)
    			}
    		})
    	}
    	//TODO(vinaykul,InPlacePodVerticalScaling): Add unit tests for cgroup v1 & v2
    }
    
    func TestGenerateLinuxContainerResourcesWithSwap(t *testing.T) {
    	_, _, m, err := createTestRuntimeManager()
    	assert.NoError(t, err)
    	m.machineInfo.MemoryCapacity = 42949672960 // 40Gb == 40 * 1024^3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  3. pkg/features/kube_features.go

    	// owner: @marquiz
    	// kep: http://kep.k8s.io/4033
    	// alpha: v1.28
    	//
    	// Enable detection of the kubelet cgroup driver configuration option from
    	// the CRI.  The CRI runtime also needs to support this feature in which
    	// case the kubelet will ignore the cgroupDriver (--cgroup-driver)
    	// configuration option. If runtime doesn't support it, the kubelet will
    	// fallback to using it's cgroupDriver option.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.22.md

     - Kubeadm: remove the automatic detection and matching of cgroup drivers for Docker. For new clusters if you have not configured the cgroup driver explicitly you might get a failure in the `kubelet` on driver mismatch (kubeadm clusters should be using the `systemd` driver). Also remove the `IsDockerSystemdCheck` preflight check (warning) that checks if the Docker cgroup driver is set to `systemd`. Ideally such detection / coordination should be on the side of CRI...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  5. pkg/volume/emptydir/empty_dir.go

    	sizeLimit = nodeAllocatableMemory
    	zero := resource.MustParse("0")
    
    	// determine pod resource allocation
    	// we use the same function for pod cgroup assignment to maintain consistent behavior
    	// NOTE: this could be nil on systems that do not support pod memory containment (i.e. windows)
    	podResourceConfig := cm.ResourceConfigForPod(pod, false, uint64(100000), false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

            umask 027
            echo "Defaults secure_path=\"${KUBE_HOME}/bin:${sudo_path}\"" > /etc/sudoers.d/kube_secure_path
          )
        fi
    }
    
    function detect-cgroup-config {
      CGROUP_CONFIG=$(stat -fc %T /sys/fs/cgroup/)
      echo "Detected cgroup config as ${CGROUP_CONFIG}"
    }
    
    function override-pv-recycler {
      if [[ -z "${PV_RECYCLER_OVERRIDE_TEMPLATE:-}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	// NOTE: on Windows, IsSystemdStyleName will return false, which means that the Container Info will
    	// not be assembled by cgroup key.
    	if runtime.GOOS != "windows" {
    		expectedInfoKeys = append(expectedInfoKeys, "c1")
    	} else {
    		expectedInfoKeys = append(expectedInfoKeys, "pod1-c1.slice")
    	}
    	for _, c := range expectedInfoKeys {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet.go

    	// Monitor resource usage
    	resourceAnalyzer serverstats.ResourceAnalyzer
    
    	// Whether or not we should have the QOS cgroup hierarchy for resource management
    	cgroupsPerQOS bool
    
    	// If non-empty, pass this to the container runtime as the root cgroup.
    	cgroupRoot string
    
    	// Mounter to use for volumes.
    	mounter mount.Interface
    
    	// hostutil to interact with filesystems
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.28.md

    - If using cgroups v2, then the cgroup aware OOM killer will be enabled for container cgroups via  `memory.oom.group` .  This causes processes within the cgroup to be treated as a unit and killed simultaneously in the event of an OOM kill on any process in the cgroup. ([#117793](https://github.com/kubernetes/kubernetes/pull/117793), [@tzneal](https://github.com/tzneal)) [SIG Apps, Node and Testing]...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:47:59 UTC 2024
    - 408.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.21.md

    - Fixed occasional pod cgroup freeze when using cgroup v1 and systemd driver.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
Back to top