// NewHamsterDeploymentWithResources creates a simple hamster deployment with specific
// resource requests for e2e test purposes.
NewHamsterDeploymentWithResources creates a simple hamster deployment with specific
resource requests for e2e test purposes.
// NewHamsterDeploymentWithResources creates a simple hamster deployment with specific // resource requests for e2e test purposes .
func NewHamsterDeploymentWithResources(f *framework.Framework, cpuQuantity, memoryQuantity resource.Quantity) *appsv1.Deployment {
	d := NewHamsterDeployment(f)
	d.Spec.Template.Spec.Containers[0].Resources.Requests = v1.ResourceList{
		v1.ResourceCPU:    cpuQuantity,
		v1.ResourceMemory: memoryQuantity,
	}
	return d
}
func NewHamsterDeploymentWithResources ( f * framework . Framework , cpuQuantity , memoryQuantity resource . Quantity ) * appsv1 . Deployment { d := NewHamsterDeployment ( f ) d . Spec . Template . Spec . Containers [ 0 ] . Resources . Requests = v1 . ResourceList { v1 . ResourceCPU : cpuQuantity , v1 . ResourceMemory : memoryQuantity , } return d }
NewHamsterDeploymentWithResources creates a simple hamster deployment with specific
resource requests for e2e test purposes.
NewHamsterDeploymentWithResources creates a simple hamster deployment with specific resource requests for e2e test purposes .