Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for cadvisorapiv2 (0.18 sec)

  1. pkg/kubelet/winstats/network_stats.go

    		packetsOutboundDiscardedCounter: packetsOutboundDiscardedCounter,
    		packetsOutboundErrorsCounter:    packetsOutboundErrorsCounter,
    		adapterStats:                    map[string]cadvisorapi.InterfaceStats{},
    	}, nil
    }
    
    func (n *networkCounter) getData() ([]cadvisorapi.InterfaceStats, error) {
    	packetsReceivedPerSecondData, err := n.packetsReceivedPerSecondCounter.getDataList()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters_test.go

    limitations under the License.
    */
    
    package nodestatus
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net"
    	"sort"
    	"strconv"
    	"testing"
    	"time"
    
    	cadvisorapiv1 "github.com/google/cadvisor/info/v1"
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. pkg/kubelet/winstats/perfcounter_nodestats.go

    }
    
    func (p *perfCounterNodeStatsClient) getMachineInfo() (*cadvisorapi.MachineInfo, error) {
    	hostname, err := os.Hostname()
    	if err != nil {
    		return nil, err
    	}
    
    	systemUUID, err := getSystemUUID()
    	if err != nil {
    		return nil, err
    	}
    
    	bootId, err := getBootID()
    	if err != nil {
    		return nil, err
    	}
    
    	return &cadvisorapi.MachineInfo{
    		NumCores:       ProcessorCount(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package winstats
    
    import (
    	"os"
    	"strconv"
    	"testing"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/google/uuid"
    	"github.com/stretchr/testify/assert"
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    func TestMonitoring(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/topologymanager/numa_info.go

    */
    
    package topologymanager
    
    import (
    	"fmt"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/bitmask"
    )
    
    type NUMADistances map[int][]uint64
    
    type NUMAInfo struct {
    	Nodes         []int
    	NUMADistances NUMADistances
    }
    
    func NewNUMAInfo(topology []cadvisorapi.Node, opts PolicyOptions) (*NUMAInfo, error) {
    	var numaNodes []int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    }
    
    func returnMachineInfo() cadvisorapi.MachineInfo {
    	return cadvisorapi.MachineInfo{
    		NumCores: 12,
    		Topology: []cadvisorapi.Node{
    			{Id: 0,
    				Cores: []cadvisorapi.Core{
    					{SocketID: 0, Id: 0, Threads: []int{0, 6}},
    					{SocketID: 0, Id: 1, Threads: []int{1, 7}},
    					{SocketID: 0, Id: 2, Threads: []int{2, 8}},
    				},
    			},
    			{Id: 1,
    				Cores: []cadvisorapi.Core{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_getters.go

    func (kl *Kubelet) GetRequestedContainersInfo(containerName string, options cadvisorv2.RequestOptions) (map[string]*cadvisorapiv1.ContainerInfo, error) {
    	return kl.cadvisor.GetRequestedContainersInfo(containerName, options)
    }
    
    // GetVersionInfo returns information about the version of cAdvisor in use.
    func (kl *Kubelet) GetVersionInfo() (*cadvisorapiv1.VersionInfo, error) {
    	return kl.cadvisor.VersionInfo()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/fake_kuberuntime_manager.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package kuberuntime
    
    import (
    	"context"
    	"net/http"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"go.opentelemetry.io/otel/trace"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/memorymanager/memory_manager.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package memorymanager
    
    import (
    	"context"
    	"fmt"
    	"sync"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/util/sets"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/topologymanager/topology_manager_test.go

    			topology: []cadvisorapi.Node{
    				{
    					Id: 0,
    				},
    			},
    		},
    		{
    			description:    "more than 8 NUMA nodes",
    			policyName:     "best-effort",
    			expectedPolicy: "best-effort",
    			expectedError:  fmt.Errorf("unsupported on machines with more than %v NUMA Nodes", maxAllowableNUMANodes),
    			topology: []cadvisorapi.Node{
    				{
    					Id: 0,
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 13:04:32 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top