Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cgroupsRoots (0.11 sec)

  1. pkg/kubelet/cadvisor/cadvisor_unsupported.go

    type cadvisorUnsupported struct {
    }
    
    var _ Interface = new(cadvisorUnsupported)
    
    // New creates a new cAdvisor Interface for unsupported systems.
    func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupsRoots []string, usingLegacyStats, localStorageCapacityIsolation bool) (Interface, error) {
    	return &cadvisorUnsupported{}, nil
    }
    
    var errUnsupported = errors.New("cAdvisor is unsupported in this build")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/cadvisor_windows.go

    }
    
    var _ Interface = new(cadvisorClient)
    
    // New creates a cAdvisor and exports its API on the specified port if port > 0.
    func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots []string, usingLegacyStats, localStorageCapacityIsolation bool) (Interface, error) {
    	client, err := winstats.NewPerfCounterClient()
    	return &cadvisorClient{
    		rootPath:       rootPath,
    		winStatsClient: client,
    	}, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pkg/kubelet/cadvisor/cadvisor_linux.go

    			klog.ErrorS(nil, "Expected cAdvisor flag not found", "flag", name)
    		}
    	}
    }
    
    // New creates a new cAdvisor Interface for linux systems.
    func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots []string, usingLegacyStats, localStorageCapacityIsolation bool) (Interface, error) {
    	sysFs := sysfs.NewRealSysFs()
    
    	includedMetrics := cadvisormetrics.MetricSet{
    		cadvisormetrics.CpuUsageMetrics:     struct{}{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. cmd/kubelet/app/server.go

    	} else if kubeletCgroup != "" {
    		cgroupRoots = append(cgroupRoots, kubeletCgroup)
    	}
    
    	if s.RuntimeCgroups != "" {
    		// RuntimeCgroups is optional, so ignore if it isn't specified
    		cgroupRoots = append(cgroupRoots, s.RuntimeCgroups)
    	}
    
    	if s.SystemCgroups != "" {
    		// SystemCgroups is optional, so ignore if it isn't specified
    		cgroupRoots = append(cgroupRoots, s.SystemCgroups)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.19.md

      
      kubeDeps.CAdvisorInterface, err = cadvisor.New(imageFsInfoProvider, s.RootDirectory, cgroupRoots, cadvisor.UsingLegacyCadvisorStats(s.ContainerRuntime, s.RemoteRuntimeEndpoint))
      the above function,as we use cgroupRoots to create cadvisor interface,the wrong parameter cgroupRoots will lead eviction manager not  to collect metric from /docker, then kubelet frequently print those error:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
Back to top