Перейти к файлу
Mark Rossetti 0570d8f83c
Merge pull request #5 from marosset/diagtrack
Deleting diagtrack service to improve pod start times
2022-06-08 11:58:43 -07:00
binaries Initial code commit 2021-12-10 16:45:04 -08:00
.gitignore Initial commit 2021-12-09 23:44:35 +00:00
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md committed 2021-12-09 15:44:43 -08:00
Dockerfile Deleting diagtrack service to improve pod start times 2022-06-08 11:55:28 -07:00
LICENSE spacing 2022-01-05 16:01:16 -08:00
README.md licensing 2022-01-05 15:57:40 -08:00
SECURITY.md SECURITY.md committed 2021-12-09 15:44:45 -08:00
SUPPORT.md SUPPORT.md committed 2021-12-09 15:44:46 -08:00

README.md

Project

Serves as the base image for the Windows pause image on Kubernetes (https://github.com/kubernetes/kubernetes).

image

Diagram: The change creates an intermediate layer between NanoServer and the Pause Image.

Why create an intermediate layer?

An intermediate layer is needed between NanoServer and the pause image to support DCOM scenarios in Kubernetes. The pause image was found to be hijacking the RPC port (port 135) for its entire pod. The Pause Base Image modifies a set of registry keys preventing other containers in the pod from using RPC. The dockerfile containing these modifying instructions can be found in this repo.

Additionally, having a dedicated pause base image (built on Windows) will allow for more effective solutions regarding the composition of the pause image.

Modified Registry Keys

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\rpc

  • "DCOM Protocols"=hex(7):00,00
  • "UuidSequenceNumber"=dword:01bcf674
  • "EpMapDisallowedProtocols"="ncacn_ip_tcp"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ole

  • "EnableDCOM"="N"

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Licensing

This project is licensed under the MIT license. However, please be aware that it is based on a Windows container base image which is subject to a separate license located in the license file in the image or at: MICROSOFT SOFTWARE SUPPLEMENTAL LICENSE FOR WINDOWS CONTAINER BASE IMAGE.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.