mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Remove hostPort from several tests.
This commit is contained in:
parent
dd912936bc
commit
c83c571cc7
@ -167,7 +167,7 @@ var _ = Describe("Pods", func() {
|
||||
{
|
||||
Name: "nginx",
|
||||
Image: "dockerfile/nginx",
|
||||
Ports: []api.Port{{ContainerPort: 80, HostPort: 8080}},
|
||||
Ports: []api.Port{{ContainerPort: 80}},
|
||||
LivenessProbe: &api.Probe{
|
||||
Handler: api.Handler{
|
||||
HTTPGet: &api.HTTPGetAction{
|
||||
@ -238,7 +238,7 @@ var _ = Describe("Pods", func() {
|
||||
{
|
||||
Name: "srv",
|
||||
Image: "kubernetes/serve_hostname",
|
||||
Ports: []api.Port{{ContainerPort: 9376, HostPort: 8080}},
|
||||
Ports: []api.Port{{ContainerPort: 9376}},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user