-
Notifications
You must be signed in to change notification settings - Fork 560
Unable to launch Windows v1803 Image In Kubernetes on ACS #2965
Comments
Could you run The error |
Yeah, I saw that issue before I deployed so manually updated the ARM template to the correct version. Can confirm that 1803 is deployed on the host:
The odd thing is, Docker its self is perfectly happy to deploy the same image on that host, manually doing that with docker run through the console works fine. It is just when I try to do it through Kubernetes. Is Kubernetes getting the OS version from somewhere else other than directly from the host or anything? |
I just confirmed the same error. I ran
|
Looks like acs-engine/pkg/acsengine/defaults.go Line 37 in 244d661
Contains the file for the I was able to change the |
@jackfrancis @JiangtianLi looks like the files for the windows binaries are not updated to support 1803. The pr #2958 won't work without updating the |
@jsturtevant |
This Dockerfile should be just a few lines. I propose we inline it into https://github.com/Azure/acs-engine/blob/master/parts/k8s/kuberneteswindowssetup.ps1#L216 and set the right version I don't know where it got put onto the acs-mirror, but here's the resulting file:
|
@jsturtevant does 1803 image work on 1709 host? |
@JiangtianLi nope I'm working on a proposed fix. Checking my version detection code right now |
nvm, I saw all the places in acs-engine has changed to 1803, except the disabled test and documentation: https://github.com/Azure/acs-engine/search?utf8=%E2%9C%93&q=1709&type= We may change that too. |
Fixed by #2976 (thanks @PatrickLang!) |
Is this a request for help?:
No
Is this an ISSUE or FEATURE REQUEST? (choose one):
Issue
What version of acs-engine?:
0.15.1
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.10
What happened:
When deploying an Windows Container using an 1803 image, on an 1803 node, it fails with the error : The operating system of the container does not match the operating system of the host. (0xc0370101)
Running the same container directly on the host machine using docker run works fine. I have confirmed both node and image are running 1803.
What you expected to happen:
Container to start
How to reproduce it (as minimally and precisely as possible):
Deploy an ACS Engine instance with Windows nodes based on the 1803 image, attempt to deploy a container using the microsoft/windowsservercore:1803 image.
Anything else we need to know:
Full error in Kubernetes;
The text was updated successfully, but these errors were encountered: