- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 118 for cadvisorv2 (0.23 sec)
-
pkg/kubelet/cadvisor/cadvisor_unsupported.go
limitations under the License. */ package cadvisor import ( "errors" cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" ) type cadvisorUnsupported struct { } var _ Interface = new(cadvisorUnsupported) // New creates a new cAdvisor Interface for unsupported systems.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 22:07:20 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/kubelet/stats/helper.go
// MaxInt64 due to rounding by the kernel. // TODO: cadvisor should export this https://github.com/google/cadvisor/blob/master/metrics/prometheus.go#L596 const maxMemorySize = uint64(1 << 62) return v > maxMemorySize } // getCgroupInfo returns the information of the container with the specified // containerName from cadvisor.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 23:40:02 UTC 2023 - 14.8K bytes - Viewed (0) -
pkg/kubelet/cadvisor/testing/cadvisor_fake.go
limitations under the License. */ package testing import ( cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" "k8s.io/kubernetes/pkg/kubelet/cadvisor" ) // Fake cadvisor.Interface implementation. type Fake struct { NodeName string } const ( // FakeKernelVersion is a fake kernel version for testing.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 22:07:20 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/kubelet/cadvisor/helpers_unsupported.go
limitations under the License. */ package cadvisor import "errors" type unsupportedImageFsInfoProvider struct{} // ImageFsInfoLabel returns the image fs label for the configured runtime. // For remote runtimes, it handles additional runtimes natively understood by cAdvisor. func (i *unsupportedImageFsInfoProvider) ImageFsInfoLabel() (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 1.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology/topology.go
type CPUDetails map[int]CPUInfo // CPUTopology contains details of node cpu, where : // CPU - logical CPU, cadvisor - thread // Core - physical CPU, cadvisor - Core // Socket - socket, cadvisor - Socket // NUMA Node - NUMA cell, cadvisor - Node type CPUTopology struct { NumCPUs int NumCores int NumSockets int NumNUMANodes int CPUDetails CPUDetails }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/kubelet/winstats/winstats.go
*/ // Package winstats provides a client to get node and pod level stats on windows package winstats import ( "syscall" "time" "unsafe" cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" ) var ( procGetDiskFreeSpaceEx = modkernel32.NewProc("GetDiskFreeSpaceExW") ) // Client is an interface that is used to get stats information. type Client interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 5.2K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounters.go
// Perf counters are updated 10 seconds. This is the same as the default cadvisor housekeeping interval // set at https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/cadvisor/cadvisor_linux.go perfCounterUpdatePeriod = 10 * time.Second // defaultCachePeriod is the default cache period for each cpuUsage. // This matches with the cadvisor setting and the time interval we use for containers.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 19:13:24 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_unsupported.go
import ( "fmt" "k8s.io/mount-utils" v1 "k8s.io/api/core/v1" clientset "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/record" internalapi "k8s.io/cri-api/pkg/apis" "k8s.io/kubernetes/pkg/kubelet/cadvisor" "k8s.io/kubernetes/pkg/kubelet/config" "k8s.io/kubernetes/pkg/kubelet/status" ) type unsupportedContainerManager struct { containerManagerStub } var _ ContainerManager = &unsupportedContainerManager{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 11 20:58:03 UTC 2022 - 1.5K bytes - Viewed (0) -
pkg/kubelet/stats/helper_test.go
See the License for the specific language governing permissions and limitations under the License. */ package stats import ( "testing" "time" cadvisorapiv1 "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1" ) func TestCustomMetrics(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 22 16:23:28 UTC 2020 - 2.3K bytes - Viewed (0) -
pkg/kubelet/oom/oom_watcher_linux.go
"k8s.io/klog/v2" "github.com/google/cadvisor/utils/oomparser" ) type streamer interface { StreamOoms(chan<- *oomparser.OomInstance) } var _ streamer = &oomparser.OomParser{} type realWatcher struct { recorder record.EventRecorder oomStreamer streamer } var _ Watcher = &realWatcher{} // NewWatcher creates and initializes a OOMWatcher backed by Cadvisor as // the oom streamer.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 23:17:05 UTC 2022 - 2.3K bytes - Viewed (0)