mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Explicitly set DNSDefault policy in Density test
This commit is contained in:
parent
494f47b0d4
commit
61fc0a1243
@ -453,6 +453,7 @@ func createRunningPod(wg *sync.WaitGroup, c *client.Client, name, ns, image stri
|
||||
Image: image,
|
||||
},
|
||||
},
|
||||
DNSPolicy: api.DNSDefault,
|
||||
},
|
||||
}
|
||||
_, err := c.Pods(ns).Create(pod)
|
||||
|
@ -1440,6 +1440,7 @@ func (config *RCConfig) create() error {
|
||||
Ports: []api.ContainerPort{{ContainerPort: 80}},
|
||||
},
|
||||
},
|
||||
DNSPolicy: api.DNSDefault,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user