Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for cadvisorfs (0.23 sec)

  1. pkg/kubelet/server/stats/testing/mock_stats_provider.go

    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	context "context"
    	reflect "reflect"
    
    	v1 "github.com/google/cadvisor/info/v1"
    	v2 "github.com/google/cadvisor/info/v2"
    	gomock "go.uber.org/mock/gomock"
    	v10 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	cm "k8s.io/kubernetes/pkg/kubelet/cm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    	// Optional, defaults to /logs/ from /var/log
    	logServer http.Handler
    	// Optional, defaults to simple Docker implementation
    	runner kubecontainer.CommandRunner
    
    	// cAdvisor used for container information.
    	cadvisor cadvisor.Interface
    
    	// Set to true to have the node register itself with the apiserver.
    	registerNode bool
    	// List of taints to add to a node object when the kubelet registers itself.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    		"logs with path":                  {url: "/logs/logpath", bucket: "logs"},
    		"metrics":                         {url: "/metrics", bucket: "metrics"},
    		"metrics cadvisor sub":            {url: "/metrics/cadvisor", bucket: "metrics/cadvisor"},
    		"metrics probes sub":              {url: "/metrics/probes", bucket: "metrics/probes"},
    		"metrics resource sub":            {url: "/metrics/resource", bucket: "metrics/resource"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/host_stats_provider.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package stats
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"runtime"
    	"testing"
    
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    	var prober volume.DynamicPluginProber
    	tp := noopoteltrace.NewTracerProvider()
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    	cadvisor := cadvisortest.NewMockInterface(mockCtrl)
    	cadvisor.EXPECT().MachineInfo().Return(&cadvisorapi.MachineInfo{}, nil).AnyTimes()
    	cadvisor.EXPECT().ImagesFsInfo().Return(cadvisorapiv2.FsInfo{
    		Usage:     400,
    		Capacity:  1000,
    		Available: 600,
    	}, nil).AnyTimes()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server.go

    		cgroupRoots = append(cgroupRoots, s.SystemCgroups)
    	}
    
    	if kubeDeps.CAdvisorInterface == nil {
    		imageFsInfoProvider := cadvisor.NewImageFsInfoProvider(s.ContainerRuntimeEndpoint)
    		kubeDeps.CAdvisorInterface, err = cadvisor.New(imageFsInfoProvider, s.RootDirectory, cgroupRoots, cadvisor.UsingLegacyCadvisorStats(s.ContainerRuntimeEndpoint), s.LocalStorageCapacityIsolation)
    		if err != nil {
    			return err
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server_linux.go

    // Kubernetes app process.
    package app
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	goruntime "runtime"
    	"strings"
    	"time"
    
    	"github.com/google/cadvisor/machine"
    	"github.com/google/cadvisor/utils/sysfs"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/watch"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. pkg/kubelet/winstats/network_stats.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package winstats
    
    import (
    	"sync"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    )
    
    const (
    	packetsReceivedPerSecondQuery = "\\Network Adapter(*)\\Packets Received/sec"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cri_stats_provider_windows.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"fmt"
    	"time"
    
    	"github.com/Microsoft/hcsshim"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top