Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for cadvisorapiv2 (0.18 sec)

  1. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    			}
    		})
    	}
    }
    
    func returnMachineInfo() cadvisorapi.MachineInfo {
    	return cadvisorapi.MachineInfo{
    		Topology: []cadvisorapi.Node{
    			{
    				Id:     0,
    				Memory: 10 * gb,
    				HugePages: []cadvisorapi.HugePagesInfo{
    					{
    						PageSize: pageSize1Gb,
    						NumPages: 5,
    					},
    				},
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/cm/topologymanager/topology_manager.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package topologymanager
    
    import (
    	"fmt"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/bitmask"
    	"k8s.io/kubernetes/pkg/kubelet/lifecycle"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 12:43:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. pkg/kubelet/server/stats/handler.go

    //go:generate mockgen -source=handler.go -destination=testing/mock_stats_provider.go -package=testing Provider
    package stats
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    
    	restful "github.com/emicklei/go-restful/v3"
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorv2 "github.com/google/cadvisor/info/v2"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 21:31:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/topology/topology.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package topology
    
    import (
    	"fmt"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/cpuset"
    )
    
    // NUMANodeInfo is a map from NUMANode ID to a list of CPU IDs associated with
    // that NUMANode.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.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/kubelet_node_status_test.go

    	"fmt"
    	"net"
    	goruntime "runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  8. 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)
  9. 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 (0)
  10. 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)
Back to top