Skip to content

Commit

Permalink
fix(docs): update kuiper-manager overview introduction to 1.5 (#1298)
Browse files Browse the repository at this point in the history
Signed-off-by: Jianxiang Ran <rxan_embedded@163.com>
  • Loading branch information
superrxan authored Jun 10, 2022
1 parent e600864 commit 514890f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions docs/en_US/operation/manager-ui/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ From eKuiper version 0.9.1, whenever a new version of eKuiper is released, the c

### Install eKuiper

- Pull eKuiper's Docker image from [Docker Image Library](https://hub.docker.com/r/lfedge/ekuiper/tags). Since it is required to install the plugin in this article, you must use the `ekuiper:1.4-slim` image (`ekuiper:1.4-alpine` image is relatively small and easy to install, but due to the lack of some necessary library files, the plug-in cannot run normally. The `ekuiper:1.4` image is the development version, which is suitable for use in the development phase).
- Pull eKuiper's Docker image from [Docker Image Library](https://hub.docker.com/r/lfedge/ekuiper/tags). Since it is required to install the plugin in this article, you must use the `ekuiper:1.5-slim` image (`ekuiper:1.5-alpine` image is relatively small and easy to install, but due to the lack of some necessary library files, the plug-in cannot run normally. The `ekuiper:1.5` image is the development version, which is suitable for use in the development phase).

```shell
docker pull lfedge/ekuiper:1.4-slim
docker pull lfedge/ekuiper:1.5-slim
```

- Run the eKuiper container (for convenience, we will use the public MQTT server provided by [EMQ](https://www.emqx.io), and the address can be set by the `-e` option when running the container). If you want to access the eKuiper instance through the host, you can expose port 9081 by adding the `-p 9081:9081` parameter when starting the container.

```shell
# docker run -d --name kuiper -e MQTT_SOURCE__DEFAULT__SERVER="tcp://broker.emqx.io:1883" lfedge/ekuiper:1.4-slim
# docker run -d --name kuiper -e MQTT_SOURCE__DEFAULT__SERVER="tcp://broker.emqx.io:1883" lfedge/ekuiper:1.5-slim
```

When the container is running, the MQTT server address can be set through the `-e` option, and the data is written to the MQTT source configuration file, which can be viewed by the following command:
Expand All @@ -56,16 +56,16 @@ From eKuiper version 0.9.1, whenever a new version of eKuiper is released, the c

### Install management console

- Pull the Docker image of kuiper-manager from [Docker Image Library](https://hub.docker.com/r/emqx/ekuiper-manager/tags), and `1.4-ief` is a dedicated image for Huawei IEF users, This example uses the `1.4` image.
- Pull the Docker image of kuiper-manager from [Docker Image Library](https://hub.docker.com/r/emqx/ekuiper-manager/tags), and `1.5-ief` is a dedicated image for Huawei IEF users, This example uses the `1.5` image.

```shell
docker pull emqx/ekuiper-manager:1.4
docker pull emqx/ekuiper-manager:1.5
```

- Run the Kuiper-manager container and expose port 9082.

```shell
docker run --name kuiperManager -d -p 9082:9082 emqx/ekuiper-manager:1.4
docker run --name kuiperManager -d -p 9082:9082 emqx/ekuiper-manager:1.5
```

## Getting started
Expand Down
12 changes: 6 additions & 6 deletions docs/zh_CN/operation/manager-ui/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@

### 安装 eKuiper

-[Docker 镜像库](https://hub.docker.com/r/lfedge/ekuiper/tags)拉取 eKuiper 的 Docker 镜像。由于本文中要安装插件,必须使用`ekuiper:1.4-slim`镜像(`ekuiper:1.4-alpine` 镜像比较小,安装比较方便,但是由于缺少一些必要的库文件,插件无法正常运行;而 `ekuiper:1.4` 镜像是开发版本的镜像,适合于开发阶段使用)。
-[Docker 镜像库](https://hub.docker.com/r/lfedge/ekuiper/tags)拉取 eKuiper 的 Docker 镜像。由于本文中要安装插件,必须使用`ekuiper:1.5-slim`镜像(`ekuiper:1.5-alpine` 镜像比较小,安装比较方便,但是由于缺少一些必要的库文件,插件无法正常运行;而 `ekuiper:1.5` 镜像是开发版本的镜像,适合于开发阶段使用)。

```shell
docker pull lfedge/ekuiper:1.4-slim
docker pull lfedge/ekuiper:1.5-slim
```

- 运行 eKuiper 容器(为了方便,我们将使用由 [EMQ](https://www.emqx.cn) 提供的公有 MQTT 服务器,在运行容器时可通过 `-e` 选项设置地址)。如果您想通过主机访问 eKuiper 实例,可以通过在启动容器的时候加入 `-p 9081:9081` 参数来暴露 9081 端口。

```shell
# docker run -d --name kuiper -e MQTT_SOURCE__DEFAULT__SERVER="tcp://broker.emqx.io:1883" lfedge/ekuiper:1.4-slim
# docker run -d --name kuiper -e MQTT_SOURCE__DEFAULT__SERVER="tcp://broker.emqx.io:1883" lfedge/ekuiper:1.5-slim
```

在运行容器时通过 `-e` 选项设置了 MQTT 服务器地址,数据写到了 MQTT 源配置文件中,通过以下命令可以查看:
Expand All @@ -56,16 +56,16 @@

### 安装管理控制台

-[Docker 镜像库](https://hub.docker.com/r/emqx/ekuiper-manager/tags) 拉取 kuiper-manager 的 Docker 镜像 ,`1.4-ief` 为华为 IEF 用户专用镜像,本例使用`1.4` 镜像。
-[Docker 镜像库](https://hub.docker.com/r/emqx/ekuiper-manager/tags) 拉取 kuiper-manager 的 Docker 镜像 ,`1.5-ief` 为华为 IEF 用户专用镜像,本例使用`1.5` 镜像。

```shell
docker pull emqx/ekuiper-manager:1.4
docker pull emqx/ekuiper-manager:1.5
```

- 运行 Kuiper-manager 容器并暴露 9082 端口。

```shell
docker run --name kuiperManager -d -p 9082:9082 emqx/ekuiper-manager:1.4
docker run --name kuiperManager -d -p 9082:9082 emqx/ekuiper-manager:1.5
```

## 开始使用
Expand Down

0 comments on commit 514890f

Please sign in to comment.