This post is the basic guide on installing the MongoDB replica set and providing a UI access to it on a Kubernetes cluster.
这篇文章是有关安装MongoDB副本集并在Kubernetes集群上提供对它的UI访问的基本指南。
I assume that you are already familiar with Kubernetes. I will use Google Kubernetes Engine as the Kubernetes environment, but you should be able to use any other environment. Before starting, make sure you are connected to the Kubernetes cluster.
我假设您已经熟悉Kubernetes。 我将使用Google Kubernetes Engine作为Kubernetes环境,但是您应该可以使用任何其他环境。 在开始之前,请确保您已连接到Kubernetes集群。
安装MongoDB Kubernetes运算符 (Install MongoDB Kubernetes Operator)
To install MongoDB replica set we will need to install an operator first. We will use the MongoDB Community Kubernetes Operator. For the latest and full version of installation steps, visit the official repository. Short summary:
要安装MongoDB副本集,我们需要首先安装一个操作员。 我们将使用MongoDB社区Kubernetes运营商 。 有关安装步骤的最新和完整版本,请访问