Fix flake in pod IP as env var e2e

This commit is contained in:
Paul Morie
2016-03-07 15:24:08 -05:00
parent 09f00aeb32
commit 5194c12d9e
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)
}