[英]Kubernetes on single Windows Server Core node cluster
My understanding is that Kubernetes is more efficient UI for managing large clusters of containers, otherwise you're stuck with the command line. 我的理解是,Kubernetes是用于管理大型容器集群的更有效的UI,否则您将被命令行所困扰。 As of August 2018, It seems multi-platform support on Docker for Windows is still experimental ( https://github.com/moby/moby/issues/33850 , https://github.com/docker/for-win/issues/2079 ).
随着2018年8月,这似乎对码头工人多平台支持Windows仍处于试验阶段( https://github.com/moby/moby/issues/33850 , https://github.com/docker/for-win/issues / 2079 )。 Running any Linux image with the --isolation hyperv after pulling with the --platform linux switches doesn't work if not running on expermintal flag.
如果未在expermintal标志上运行,则在使用--platform linux开关进行拉动之后,使用--isolation hyperv运行任何Linux映像将不起作用。 How to enable to experimental flag on Docker for Windows Server core isn't documented.
没有记录如何在Docker上为Windows Server Core启用实验性标志。 So setting up a single node kubernetes cluster on Windows Server 1803+ for QA purposes probably isn't well supported or even documented.
因此,可能无法很好地支持甚至没有记录在Windows Server 1803+上为QA设置单节点kubernetes集群。 Being an exclusive Windows shop, having to use a Kubernetes on Linux doesn't seem to make sense especially when the whole point of using Docker is to automate environments.
作为Windows的独家商店,在Linux上使用Kubernetes似乎没有任何意义,尤其是在使用Docker的全部目的是使环境自动化的时候。 What's the point of making environment configuration automatic when you still need to administer a Linux server.
当您仍然需要管理Linux服务器时,使环境配置自动进行的意义何在?
How do you setup Kubernetes on Windows Server Core 1803 as a single node cluster? 如何在Windows Server Core 1803上将Kubernetes设置为单节点群集?
You can quite easily set up one node Kubernetes cluster on Windows using minikube . 您可以使用minikube在Windows上轻松设置一个节点Kubernetes集群。 You can use a native hypervisor (Hyper-V) if you want, but it is more recommended to use VirtualBox at this time.
您可以根据需要使用本机虚拟机管理程序(Hyper-V),但建议此时使用VirtualBox 。
In both cases, a Linux virtual machine will run on your server, and you will be able to access it with the native version of kubectl
to manage the cluster. 在这两种情况下,Linux虚拟机都将在您的服务器上运行,并且您将能够使用本地版本的
kubectl
访问它来管理集群。
Here are two manuals that can help you to do that (I can guess it will work on the Windows Server in the same way): 这是两本可以帮助您做到这一点的手册(我想它可以以相同的方式在Windows Server上运行):
Here is an explanation of how you can use Windows server as a worker node in Kubernetes: 这是有关如何在Kubernetes中将Windows服务器用作工作节点的说明:
Microsoft announces that the next version of Windows Server will have better support of Kubenetes and it's ready for testing: 微软宣布,Windows Server的下一版本将更好地支持Kubenetes,并已准备好进行测试:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.