Skip to content

Commit

Permalink
feat: added k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Mar 21, 2024
1 parent 91cf41b commit 1ea2a09
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
14 changes: 12 additions & 2 deletions docs/en/pro/installation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Installation

Crawlab Pro is distributed via [Docker](https://www.docker.com/). You can install it on any platform that supports
Docker.
Docker. You can pull the Crawlab Pro image directly from Docker Hub and then configure it via Docker-Compose.

::: tip
If you use Kubernetes, you can also configure it by creating Kubernetes resources. The installation process is very
similar to [Crawlab Community Edition Installation](../guide/installation/kubernetes.md). The only difference is that
you need to change the image name to `crawlabteam/crawlab-pro` and add the environment
variable `CRAWLAB_LICENSE: <your_license>`.
:::

This guide will show you how to install Crawlab Pro in a Docker environment.

## Prerequisites

Expand All @@ -20,7 +29,8 @@ If you don't know how to obtain licenses, please refer to [Crawlab Pro License](
:::

The main process of installing Crawlab Pro is quite similar to that of Crawlab Community except that it requires
a [license](./license). You can refer to [Crawlab Community Installation via Docker](../guide/installation/docker) for more
a [license](./license). You can refer to [Crawlab Community Installation via Docker](../guide/installation/docker) for
more
information.

1. Install [Docker](https://www.docker.com/) and [Docker-Compose](https://docs.docker.com/compose/)
Expand Down
13 changes: 12 additions & 1 deletion docs/zh/pro/installation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# 安装

Crawlab 专业版通过 Docker 镜像的方式提供,您可以在任何支持 Docker 的环境中安装。
Crawlab 专业版通过 Docker 镜像的方式提供,您可以在任何支持 Docker 的环境中安装。您可以直接通过 Docker Hub 来拉取 Crawlab
专业版的镜像,然后通过 Docker-Compose 来进行配置。

::: tip
如果您使用 Kubernetes,也可以通过创建 Kubernetes
资源来进行配置,安装方式跟社区版[Kubernetes安装](../guide/installation/kubernetes.md)
非常相似,唯一不同的是你需要更改镜像名为 `crawlabteam/crawlab-pro`,还有环境变量加入 `CRAWLAB_LICENSE: <your_license>`
:::

本指南将会介绍如何在 Docker 环境中安装 Crawlab 专业版。

## 前提条件

Expand Down Expand Up @@ -241,3 +250,5 @@ services:

可以看到,服务 `mongo` 被移除了,MongoDB 连接相关的环境变量 (例如 `CRAWLAB_MONGO_HOST`, `CRAWLAB_MONGO_PORT`) 指向了外部
MongoDB。您可以将其中一些不需要设置的环境变量留空。

## Kubernetes 部署

0 comments on commit 1ea2a09

Please sign in to comment.