Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for cri (0.32 sec)

  1. cmd/kubeadm/app/util/runtime/runtime_fake_test.go

    package runtime
    
    import (
    	"context"
    	"time"
    
    	cri "k8s.io/cri-api/pkg/apis"
    	v1 "k8s.io/cri-api/pkg/apis/runtime/v1"
    )
    
    type fakeImpl struct {
    	imageStatusReturns struct {
    		res *v1.ImageStatusResponse
    		err error
    	}
    	listPodSandboxReturns struct {
    		res []*v1.PodSandbox
    		err error
    	}
    	newRemoteImageServiceReturns struct {
    		res cri.ImageManagerService
    		err error
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/runtime/runtime.go

    	"strings"
    	"time"
    
    	"github.com/pkg/errors"
    	errorsutil "k8s.io/apimachinery/pkg/util/errors"
    	criapi "k8s.io/cri-api/pkg/apis"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    // defaultKnownCRISockets holds the set of known CRI endpoints
    var defaultKnownCRISockets = []string{
    	constants.CRISocketContainerd,
    	constants.CRISocketCRIO,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cadvisor/util.go

    			int64(info.Capacity),
    			resource.BinarySI),
    	}
    	return c
    }
    
    // UsingLegacyCadvisorStats returns true if container stats are provided by cadvisor instead of through the CRI.
    // CRI integrations should get container metrics via CRI.
    // TODO: cri-o relies on cadvisor as a temporary workaround. The code should
    // be removed. Related issue:
    // https://github.com/kubernetes/kubernetes/issues/51798
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 04 05:08:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/convert.go

    */
    
    package kuberuntime
    
    import (
    	"sort"
    
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/features"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // This file contains help function to kuberuntime types to CRI runtime API types, or vice versa.
    
    func toKubeContainerImageSpec(image *runtimeapi.Image) kubecontainer.ImageSpec {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 22:52:46 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		//      src: https://github.com/moby/moby/blob/10866714412aea1bb587d1ad14b2ce1ba4cf4308/daemon/oci_windows.go#L426
    		// Part three - CRI & ContainerD's implementation
    		//   The kubelet sets these directly on CGroups in Linux, but needs to pass them across CRI on Windows.
    		//   There is an existing cpu_maximum field, with a range of percent * 100, so 1-10000. This is different from Docker, but consistent with OCI
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cri_stats_provider.go

    			return result, nil
    		}
    		s, ok := status.FromError(err)
    		// Legitimate failure, rather than the CRI implementation does not support ListPodSandboxStats.
    		if !ok || s.Code() != codes.Unimplemented {
    			return nil, err
    		}
    		// CRI implementation doesn't support ListPodSandboxStats, warn and fallback.
    		klog.V(5).ErrorS(err,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/runtime/impl.go

    limitations under the License.
    */
    
    package runtime
    
    import (
    	"context"
    	"time"
    
    	criapi "k8s.io/cri-api/pkg/apis"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	criclient "k8s.io/cri-client/pkg"
    )
    
    type defaultImpl struct{}
    
    type impl interface {
    	NewRemoteRuntimeService(endpoint string, connectionTimeout time.Duration) (criapi.RuntimeService, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/testdata/cgroupns/1/cgroup

    0::/system.slice/docker-8445c3ca20fac1d8e74854d84a7e6a57297ffb22809098b2816b31a428f2b777.scope/kubelet.slice/kubelet-kubepods.slice/kubelet-kubepods-besteffort.slice/kubelet-kubepods-besteffort-pod863b91d4_4b68_4efa_917f_4b560e3e86aa.slice/cri-containerd-75c7fe7ad0df679971e755bd97b84dd68a32e1eba8e8f99b01ab3c07196a3e4a.scope...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 326 bytes
    - Viewed (0)
  9. go.work

    	./staging/src/k8s.io/code-generator
    	./staging/src/k8s.io/component-base
    	./staging/src/k8s.io/component-helpers
    	./staging/src/k8s.io/controller-manager
    	./staging/src/k8s.io/cri-api
    	./staging/src/k8s.io/cri-client
    	./staging/src/k8s.io/csi-translation-lib
    	./staging/src/k8s.io/dynamic-resource-allocation
    	./staging/src/k8s.io/endpointslice
    	./staging/src/k8s.io/kms
    	./staging/src/k8s.io/kube-aggregator
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/helpers.go

    limitations under the License.
    */
    
    package cm
    
    import (
    	"context"
    
    	"k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/kubelet/cm/containermap"
    	evictionapi "k8s.io/kubernetes/pkg/kubelet/eviction/api"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top