func (j *TestJig) CreateServicePods(replica int) error {
	config := testutils.RCConfig{
		Client:       j.Client,
		Name:         j.Name,
		Image:        framework.ServeHostnameImage,
		Command:      []string{"/agnhost", "serve-hostname"},
		Namespace:    j.Namespace,
		Labels:       j.Labels,
		PollInterval: 3 * time.Second,
		Timeout:      framework.PodReadyBeforeTimeout,
		Replicas:     replica,
	}
	return e2erc.RunRC(config)
}
// CreateServicePods creates a replication controller with the label same as service. Service listens to HTTP.
CreateServicePods creates a replication controller with the label same as service. Service listens to HTTP.
// CreateServicePods creates a replication controller with the label same as service . Service listens to HTTP .
func (j *TestJig) CreateServicePods(replica int) error {
	config := testutils.RCConfig{
		Client:       j.Client,
		Name:         j.Name,
		Image:        framework.ServeHostnameImage,
		Command:      []string{"/agnhost", "serve-hostname"},
		Namespace:    j.Namespace,
		Labels:       j.Labels,
		PollInterval: 3 * time.Second,
		Timeout:      framework.PodReadyBeforeTimeout,
		Replicas:     replica,
	}
	return e2erc.RunRC(config)
}
func ( j * TestJig ) CreateServicePods ( replica int ) error { config := testutils . RCConfig { Client : j . Client , Name : j . Name , Image : framework . ServeHostnameImage , Command : [ ] string { " " , " " } , Namespace : j . Namespace , Labels : j . Labels , PollInterval : 3 * time . Second , Timeout : framework . PodReadyBeforeTimeout , Replicas : replica , } return e2erc . RunRC ( config ) }
CreateServicePods creates a replication controller with the label same as service.
CreateServicePods creates a replication controller with the label same as service .