[英]LXD vs classic VMs in production Cluster (Kubernetes)
I'm setting up a bare-metal hypervisor with VMware ESXi on a local server which will have a kubernetes cluster.我正在本地服务器上使用 VMware ESXi 设置裸机管理程序,该服务器将具有 kubernetes 集群。
Should I use Linux containers with LXD to set up my Kubernetes cluster?我应该使用带有 LXD 的Linux容器来设置我的 Kubernetes 集群吗? or should I use several VMs that I can provide with my VMware hypervisor?或者我应该使用几个可以随 VMware虚拟机管理程序一起提供的虚拟机?
I'm not sure what you are referring to by using LXD to set up your Kubernetes cluster.我不确定您使用 LXD 设置 Kubernetes 集群指的是什么。 Kubernetes doesn't officially support LXC/LXD . Kubernetes 不正式支持LXC/LXD 。
So, you can use several VMs for your Kubernetes control (masters) and data planes (nodes).因此,您可以为您的 Kubernetes 控制(主)和数据平面(节点)使用多个 VM。 You can either use straight docker or any containerd or cri-o as shims to run your container runtime.您可以直接使用 docker 或任何containerd或cri-o作为 shim 来运行容器运行时。
In any case, most of this stuff is already set up by the deployment tools like:无论如何,这些东西中的大部分已经由部署工具设置好了,比如:
If you are looking for something more minimal you can try:如果您正在寻找更简单的东西,您可以尝试:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.