Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for admitPodCreate (0.18 sec)

  1. plugin/pkg/admission/noderestriction/admission.go

    // current node and fulfills related criteria.
    func (p *Plugin) admitPod(nodeName string, a admission.Attributes) error {
    	switch a.GetOperation() {
    	case admission.Create:
    		return p.admitPodCreate(nodeName, a)
    
    	case admission.Delete:
    		// get the existing pod
    		existingPod, err := p.podsGetter.Pods(a.GetNamespace()).Get(a.GetName())
    		if apierrors.IsNotFound(err) {
    			return err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top