- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for cadvisorv2 (0.23 sec)
-
pkg/kubelet/server/stats/handler.go
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" "k8s.io/kubernetes/pkg/kubelet/cm"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 21:31:38 UTC 2023 - 6.8K bytes - Viewed (0) -
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) -
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) -
pkg/kubelet/stats/provider.go
) *Provider { return newStatsProvider(cadvisor, podManager, runtimeCache, newCRIStatsProvider(cadvisor, resourceAnalyzer, runtimeService, imageService, hostStatsProvider, podAndContainerStatsFromCRI)) } // NewCadvisorStatsProvider returns a containerStatsProvider that provides both // the node and the container stats from cAdvisor. func NewCadvisorStatsProvider( cadvisor cadvisor.Interface, resourceAnalyzer stats.ResourceAnalyzer,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 13:56:22 UTC 2023 - 7.4K bytes - Viewed (0) -
pkg/kubelet/cadvisor/types.go
*/ //go:generate mockgen -source=types.go -destination=testing/cadvisor_mock.go -package=testing Interface package cadvisor import ( cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" ) // Interface is an abstract interface for testability. It abstracts the interface to cAdvisor. type Interface interface { Start() error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 22:07:20 UTC 2023 - 2.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)