Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PodQOSClass (0.09 sec)

  1. pkg/registry/core/pod/strategy_test.go

    			Name: name,
    		},
    		Spec: api.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    func TestGetPodQOS(t *testing.T) {
    	testCases := []struct {
    		pod      *api.Pod
    		expected api.PodQOSClass
    	}{
    		{
    			pod: newPod("guaranteed", []api.Container{
    				newContainer("guaranteed", getResourceList("100m", "100Mi"), getResourceList("100m", "100Mi")),
    			}),
    			expected: api.PodQOSGuaranteed,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
Back to top