- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for runtimeHandler (0.18 sec)
-
pkg/kubelet/kuberuntime/convert_test.go
Image: "test", RuntimeHandler: "", Annotations: []kubecontainer.Annotation(nil), }, }, { input: &runtimeapi.Image{ Id: "test", Spec: &runtimeapi.ImageSpec{ RuntimeHandler: "test-runtimeHandler", Annotations: map[string]string{ "kubernetes.io/os": "linux", "kubernetes.io/runtimehandler": "handler", }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/convert.go
Annotations: annotations, } // if RuntimeClassInImageCriAPI feature gate is enabled, set runtimeHandler CRI field if utilfeature.DefaultFeatureGate.Enabled(features.RuntimeClassInImageCriAPI) { runtimeHandler := "" if image.Spec != nil { runtimeHandler = image.Spec.RuntimeHandler } spec.RuntimeHandler = runtimeHandler } return spec }
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/apis/node/v1alpha1/conversion_test.go
Effect: core.TaintEffectNoSchedule, }}, }, }, external: &v1alpha1.RuntimeClass{ ObjectMeta: metav1.ObjectMeta{Name: name}, Spec: v1alpha1.RuntimeClassSpec{ RuntimeHandler: handler, Overhead: &v1alpha1.Overhead{ PodFixed: corev1.ResourceList{ corev1.ResourceCPU: resource.MustParse(cpuOverhead), }, }, Scheduling: &v1alpha1.Scheduling{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 09 18:13:07 UTC 2019 - 3.8K bytes - Viewed (0) -
pkg/kubelet/runtime.go
s.Lock() defer s.Unlock() s.runtimeError = err } func (s *runtimeState) setRuntimeHandlers(rtHandlers []kubecontainer.RuntimeHandler) { s.Lock() defer s.Unlock() s.rtHandlers = rtHandlers } func (s *runtimeState) runtimeHandlers() []kubecontainer.RuntimeHandler { s.RLock() defer s.RUnlock() return s.rtHandlers } func (s *runtimeState) setStorageState(err error) { s.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/api/node/v1alpha1/types.go
// runtime (using native Linux containers) will be used to run the containers // in a pod. // The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123) // requirements, and is immutable. RuntimeHandler string `json:"runtimeHandler" protobuf:"bytes,1,opt,name=runtimeHandler"` // overhead represents the resource overhead associated with running a pod for a // given RuntimeClass. For more details, see
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 22 08:59:25 UTC 2022 - 5.3K bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager.go
imageKey = getImageTuple(image.ID, image.Spec.RuntimeHandler) klog.V(5).InfoS("Adding image ID with runtime class to currentImages", "imageKey", imageKey, "runtimeHandler", image.Spec.RuntimeHandler) } currentImages.Insert(imageKey) // New image, set it as detected now. if _, ok := im.imageRecords[imageKey]; !ok { klog.V(5).InfoS("Image ID is new", "imageID", imageKey, "runtimeHandler", image.Spec.RuntimeHandler)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/apis/node/v1alpha1/conversion.go
func Convert_v1alpha1_RuntimeClass_To_node_RuntimeClass(in *v1alpha1.RuntimeClass, out *node.RuntimeClass, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta out.Handler = in.Spec.RuntimeHandler if in.Spec.Overhead != nil { out.Overhead = &node.Overhead{} if err := Convert_v1alpha1_Overhead_To_node_Overhead(in.Spec.Overhead, out.Overhead, s); err != nil { return err } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 24 18:21:00 UTC 2019 - 2.2K bytes - Viewed (0) -
pkg/kubelet/images/image_manager_test.go
image := images[0] assert.Equal(t, "missing_image:latest", image.ID, "Image ID") assert.Equal(t, "", image.Spec.RuntimeHandler, "image.Spec.RuntimeHandler not empty", "ImageID", image.ID) expectedAnnotations := []Annotation{ { Name: "kubernetes.io/runtimehandler", Value: "handler_name", }} assert.Equal(t, expectedAnnotations, image.Spec.Annotations, "image spec annotations") }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
staging/src/k8s.io/api/node/v1alpha1/generated.proto
// runtime (using native Linux containers) will be used to run the containers // in a pod. // The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123) // requirements, and is immutable. optional string runtimeHandler = 1; // overhead represents the resource overhead associated with running a pod for a // given RuntimeClass. For more details, see
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/util/util.go
runtimeHandler := "" if pod != nil && rcManager != nil { var err error runtimeHandler, err = rcManager.LookupRuntimeHandler(pod.Spec.RuntimeClassName) if err != nil { return nil, err } } userNs, err := runtimeHelper.GetOrCreateUserNamespaceMappings(pod, runtimeHandler) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:14:48 UTC 2024 - 4.6K bytes - Viewed (0)