// NewHamsterDeployment creates a simple hamster deployment for e2e test
// purposes.
NewHamsterDeployment creates a simple hamster deployment for e2e test
purposes.
// NewHamsterDeployment creates a simple hamster deployment for e2e test // purposes .
func NewHamsterDeployment(f *framework.Framework) *appsv1.Deployment {
	d := framework.NewDeployment("hamster-deployment", 3, map[string]string{"app": "hamster"}, "hamster", "k8s.gcr.io/ubuntu-slim:0.1", appsv1.RollingUpdateDeploymentStrategyType)
	d.ObjectMeta.Namespace = f.Namespace.Name
	d.Spec.Template.Spec.Containers[0].Command = []string{"/bin/sh"}
	d.Spec.Template.Spec.Containers[0].Args = []string{"-c", "/usr/bin/yes >/dev/null"}
	return d
}
func NewHamsterDeployment ( f * framework . Framework ) * appsv1 . Deployment { d := framework . NewDeployment ( " " , 3 , map [ string ] string { " " : " " } , " " , " " , appsv1 . RollingUpdateDeploymentStrategyType ) d . ObjectMeta . Namespace = f . Namespace . Name d . Spec . Template . Spec . Containers [ 0 ] . Command = [ ] string { " " } d . Spec . Template . Spec . Containers [ 0 ] . Args = [ ] string { " " , " " } return d }
NewHamsterDeployment creates a simple hamster deployment for e2e test
purposes.
NewHamsterDeployment creates a simple hamster deployment for e2e test purposes .