Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for cadvisorapiv2 (0.22 sec)

  1. 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)
  2. 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)
  3. 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 (1)
  4. 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)
  5. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    			expectedError:              fmt.Errorf("the static policy requires systemreserved.cpu + kubereserved.cpu to be greater than zero"),
    		},
    	}
    
    	mockedMachineInfo := cadvisorapi.MachineInfo{
    		NumCores: 4,
    		Topology: []cadvisorapi.Node{
    			{
    				Cores: []cadvisorapi.Core{
    					{
    						Id:      0,
    						Threads: []int{0},
    					},
    					{
    						Id:      1,
    						Threads: []int{1},
    					},
    					{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  6. pkg/kubelet/server/server.go

    	return a.host.GetRequestedContainersInfo(containerName, options)
    }
    func (a prometheusHostAdapter) GetVersionInfo() (*cadvisorapi.VersionInfo, error) {
    	return a.host.GetVersionInfo()
    }
    func (a prometheusHostAdapter) GetMachineInfo() (*cadvisorapi.MachineInfo, error) {
    	return a.host.GetCachedMachineInfo()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  7. pkg/kubelet/nodestatus/setters.go

    limitations under the License.
    */
    
    package nodestatus
    
    import (
    	"context"
    	"fmt"
    	"math"
    	"net"
    	goruntime "runtime"
    	"strings"
    	"time"
    
    	cadvisorapiv1 "github.com/google/cadvisor/info/v1"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/cpu_manager.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cpumanager
    
    import (
    	"context"
    	"fmt"
    	"math"
    	"sync"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/wait"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/pkg/kubelet/cm/containermap"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (2)
  9. pkg/kubelet/cm/memorymanager/policy_static.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package memorymanager
    
    import (
    	"fmt"
    	"reflect"
    	"sort"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/klog/v2"
    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager.go

    limitations under the License.
    */
    
    package devicemanager
    
    import (
    	"context"
    	"fmt"
    	"os"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"sync"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	errorsutil "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/sets"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top