const postTestConditionMonitoringPeriod …
const evictionPollInterval …
const pressureDisappearTimeout …
const pressureDelay …
const testContextFmt …
const noPressure …
const lotsOfDisk …
const lotsOfFiles …
const resourceInodes …
const noStarvedResource …
var _ …
var _ …
var _ …
var _ …
var _ …
var _ …
var _ …
var _ …
var _ …
var _ …
type podEvictSpec …
func runEvictionTest(f *framework.Framework, pressureTimeout time.Duration, expectedNodeCondition v1.NodeConditionType, expectedStarvedResource v1.ResourceName, logFunc func(ctx context.Context), testSpecs []podEvictSpec) { … }
func verifyEvictionOrdering(ctx context.Context, f *framework.Framework, testSpecs []podEvictSpec) error { … }
func verifyEvictionPeriod(ctx context.Context, f *framework.Framework, testSpecs []podEvictSpec, nodeUnreadyTime time.Time) { … }
func verifyPodConditions(ctx context.Context, f *framework.Framework, testSpecs []podEvictSpec) { … }
func verifyEvictionEvents(ctx context.Context, f *framework.Framework, testSpecs []podEvictSpec, expectedStarvedResource v1.ResourceName) { … }
func hasNodeCondition(ctx context.Context, f *framework.Framework, expectedNodeCondition v1.NodeConditionType) bool { … }
func logInodeMetrics(ctx context.Context) { … }
func logDiskMetrics(ctx context.Context) { … }
func logMemoryMetrics(ctx context.Context) { … }
func logPidMetrics(ctx context.Context) { … }
func eventuallyGetSummary(ctx context.Context) (s *kubeletstatsv1alpha1.Summary) { … }
func innocentPod() *v1.Pod { … }
const volumeMountPath …
const volumeName …
func inodeConsumingPod(name string, numFiles int, volumeSource *v1.VolumeSource) *v1.Pod { … }
func diskConsumingPod(name string, diskConsumedMB int, volumeSource *v1.VolumeSource, resources v1.ResourceRequirements) *v1.Pod { … }
func pidConsumingPod(name string, numProcesses int) *v1.Pod { … }
func podWithCommand(volumeSource *v1.VolumeSource, resources v1.ResourceRequirements, iterations int, name, command string) *v1.Pod { … }
func getMemhogPod(podName string, ctnName string, res v1.ResourceRequirements) *v1.Pod { … }