Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for colgroup (0.2 sec)

  1. pkg/kubelet/kubelet_pods.go

    func (kl *Kubelet) HandlePodCleanups(ctx context.Context) error {
    	// The kubelet lacks checkpointing, so we need to introspect the set of pods
    	// in the cgroup tree prior to inspecting the set of pods in our pod manager.
    	// this ensures our view of the cgroup tree does not mistakenly observe pods
    	// that are added after the fact...
    	var (
    		cgroupPods map[types.UID]cm.CgroupName
    		err        error
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/kubelet/kubelet_test.go

    			{Name: "bar"},
    		},
    	}
    
    	fakeRuntime := testKubelet.fakeRuntime
    	fakeContainerManager := testKubelet.fakeContainerManager
    	fakeContainerManager.PodContainerManager.AddPodFromCgroups(pod) // add pod to mock cgroup
    	fakeRuntime.PodList = []*containertest.FakePod{
    		{Pod: pod},
    	}
    	kubelet := testKubelet.kubelet
    	kubelet.cgroupsPerQOS = true // enable cgroupsPerQOS to turn on the cgroups cleanup
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. cluster/gce/util.sh

      # windows; the latter requires the former to be enabled to work.
      flags+=" --cgroups-per-qos=false --enforce-node-allocatable="
    
      # Turn off kernel memory cgroup notification.
      flags+=" --kernel-memcg-notification=false"
    
      WINDOWS_CONTAINER_RUNTIME_ENDPOINT=${KUBE_WINDOWS_CONTAINER_RUNTIME_ENDPOINT:-npipe:////./pipe/containerd-containerd}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top