Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 118 for cadvisorfs (0.46 sec)

  1. pkg/kubelet/cadvisor/util.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	"strings"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapi2 "github.com/google/cadvisor/info/v2"
    	"k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    )
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 05:08:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. cmd/kubelet/app/options/globalflags_linux.go

    	_ "github.com/google/cadvisor/container/common"
    	_ "github.com/google/cadvisor/container/containerd"
    	_ "github.com/google/cadvisor/container/raw"
    	_ "github.com/google/cadvisor/machine"
    	_ "github.com/google/cadvisor/manager"
    	_ "github.com/google/cadvisor/storage"
    )
    
    // addCadvisorFlags adds flags from cadvisor
    func addCadvisorFlags(fs *pflag.FlagSet) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 20:15:13 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. pkg/kubelet/cadvisor/cadvisor_linux.go

    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	"flag"
    	"fmt"
    	"net/http"
    	"os"
    	"path"
    	"time"
    
    	// Register supported container handlers.
    	_ "github.com/google/cadvisor/container/containerd/install"
    	_ "github.com/google/cadvisor/container/crio/install"
    	_ "github.com/google/cadvisor/container/systemd/install"
    
    	"github.com/google/cadvisor/cache/memory"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cadvisor_stats_provider.go

    // container stats from cAdvisor.
    func newCadvisorStatsProvider(
    	cadvisor cadvisor.Interface,
    	resourceAnalyzer stats.ResourceAnalyzer,
    	imageService kubecontainer.ImageService,
    	statusProvider status.PodStatusProvider,
    	hostStatsProvider HostStatsProvider,
    ) containerStatsProvider {
    	return &cadvisorStatsProvider{
    		cadvisor:          cadvisor,
    		resourceAnalyzer:  resourceAnalyzer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    			}
    			return
    		}
    		swapControllerAvailability = true
    	})
    	return swapControllerAvailability
    }
    
    type swapConfigurationHelper struct {
    	machineInfo cadvisorv1.MachineInfo
    }
    
    func newSwapConfigurationHelper(machineInfo cadvisorv1.MachineInfo) *swapConfigurationHelper {
    	return &swapConfigurationHelper{machineInfo: machineInfo}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. pkg/kubelet/cadvisor/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package cadvisor provides an interface for Kubelet interactions with cAdvisor.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 29 13:31:35 UTC 2019
    - 721 bytes
    - Viewed (0)
  7. pkg/kubelet/runonce_test.go

    	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()
    	cadvisor.EXPECT().RootFsInfo().Return(cadvisorapiv2.FsInfo{
    		Usage:    9,
    		Capacity: 10,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 06:59:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cadvisor/cadvisor_windows.go

    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"k8s.io/kubernetes/pkg/kubelet/winstats"
    )
    
    type cadvisorClient struct {
    	rootPath       string
    	winStatsClient winstats.Client
    }
    
    var _ Interface = new(cadvisorClient)
    
    // New creates a cAdvisor and exports its API on the specified port if port > 0.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 22:07:20 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. pkg/kubelet/cadvisor/util_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/google/cadvisor/container/crio"
    	info "github.com/google/cadvisor/info/v1"
    	"github.com/stretchr/testify/assert"
    	"k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 05:08:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/container_manager_windows.go

    func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.Interface, nodeConfig NodeConfig, failSwapOn bool, recorder record.EventRecorder, kubeClient clientset.Interface) (ContainerManager, error) {
    	// It is safe to invoke `MachineInfo` on cAdvisor before logically initializing cAdvisor here because
    	// machine info is computed and cached once as part of cAdvisor object creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 11:25:36 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top