Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for admitPodEviction (0.47 sec)

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

    			return false
    		}
    		if claimNameA != nil && *claimNameA != *claimNameB {
    			return false
    		}
    	}
    	return true
    }
    
    // admitPodEviction allows to evict a pod if it is assigned to the current node.
    func (p *Plugin) admitPodEviction(nodeName string, a admission.Attributes) error {
    	switch a.GetOperation() {
    	case admission.Create:
    		// require eviction to an existing pod object
    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