Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for cadvisorv2 (0.14 sec)

  1. 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)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. hack/unwanted-dependencies.json

          ],
          "github.com/gogo/googleapis": [
            "github.com/google/cadvisor"
          ],
          "github.com/gogo/protobuf": [
            "github.com/Microsoft/hcsshim",
            "github.com/containerd/cgroups",
            "github.com/containerd/ttrpc",
            "github.com/containerd/typeurl",
            "github.com/google/cadvisor",
            "github.com/grpc-ecosystem/go-grpc-middleware",
            "go.etcd.io/etcd/api/v3",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 12:31:38 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. pkg/kubemark/hollow_kubelet.go

    	kubeletapp "k8s.io/kubernetes/cmd/kubelet/app"
    	"k8s.io/kubernetes/cmd/kubelet/app/options"
    	"k8s.io/kubernetes/pkg/kubelet"
    	kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
    	"k8s.io/kubernetes/pkg/kubelet/cadvisor"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	probetest "k8s.io/kubernetes/pkg/kubelet/prober/testing"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. pkg/kubelet/nodestatus/setters.go

    		}
    
    		var devicePluginAllocatable v1.ResourceList
    		var devicePluginCapacity v1.ResourceList
    		var removedDevicePlugins []string
    
    		// TODO: Post NotReady if we cannot get MachineInfo from cAdvisor. This needs to start
    		// cAdvisor locally, e.g. for test-cmd.sh, and in integration test.
    		info, err := machineInfoFunc()
    		if err != nil {
    			// TODO(roberthbailey): This is required for test-cmd.sh to pass.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. samples/addons/prometheus.yaml

          job_name: kubernetes-nodes-cadvisor
          kubernetes_sd_configs:
          - role: node
          relabel_configs:
          - action: labelmap
            regex: __meta_kubernetes_node_label_(.+)
          - replacement: kubernetes.default.svc:443
            target_label: __address__
          - regex: (.+)
            replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
            source_labels:
            - __meta_kubernetes_node_name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top