Commit d0cd1d17 authored by Pengfei Ni's avatar Pengfei Ni

Add clarification for Windows DNS setup flow

parent 10b6f405
...@@ -148,7 +148,11 @@ func (ds *dockerService) determinePodIPBySandboxID(sandboxID string) string { ...@@ -148,7 +148,11 @@ func (ds *dockerService) determinePodIPBySandboxID(sandboxID string) string {
return containerIP return containerIP
} }
} else { } else {
// Do not return any IP, so that we would continue and get the IP of the Sandbox // Do not return any IP, so that we would continue and get the IP of the Sandbox.
// Windows 1709 and 1803 doesn't have the Namespace support, so getIP() is called
// to replicate the DNS registry key to the Workload container (IP/Gateway/MAC is
// set separately than DNS).
// TODO(feiskyer): remove this workaround after Namespace is supported in Windows RS5.
ds.getIP(sandboxID, r) ds.getIP(sandboxID, r)
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment