Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for cadvisorfs (0.17 sec)

  1. pkg/kubelet/cadvisor/helpers_linux.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	"fmt"
    	"strings"
    
    	cadvisorfs "github.com/google/cadvisor/fs"
    )
    
    // imageFsInfoProvider knows how to translate the configured runtime
    // to its file system label for images.
    type imageFsInfoProvider struct {
    	runtimeEndpoint string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:15:53 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/cadvisor_linux_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cadvisor
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    
    	"github.com/google/cadvisor/container/crio"
    	cadvisorfs "github.com/google/cadvisor/fs"
    )
    
    func TestImageFsInfoLabel(t *testing.T) {
    	testcases := []struct {
    		description     string
    		runtime         string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:15:53 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"math/rand"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    
    	cadvisorfs "github.com/google/cadvisor/fs"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    	gomock "go.uber.org/mock/gomock"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  4. build/dependencies.yaml

        - path: build/common.sh
          match: __default_setcap_version=
    
      # cadvisor
      - name: "gcr.io/cadvisor/cadvisor: dependents"
        version: "v0.47.2"
        refPaths:
        - path: test/e2e_node/resource_collector.go
          match: gcr.io\/cadvisor\/cadvisor:v\d+\.\d+\.\d+
        - path: test/e2e_node/image_list.go
          mathc: gcr.io\/cadvisor\/cadvisor:v\d+\.\d+\.\d+
    
      # GCB docker gcloud image
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server.go

    	"reflect"
    	goruntime "runtime"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/emicklei/go-restful/v3"
    	cadvisormetrics "github.com/google/cadvisor/container"
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorv2 "github.com/google/cadvisor/info/v2"
    	"github.com/google/cadvisor/metrics"
    	"go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful"
    	oteltrace "go.opentelemetry.io/otel/trace"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/kubelet/cm/container_manager_linux_test.go

    	"path"
    	"testing"
    	"time"
    
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"go.uber.org/mock/gomock"
    
    	"github.com/opencontainers/runc/libcontainer/cgroups"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	cadvisortest "k8s.io/kubernetes/pkg/kubelet/cadvisor/testing"
    
    	"k8s.io/mount-utils"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/container_manager_linux.go

    			)
    		}
    	}
    
    	var internalCapacity = v1.ResourceList{}
    	// 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.
    	// But `RootFsInfo` and `ImagesFsInfo` are not available at this moment so they will be called later during manager starts
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top