Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't start pods in Windows Server core 1903 #80023
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Kubernetes version (use kubectl version): v1.14.3
I opened an issue previously with the same error on windows 2019: #74066
That error was caused by a pause image built on a different version of windows. I've checked the kubeletwin/pause image, and the microsoft/nanoserver:latest image, and both are the correct version, and run when I start them directly from Docker.
It turns out that newer versions of k8s no longer use kubeletwin/pause as Pause image, but use mcr.microsoft.com/k8s/core/pause:1.0.0 instead.
Sadly noone bothered to document this.
The fix for this problem in server 1903 is to use the following Dockerfile:
And then run docker build . -t kubeletwin/pause -t mcr.microsoft.com/k8s/core/pause:1.0.0
I've opened a feature request to enable automatic choosing of the correct pause image here: #80032