Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 118 for cadvisorfs (0.23 sec)

  1. pkg/kubelet/stats/provider_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"fmt"
    	"testing"
    	"time"
    
    	cadvisorapiv1 "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	fuzz "github.com/google/gofuzz"
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    	"go.uber.org/mock/gomock"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. pkg/kubelet/cadvisor/testing/cadvisor_mock.go

    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	reflect "reflect"
    
    	v1 "github.com/google/cadvisor/info/v1"
    	v2 "github.com/google/cadvisor/info/v2"
    	gomock "go.uber.org/mock/gomock"
    )
    
    // MockInterface is a mock of Interface interface.
    type MockInterface struct {
    	ctrl     *gomock.Controller
    	recorder *MockInterfaceMockRecorder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/cm/topologymanager/numa_info_test.go

    limitations under the License.
    */
    
    package topologymanager
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/bitmask"
    )
    
    func TestNUMAInfo(t *testing.T) {
    	tcases := []struct {
    		name             string
    		topology         []cadvisorapi.Node
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/stats/cri_stats_provider_linux.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package stats
    
    import (
    	"fmt"
    	"time"
    
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/host_stats_provider_fake.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package stats
    
    import (
    	"fmt"
    	"path/filepath"
    
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"k8s.io/apimachinery/pkg/types"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	kubecontainertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. tests/integration/telemetry/api/dashboard_test.go

    			// We do not simulate injection errors
    			"sidecar_injection_failure_total",
    			// In default install, we have no proxy
    			"istio-proxy",
    			// We do not simulate validation failed
    			"galley_validation_failed",
    			// cAdvisor does not expose this metrics, and we don't have kubelet in kind
    			"container_fs_usage_bytes",
    			// flakes: https://github.com/istio/istio/issues/29871
    			"container_memory_working_set_bytes",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pkg/kubelet/oom/oom_watcher_linux_test.go

    limitations under the License.
    */
    
    package oom
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/client-go/tools/record"
    
    	"github.com/google/cadvisor/utils/oomparser"
    	"github.com/stretchr/testify/assert"
    )
    
    type fakeStreamer struct {
    	oomInstancesToStream []*oomparser.OomInstance
    }
    
    func (fs *fakeStreamer) StreamOoms(outStream chan<- *oomparser.OomInstance) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 09 06:25:28 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  10. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package winstats
    
    import (
    	"os"
    	"strconv"
    	"testing"
    	"time"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"github.com/google/uuid"
    	"github.com/stretchr/testify/assert"
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    func TestMonitoring(t *testing.T) {
    	counterClient, err := NewPerfCounterClient()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top