Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for admitted (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/kubelet/lifecycle/predicate_test.go

    			expectRejection: true,
    		},
    		{
    			name:            "No label selector on the pod, should be admitted",
    			pod:             &v1.Pod{},
    			node:            &v1.Node{Spec: v1.NodeSpec{}, ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{v1.LabelOSStable: "dummyOS"}}},
    			expectRejection: false,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. 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)
  6. plugin/pkg/admission/serviceaccount/admission.go

    		return fmt.Errorf("missing client")
    	}
    	if s.serviceAccountLister == nil {
    		return fmt.Errorf("missing serviceAccountLister")
    	}
    	return nil
    }
    
    // Admit verifies if the pod should be admitted
    func (s *Plugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) {
    	if shouldIgnore(a) {
    		return nil
    	}
    	if a.GetOperation() != admission.Create {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/eviction_manager.go

    	// If the pod is marked as critical and static, and support for critical pod annotations is enabled,
    	// do not evict such pods. Static pods are not re-admitted after evictions.
    	// https://github.com/kubernetes/kubernetes/issues/40573 has more details.
    	if kubelettypes.IsCriticalPod(pod) {
    		klog.ErrorS(nil, "Eviction manager: cannot evict a critical pod", "pod", klog.KObj(pod))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

    in a single admission evaluation.\n\nIfNeeded: 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. * if additional invocations result in further modifications to the object,...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go

    in a single admission evaluation.\n\nIfNeeded: 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. * if additional invocations result in further modifications to the object,...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  10. pkg/kubelet/metrics/metrics.go

    	MirrorPodCount = metrics.NewGauge(
    		&metrics.GaugeOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           MirrorPodCountKey,
    			Help:           "The number of mirror pods the kubelet will try to create (one per admitted static pod)",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    	// WorkingPodCount tracks the count of pods in each lifecycle phase, whether they are static pods, and whether they are desired, orphaned, or runtime_only
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
Back to top