ClusterComputers 是一款 Minecraft 模组,用于在 Minecraft 中运行由 Kubernetes 驱动的计算机。
ClusterComputers 的运作方式与其他计算机类模组(如 ComputerCraft 和 OpenComputers)类似。不过,其他计算机模组通常只提供受限的环境,仅允许运行 Lua 脚本。而 ClusterComputers 的目标是提供一个完全可定制的环境,让你能够运行任何你希望编写的代码。
它是通过在你在 Minecraft 中创建的每台计算机背后运行一个 Kubernetes Pod 来实现这一点的。该 Pod 包含一个标准容器,提供对 Linux 命令行的完整访问权限,并允许你使用任何你喜欢的编程语言。你还可以在容器内运行常规命令行程序,例如 vim 或 emacs。
默认的容器镜像附带了一个 Python 库,允许你使用 Python 控制计算机,但你也可以使用其他语言,或者完全使用不同的容器镜像。
虽然为每台计算机运行一个 Pod 提供了极高的可定制性,但也带来了一些缺点。在使用此模组之前,你需要设置一个 Kubernetes 集群,这需要一定的技术知识。与嵌入式 Lua 环境相比,运行这些 Pod 的成本也相对较高。
链接
⚠️ 此模组需要外部配置。在使用它之前,你需要设置一个 Kubernetes 集群并将所需的 ClusterComputers 组件部署到其中。
ClusterComputers is a Minecraft mod for running Kubernetes-powered computers in Minecraft.
ClusterComputers works similarly to other computer mods like ComputerCraft and OpenComputers. However, other computer mods tend to provide limited environments that only allow running Lua scripts. The goal of ClusterComputers is to provide a fully-customizable environment that allows for running any type of code that you want.
It accomplishes this by running a pod in Kubernetes for each computer that you create in Minecraft. The pod contains a regular container that provides full access to the Linux command line and allows you to use any programming language that you wish. You can also run regular command-line programs within the container, such as vim or emacs.
The default container image comes with a Python library that allows you to control computers using Python, but you can also use other languages, or use a different container image altogether.
Although running a pod for each computer provides a lot of customizability, it does come with downsides. Before you can use this mod, you need to set up a Kubernetes cluster, which requires technical knowledge. The pods are also relatively expensive to run compared to an embedded Lua environment.
Links
⚠️ This mod requires external setup. Before you can use it, you need to set up a Kubernetes cluster and deploy the required ClusterComputers components to it.
下载 ClusterComputers
下载 ClusterComputers
下载 ClusterComputers
下载 ClusterComputers
下载 ClusterComputers
下载 ClusterComputers
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
让你能够在世界中的任何位置定位结构。
模组
一款轻量级模组,允许服务器管理员对抗透视作弊者。
模组
AE2:一款流行的自动化与存储模组
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
自动附魔,搭配 Create
评论 0
登录后参与评分
还没有评论,来抢沙发吧