Merge pull request #22666 from pmorie/pod-ip-flake-redux

Fix flake in pod IP as env var e2e
This commit is contained in:
Brian Grant
2016-03-11 09:42:40 -08:00
7 changed files with 40 additions and 27 deletions

View File

@@ -39,7 +39,7 @@ type HandlerRunner interface {
// RuntimeHelper wraps kubelet to make container runtime
// able to get necessary informations like the RunContainerOptions, DNS settings.
type RuntimeHelper interface {
GenerateRunContainerOptions(pod *api.Pod, container *api.Container) (*RunContainerOptions, error)
GenerateRunContainerOptions(pod *api.Pod, container *api.Container, podIP string) (*RunContainerOptions, error)
GetClusterDNS(pod *api.Pod) (dnsServers []string, dnsSearches []string, err error)
}