SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst

This commit is contained in:
Abhishek Shah
2015-10-14 10:34:29 -07:00
parent 71f2d5ed4d
commit 6c3a88cb3a
5 changed files with 28 additions and 13 deletions

View File

@@ -248,7 +248,7 @@ func startComponents(firstManifestURL, secondManifestURL string) (string, string
3*time.Second, /* NodeStatusUpdateFrequency */
10*time.Second, /* SyncFrequency */
40, /* MaxPods */
cm)
cm, net.ParseIP("127.0.0.1"))
kubeletapp.RunKubelet(kcfg)
// Kubelet (machine)
@@ -281,7 +281,8 @@ func startComponents(firstManifestURL, secondManifestURL string) (string, string
10*time.Second, /* SyncFrequency */
40, /* MaxPods */
cm)
cm,
net.ParseIP("127.0.0.1"))
kubeletapp.RunKubelet(kcfg)
return apiServer.URL, configFilePath