I have 1 Linux node and 1 windows node running Kubernetes 1.15.4.
I’m trying to deploy a sample ASPNet application to the Windows node and the deployment fails because the Windows node cannot download the image.
Type Reason Age From Message
Normal Scheduled 3m2s default-scheduler Successfully assigned default/sample-8697d596f5-bxmrl to win1-k8s
Warning Failed 17s kubelet, win1-k8s Failed to pull image “mcr.microsoft.com/dotnet/framework/samples:aspnetapp”: rpc error: code = Unknown desc = context canceled
Warning Failed 17s kubelet, win1-k8s Error: ErrImagePull
Warning Failed 17s kubelet, win1-k8s Error: ImagePullBackOff
Warning MissingClusterDNS 3s (x4 over 3m1s) kubelet, win1-k8s pod: “sample-8697d596f5-bxmrl_default(7f8e1feb-d660-462b-b731-01cb5ae4ec3c)”. kubelet does not have ClusterDNS IP configured and cannot create Pod using “ClusterFirst” policy. Falling back to “Default” policy.
The deployment will succeed if I download the image to the Windows node first. But it still shows the “kubelet does not have ClusterDNS IP configured…” warning.