Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMergePodResourceRequirements (0.38 sec)

  1. plugin/pkg/admission/limitranger/admission_test.go

    }
    
    func expectNoAnnotation(t *testing.T, pod *api.Pod) {
    	if a, ok := pod.ObjectMeta.Annotations[limitRangerAnnotation]; ok {
    		t.Errorf("Expected no annotation but got %v", a)
    	}
    }
    
    func TestMergePodResourceRequirements(t *testing.T) {
    	limitRange := validLimitRange()
    
    	// pod with no resources enumerated should get each resource from default request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top