- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for CINFO (0.04 sec)
-
pkg/kubelet/stats/cadvisor_stats_provider.go
} cinfosByPodCgroupKey[podCgroupKey] = cinfo if !isPodManagedContainer(&cinfo) { continue } cinfoID := containerID{ podRef: buildPodRef(cinfo.Spec.Labels), containerName: kubetypes.GetContainerName(cinfo.Spec.Labels), } cinfoMap[cinfoID] = append(cinfoMap[cinfoID], containerInfoWithCgroup{ cinfo: cinfo, cgroup: key, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 16 13:34:22 UTC 2023 - 18.9K bytes - Viewed (0) -
pkg/kubelet/stats/helper_test.go
}, { Timestamp: timestamp2, FloatValue: 2.1, }, }, } cInfo := cadvisorapiv2.ContainerInfo{ Spec: cadvisorapiv2.ContainerSpec{ CustomMetrics: spec, }, Stats: []*cadvisorapiv2.ContainerStats{ { CustomMetrics: metrics, }, }, } assert.Contains(t, cadvisorInfoToUserDefinedMetrics(&cInfo), statsapi.UserDefinedMetric{
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/stats/provider_test.go
TxBytes: 0, TxErrors: 0, }}, } return cinfo } func getContainerInfoWithZeroCpuMem(seed int, podName string, podNamespace string, containerName string) cadvisorapiv2.ContainerInfo { cinfo := getTestContainerInfo(seed, podName, podNamespace, containerName) cinfo.Stats[0].Memory.RSS = 0 cinfo.Stats[0].CpuInst.Usage.Total = 0 return cinfo }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
switch resourceName { case v1.ResourceMemory: cInfo.currentContainerResources.memoryLimit = cInfo.desiredContainerResources.memoryLimit cInfo.currentContainerResources.memoryRequest = cInfo.desiredContainerResources.memoryRequest case v1.ResourceCPU: cInfo.currentContainerResources.cpuLimit = cInfo.desiredContainerResources.cpuLimit cInfo.currentContainerResources.cpuRequest = cInfo.desiredContainerResources.cpuRequest } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
cmd/object-api-datatypes.go
ReplicationStatusInternal: o.ReplicationStatusInternal, VersionPurgeStatusInternal: o.VersionPurgeStatusInternal, } cinfo.UserDefined = make(map[string]string, len(o.UserDefined)) for k, v := range o.UserDefined { cinfo.UserDefined[k] = v } return cinfo } func (o ObjectInfo) tierStats() tierStats { ts := tierStats{ TotalSize: uint64(o.Size), NumVersions: 1, }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
src/compress/zlib/reader_test.go
[]byte{ 0x78, 0x9c, 0x4b, 0xcf, 0xcf, 0x4f, 0x49, 0xaa, 0x4c, 0xd5, 0x51, 0x28, 0xcf, 0x2f, 0xca, 0x49, 0x01, 0x00, 0x28, 0xa5, 0x05, 0x5e, }, nil, nil, }, { "bad header (CINFO)", "", []byte{0x88, 0x98, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01}, nil, ErrHeader, }, { "bad header (FCHECK)", "", []byte{0x78, 0x9f, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01}, nil, ErrHeader,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 02:16:17 UTC 2022 - 3.4K bytes - Viewed (0) -
src/compress/zlib/writer.go
} // writeHeader writes the ZLIB header. func (z *Writer) writeHeader() (err error) { z.wroteHeader = true // ZLIB has a two-byte header (as documented in RFC 1950). // The first four bits is the CINFO (compression info), which is 7 for the default deflate window size. // The next four bits is the CM (compression method), which is 8 for deflate. z.scratch[0] = 0x78
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 27 18:51:27 UTC 2023 - 5.2K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider.go
return nil, fmt.Errorf("%s: %w", msg, err) } return nil, nil } return &fsInfo, nil } // buildPodStats returns a PodStats that identifies the Pod managing cinfo func buildPodStats(podSandbox *runtimeapi.PodSandbox) *statsapi.PodStats { return &statsapi.PodStats{ PodRef: statsapi.PodReference{ Name: podSandbox.Metadata.Name, UID: podSandbox.Metadata.Uid,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 35.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
// default resize policy when pod resize feature is enabled pod.Spec.Containers[idx].Resources = tc.apiSpecResources[idx] pod.Status.ContainerStatuses[idx].Resources = &tc.apiStatusResources[idx] cInfo := containerToUpdateInfo{ apiContainerIdx: idx, kubeContainerID: kubecontainer.ContainerID{}, desiredContainerResources: containerResources{ memoryLimit: tc.apiSpecResources[idx].Limits.Memory().Value(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0)