mirror of https://github.com/k3s-io/k3s
Merge pull request #12917 from mesosphere/fix-nodeport
Declare e2e NodePort test container portpull/6/head
commit
606cc1be39
|
@ -1467,7 +1467,7 @@ func (t *WebserverTest) BuildServiceSpec() *api.Service {
|
|||
// CreateWebserverRC creates rc-backed pods with the well-known webserver
|
||||
// configuration and records it for cleanup.
|
||||
func (t *WebserverTest) CreateWebserverRC(replicas int) *api.ReplicationController {
|
||||
rcSpec := rcByName(t.name, replicas, t.image, t.Labels)
|
||||
rcSpec := rcByNamePort(t.name, replicas, t.image, 80, t.Labels)
|
||||
rcAct, err := t.createRC(rcSpec)
|
||||
if err != nil {
|
||||
Failf("Failed to create rc %s: %v", rcSpec.Name, err)
|
||||
|
|
Loading…
Reference in New Issue