- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 245 for admitted (0.42 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go
if err != nil { t.Error(err) } } // TestAdmissionNamespaceDoesNotExist verifies pod is not admitted if namespace does not exist. func TestAdmissionNamespaceDoesNotExist(t *testing.T) { namespace := "test" mockClient := newMockClientForTest(map[string]v1.NamespacePhase{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/kubelet/lifecycle/predicate.go
return PodAdmitResult{ Admit: false, Reason: "InvalidNodeInfo", Message: "Kubelet cannot get node info.", } } admitPod := attrs.Pod // perform the checks that preemption will not help first to avoid meaningless pod eviction if rejectPodAdmissionBasedOnOSSelector(admitPod, node) { return PodAdmitResult{ Admit: false, Reason: "PodOSSelectorNodeLabelDoesNotMatch",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 00:47:50 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption.go
// to allow admission of the pod despite its previous failure. func (c *CriticalPodAdmissionHandler) HandleAdmissionFailure(admitPod *v1.Pod, failureReasons []lifecycle.PredicateFailureReason) ([]lifecycle.PredicateFailureReason, error) { if !kubetypes.IsCriticalPod(admitPod) { return failureReasons, nil } // InsufficientResourceError is not a reason to reject a critical pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 16:53:19 UTC 2023 - 11.5K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto
// // IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation // if the object being admitted is modified by other admission plugins after the initial webhook call. // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. // Note: // * the number of additional invocations is not guaranteed to be exactly one.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 22.6K bytes - Viewed (0) -
plugin/pkg/admission/eventratelimit/admission_test.go
clock.Step(rq.delay) } attributes := attributesForRequest(rq) err = eventratelimit.Validate(context.TODO(), attributes, nil) if rq.accepted != (err == nil) { expectedAction := "admitted" if !rq.accepted { expectedAction = "blocked" } t.Fatalf("%v: Request %v should have been %v: %v", tc.name, rqIndex, expectedAction, err) } if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 17 13:19:08 UTC 2021 - 15.6K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1/generated.proto
// // IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation // if the object being admitted is modified by other admission plugins after the initial webhook call. // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. // Note: // * the number of additional invocations is not guaranteed to be exactly one.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.4K bytes - Viewed (0) -
pkg/kubelet/lifecycle/predicate_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 23:13:50 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static.go
if p.options.FullPhysicalCPUsOnly { CPUsPerCore := p.topology.CPUsPerCore() if (numCPUs % CPUsPerCore) != 0 { // Since CPU Manager has been enabled requesting strict SMT alignment, it means a guaranteed pod can only be admitted // if the CPU requested is a multiple of the number of virtual cpus per physical cores. // In case CPU request is not a multiple of the number of virtual cpus per physical cores the Pod will be put
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 28.8K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conditions.go
for _, incoming := range parentResults { // We will append it if it is our first occurrence, or the existing one has an error. This means // if *any* section has no errors, we will declare Admitted if incoming.DeniedReason == nil { successCount[incoming.OriginalReference]++ } seen[incoming.OriginalReference] = append(seen[incoming.OriginalReference], incoming) if incoming.DeniedReason != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 13:05:41 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager.go
// removing state that is newly added by an asynchronous call to // AddContainer() during the execution of this code. m.Lock() defer m.Unlock() // Get the list of admitted and active pods. activeAndAdmittedPods := m.activePods() if m.pendingAdmissionPod != nil { activeAndAdmittedPods = append(activeAndAdmittedPods, m.pendingAdmissionPod) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 00:50:45 UTC 2023 - 17.1K bytes - Viewed (1)