- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 229 for cri (0.16 sec)
-
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) -
cmd/kubeadm/app/constants/constants_windows.go
package constants const ( // CRISocketContainerd is the containerd CRI endpoint CRISocketContainerd = "npipe:////./pipe/containerd-containerd" // CRISocketCRIO is the cri-o CRI endpoint // NOTE: this is a placeholder as CRI-O does not support Windows CRISocketCRIO = "npipe:////./pipe/cri-o" // CRISocketDocker is the cri-dockerd CRI endpoint CRISocketDocker = "npipe:////./pipe/cri-dockerd" // DefaultCRISocket defines the default CRI socket
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 12 15:15:45 UTC 2022 - 1.1K bytes - Viewed (0) -
cmd/kubeadm/app/constants/constants_unix.go
const ( // CRISocketContainerd is the containerd CRI endpoint CRISocketContainerd = "unix:///var/run/containerd/containerd.sock" // CRISocketCRIO is the cri-o CRI endpoint CRISocketCRIO = "unix:///var/run/crio/crio.sock" // CRISocketDocker is the cri-dockerd CRI endpoint CRISocketDocker = "unix:///var/run/cri-dockerd.sock" // DefaultCRISocket defines the default CRI socket DefaultCRISocket = CRISocketContainerd
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 12 15:15:45 UTC 2022 - 1K bytes - Viewed (0) -
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) -
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) -
cmd/kubeadm/app/phases/patchnode/patchnode_test.go
}{ { name: "CRI-socket annotation missing", currentCRISocketAnnotation: "", newCRISocketAnnotation: "unix:///run/containerd/containerd.sock", expectedPatch: `{"metadata":{"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock"}}}`, }, { name: "CRI-socket annotation already exists",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 12 15:15:45 UTC 2022 - 3.7K bytes - Viewed (0) -
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) -
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) -
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) -
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)