Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for cri (0.03 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    import (
    	"context"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    )
    
    func TestSandboxGC(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. pkg/kubelet/images/image_manager_test.go

    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/tools/record"
    	"k8s.io/client-go/util/flowcontrol"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	crierrors "k8s.io/cri-api/pkg/errors"
    	"k8s.io/kubernetes/pkg/features"
    	. "k8s.io/kubernetes/pkg/kubelet/container"
    	ctest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	testingclock "k8s.io/utils/clock/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_linux.go

    			// whether to drain the node and restart docker.  Occurs in other container runtimes
    			// as well.
    			// TODO(random-liu): Remove this when the docker bug is fixed.
    			const message = "CRI error: /sys is read-only: " +
    				"cannot modify conntrack limits, problems may arise later (If running Docker, see docker issue #24000)"
    			s.Recorder.Eventf(s.NodeRef, nil, v1.EventTypeWarning, err.Error(), "StartKubeProxy", message)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/memory_manager.go

    import (
    	"context"
    	"fmt"
    	"sync"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/util/sets"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	corev1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    	kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
    	"k8s.io/kubernetes/pkg/kubelet/cm/containermap"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  5. cmd/update.go

    		"/run/.containerenv",
    	} {
    		_, err = os.Stat(envfile)
    		if err == nil {
    			return true
    		}
    	}
    	if osIsNotExist(err) {
    		// if none of the files are present we may be running inside
    		// CRI-O, Containerd etc..
    		// Fallback to our container specific ENVs if they are set.
    		return env.IsSet("MINIO_ACCESS_KEY_FILE")
    	}
    
    	// Log error, as we will not propagate it to caller
    	internalLogIf(GlobalContext, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. pkg/kubelet/pleg/generic.go

    	"sync"
    	"sync/atomic"
    	"time"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/wait"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/features"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    	"k8s.io/utils/clock"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. pkg/kubelet/network/dns/dns_test.go

    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/client-go/tools/record"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/apis/core/validation"
    	netutils "k8s.io/utils/net"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    )
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	kubelettypes "k8s.io/kubelet/pkg/types"
    	"k8s.io/kubernetes/pkg/features"
    	cadvisortest "k8s.io/kubernetes/pkg/kubelet/cadvisor/testing"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  9. pkg/kubelet/container/testing/runtime_mock.go

    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	remotecommand "k8s.io/client-go/tools/remotecommand"
    	flowcontrol "k8s.io/client-go/util/flowcontrol"
    	v10 "k8s.io/cri-api/pkg/apis/runtime/v1"
    	container "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // MockVersion is a mock of Version interface.
    type MockVersion struct {
    	ctrl     *gomock.Controller
    	recorder *MockVersionMockRecorder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 27K bytes
    - Viewed (0)
  10. hack/update-codegen.sh

    }
    
    function codegen::protobindings() {
        # Each element of this array is a directory containing subdirectories which
        # eventually contain a file named "api.proto".
        local apis=(
            "staging/src/k8s.io/cri-api/pkg/apis/runtime"
    
            "staging/src/k8s.io/kubelet/pkg/apis/podresources"
    
            "staging/src/k8s.io/kubelet/pkg/apis/deviceplugin"
    
            "staging/src/k8s.io/kms/apis"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 29.2K bytes
    - Viewed (0)
Back to top