Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] fix the img src directory of namespace doc. #1038

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/user-guide/admin-usage/namepsace.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,33 @@ Note: To facilitate usage, a default namespace already exists in the system; ple

Users log into the ShenYu Admin backend and select 【Basic Config - Namespace】.

<img src="/img/shenyu/basicConfig/namepsace/namespace-manager-en.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-manager-en.png" width="80%" height="50%" />

In the namespace management module, click Add Data to create a new namespace. Simply fill in the 【Name】 and 【Description】 fields; the system will automatically generate a namespaceId.

<img src="/img/shenyu/basicConfig/namepsace/namespace-add-en.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-add-en.png" width="80%" height="50%" />

After successful creation, a unique namespaceId will be automatically generated.

<img src="/img/shenyu/basicConfig/namepsace/namespace-Id-en.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-Id-en.png" width="80%" height="50%" />

### 2.Configure Namespace for Downstream Services (shenyu-client)

Once you have the namespaceId, you can configure it in the downstream services (already integrated with shenyu-client) in the configuration file to use one or more namespaceIds.

<img src="/img/shenyu/basicConfig/namepsace/namespace-shenyu-client.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-shenyu-client.png" width="80%" height="50%" />

### 3.Manage Data the Namespace

Once data from Shenyu-client is registered under the specified namespace in Shenyu-admin, the backend management supports isolated gateway data. Users can switch between different namespaces for operations via the button in the upper right corner.

<img src="/img/shenyu/basicConfig/namepsace/namespace-divide-en.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-divide-en.png" width="80%" height="50%" />

### 4.Configure Namespace for Gateway (bootstrap)

Note: A gateway can only bind to a single unique namespaceId

<img src="/img/shenyu/basicConfig/namepsace/namespace-bootstrap.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-bootstrap.png" width="80%" height="50%" />

## 3.Important Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,33 @@

用户登录shenyu-admin后台,选择【基础配置-命名空间管理】

<img src="/img/shenyu/basicConfig/namepsace/namespace-manager.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-manager.png" width="80%" height="50%" />

命名空间管理模块下点击添加数据即可新增命名空间,只需填写【名字】和【描述】系统会自动生成namespaceId

<img src="/img/shenyu/basicConfig/namepsace/namespace-add.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-add.png" width="80%" height="50%" />

创建成功后会自动生成唯一namespaceId

<img src="/img/shenyu/basicConfig/namepsace/namespace-Id.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-Id.png" width="80%" height="50%" />

### 2.下游服务配置命名空间(shenyu-client)

得到namespaceId以后,我们可以在下游服务(已经引入shenyu-client),配置文件中配置单个或多个namespaceId

<img src="/img/shenyu/basicConfig/namepsace/namespace-shenyu-client.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-shenyu-client.png" width="80%" height="50%" />

### 3.管理命名空间下的数据

在Shenyu-client的数据注册到Shenyu-admin指定的命名空间下后。在后台管理端中,支持命名空间隔离的网关数据,用户可以通过右上角按钮切换到不同命名空间下进行操作

<img src="/img/shenyu/basicConfig/namepsace/namespace-divide.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-divide.png" width="80%" height="50%" />

### 4.网关配置命名空间(bootstrap)

注意:一个网关只能绑定唯一namespaceId

<img src="/img/shenyu/basicConfig/namepsace/namespace-bootstrap.png" width="80%" height="50%" />
<img src="/img/shenyu/basicConfig/namespace/namespace-bootstrap.png" width="80%" height="50%" />

## 3.重要改动说明

Expand Down
Loading