- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 110 for admission (0.25 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go
30*time.Second, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, ) var source Source[PolicyHook[P, B, E]] plugin := NewPlugin[PolicyHook[P, B, E]]( admission.NewHandler(admission.Connect, admission.Create, admission.Delete, admission.Update), func(sif informers.SharedInformerFactory, i1 kubernetes.Interface, i2 dynamic.Interface, r meta.RESTMapper) Source[PolicyHook[P, B, E]] { source = NewPolicySource[P, B, E](
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager.go
return numaNodes } // Allocate is called to pre-allocate memory resources during Pod admission. func (m *manager) Allocate(pod *v1.Pod, container *v1.Container) error { // The pod is during the admission phase. We need to save the pod to avoid it // being cleaned before the admission ended m.setPodPendingAdmission(pod) // Garbage collect any stranded resources before allocation m.removeStaleState()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 00:50:45 UTC 2023 - 17.1K bytes - Viewed (1) -
istioctl/pkg/kubeinject/kubeinject.go
if err != nil { return nil, err } rev := &admission.AdmissionReview{ TypeMeta: metav1.TypeMeta{ APIVersion: admission.SchemeGroupVersion.String(), Kind: "AdmissionReview", }, Request: &admission.AdmissionRequest{ Object: runtime.RawExtension{Raw: podBytes}, Kind: metav1.GroupVersionKind{ Group: admission.GroupName, Version: admission.SchemeGroupVersion.Version,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 21.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/update.go
} return newObj, nil } // AdmissionToValidateObjectUpdateFunc converts validating admission to a rest validate object update func func AdmissionToValidateObjectUpdateFunc(admit admission.Interface, staticAttributes admission.Attributes, o admission.ObjectInterfaces) ValidateObjectUpdateFunc { validatingAdmission, ok := admit.(admission.ValidationInterface) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 27 11:48:28 UTC 2022 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
gvr := schema.GroupVersionResource{Group: "", Version: "v1", Resource: "endpoints"} return admission.NewAttributesRecord(object, oldObject, gvk, namespace, name, gvr, "", admission.Create, &metav1.CreateOptions{}, false, nil) } func endpointStatusUpdateAttributes() admission.Attributes { attrs := endpointCreateAttributes() return admission.NewAttributesRecord(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption.go
kubetypes "k8s.io/kubernetes/pkg/kubelet/types" ) const message = "Preempted in order to admit critical pod" // CriticalPodAdmissionHandler is an AdmissionFailureHandler that handles admission failure for Critical Pods. // If the ONLY admission failures are due to insufficient resources, then CriticalPodAdmissionHandler evicts pods // so that the critical pod can be admitted. For evictions, the CriticalPodAdmissionHandler evicts a set of pods that
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 16:53:19 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto
// // 'object' - The object from the incoming request. The value is null for DELETE requests. // 'oldObject' - The existing object. The value is null for CREATE requests. // 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). // 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 29.9K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto
// // 'object' - The object from the incoming request. The value is null for DELETE requests. // 'oldObject' - The existing object. The value is null for CREATE requests. // 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). // 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 25.7K bytes - Viewed (0) -
cmd/kube-apiserver/app/server.go
storageFactory *serverstorage.DefaultStorageFactory, ) ( *controlplane.Config, aggregatorapiserver.ServiceResolver, []admission.PluginInitializer, error, ) { // global stuff capabilities.Setup(opts.AllowPrivileged, opts.MaxConnectionBytesPerSec) // additional admission initializers kubeAdmissionConfig := &kubeapiserveradmission.Config{ CloudConfigFile: opts.CloudProvider.CloudConfigFile, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 17:44:20 UTC 2024 - 10.2K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1alpha1/types_swagger_doc_generated.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 16:30:10 UTC 2023 - 27K bytes - Viewed (0)