Skip to content

Commit c2f79d9

Browse files
authored
chore: fix some words (#955)
fix
1 parent 447d9b7 commit c2f79d9

File tree

20 files changed

+64
-64
lines changed

20 files changed

+64
-64
lines changed

cmd/kuscia/modules/controllers.go

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -63,46 +63,46 @@ func NewControllersModule(i *ModuleRuntimeConfigs) (Module, error) {
6363
opt, i.Clients,
6464
[]controllers.ControllerConstruction{
6565
{
66-
NewControler: taskresourcegroup.NewController,
67-
CRDNames: []string{controllers.CRDTaskResourcesGroupsName, controllers.CRDTaskResourcesName},
66+
NewController: taskresourcegroup.NewController,
67+
CRDNames: []string{controllers.CRDTaskResourcesGroupsName, controllers.CRDTaskResourcesName},
6868
},
6969
{
70-
NewControler: domain.NewController,
71-
CRDNames: []string{controllers.CRDDomainsName},
70+
NewController: domain.NewController,
71+
CRDNames: []string{controllers.CRDDomainsName},
7272
},
7373
{
74-
NewControler: kusciatask.NewController,
75-
CRDNames: []string{controllers.CRDKusciaTasksName, controllers.CRDAppImagesName},
74+
NewController: kusciatask.NewController,
75+
CRDNames: []string{controllers.CRDKusciaTasksName, controllers.CRDAppImagesName},
7676
},
7777
{
78-
NewControler: domainroute.NewController,
79-
CRDNames: []string{controllers.CRDDomainsName, controllers.CRDDomainRoutesName, controllers.CRDGatewaysName},
78+
NewController: domainroute.NewController,
79+
CRDNames: []string{controllers.CRDDomainsName, controllers.CRDDomainRoutesName, controllers.CRDGatewaysName},
8080
},
8181
{
82-
NewControler: clusterdomainroute.NewController,
83-
CRDNames: []string{controllers.CRDDomainsName, controllers.CRDClusterDomainRoutesName, controllers.CRDDomainRoutesName, controllers.CRDGatewaysName},
82+
NewController: clusterdomainroute.NewController,
83+
CRDNames: []string{controllers.CRDDomainsName, controllers.CRDClusterDomainRoutesName, controllers.CRDDomainRoutesName, controllers.CRDGatewaysName},
8484
},
8585
{
86-
NewControler: kusciajob.NewController,
87-
CRDNames: []string{controllers.CRDKusciaJobsName},
86+
NewController: kusciajob.NewController,
87+
CRDNames: []string{controllers.CRDKusciaJobsName},
8888
},
8989
{
90-
NewControler: kusciadeployment.NewController,
91-
CRDNames: []string{controllers.CRDKusciaDeploymentsName},
90+
NewController: kusciadeployment.NewController,
91+
CRDNames: []string{controllers.CRDKusciaDeploymentsName},
9292
},
9393
{
94-
NewControler: domaindata.NewController,
95-
CRDNames: []string{controllers.CRDDomainsName, controllers.CRDDomainDataGrantsName},
94+
NewController: domaindata.NewController,
95+
CRDNames: []string{controllers.CRDDomainsName, controllers.CRDDomainDataGrantsName},
9696
},
9797
{
98-
NewControler: portflake.NewController,
98+
NewController: portflake.NewController,
9999
},
100100

101101
{
102-
NewControler: garbagecollection.NewKusciaJobGCController,
102+
NewController: garbagecollection.NewKusciaJobGCController,
103103
},
104104
{
105-
NewControler: garbagecollection.NewKusciaDomainDataGCController,
105+
NewController: garbagecollection.NewKusciaDomainDataGCController,
106106
},
107107
},
108108
), nil

docs/deployment/diagnose_tool.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Diagnose Config:
4747
--TestProxyBuffer: true
4848
--TestRequestBodySize: true, Threshold: 1
4949
--BidrectionMode: true
50-
diagnose <alice-bob> network statitsics
50+
diagnose <alice-bob> network statistics
5151
diagnose crd config
5252
Run CONNECTION task
5353
Run BANDWIDTH task, threshold: 10Mbits/sec
@@ -63,7 +63,7 @@ CRD CONFIG CHECK:
6363
| bob-alice | cdr | [PASS] | |
6464
+-----------+------+--------+-------------+
6565
66-
NETWORK STATSTICS(alice-bob):
66+
NETWORK STATISTICS(alice-bob):
6767
+-------------------+---------------------+-------------+--------+-------------+
6868
| NAME | DETECTED VALUE | THRESHOLD | RESULT | INFORMATION |
6969
+-------------------+---------------------+-------------+--------+-------------+
@@ -81,19 +81,19 @@ NETWORK STATSTICS(alice-bob):
8181
~~~
8282
REPORT:
8383
CRD CONFIG CHECK:
84-
+-----------+------+--------+----------------------------------+
85-
| NAME | TYPE | RESULT | INFORMATION |
86-
+-----------+------+--------+----------------------------------+
87-
| alice-bob | cdr | [FAIL] | cdr alice-bob status |
88-
| | | | not succeeded, reason: |
89-
| | | | LastUpdateAt=2024-08-14 |
90-
| | | | 14:52:03 +0800 CST, |
91-
| | | | Message=TokenNotGenerate, |
92-
| | | | Reason:DestinationIsNotAuthrized |
93-
| bob-alice | cdr | [PASS] | |
94-
+-----------+------+--------+----------------------------------+
95-
96-
NETWORK STATSTICS(alice-bob):
84+
+-----------+------+--------+-----------------------------------+
85+
| NAME | TYPE | RESULT | INFORMATION |
86+
+-----------+------+--------+-----------------------------------+
87+
| alice-bob | cdr | [FAIL] | cdr alice-bob status |
88+
| | | | not succeeded, reason: |
89+
| | | | LastUpdateAt=2024-08-14 |
90+
| | | | 14:52:03 +0800 CST, |
91+
| | | | Message=TokenNotGenerate, |
92+
| | | | Reason:DestinationIsNotAuthorized |
93+
| bob-alice | cdr | [PASS] | |
94+
+-----------+------+--------+-----------------------------------+
95+
96+
NETWORK STATISTICS(alice-bob):
9797
+-------------------+---------------------+-------------+-----------+--------------------------------+
9898
| NAME | DETECTED VALUE | THRESHOLD | RESULT | INFORMATION |
9999
+-------------------+---------------------+-------------+-----------+--------------------------------+
@@ -109,13 +109,13 @@ NETWORK STATSTICS(alice-bob):
109109
### 报告字段说明
110110

111111
- CRD Config Check: 检查配置的 ClusterDomainRoute 是否有效,若为 FAIL,则说明 CDR 配置有误或节点本身网络不通。
112-
- NETWORK STATSTICS(alice-bob):Alice 到 Bob 的请求链路网络指标,包含:
112+
- NETWORK STATISTICS(alice-bob):Alice 到 Bob 的请求链路网络指标,包含:
113113
- BANDWIDTH:网络带宽指标,默认阈值为 10Mbits/sec,可通过配置 `--speed_thres \<theshold\>` 调整,当带宽检测值(DETECTED VALUE)小于10Mbits/sec 时,结果为 WARNING;
114114
- CONNECTION:联通性,检测 Kuscia Job 的服务网络联通;
115115
- PROXY_BUFFER:网关缓冲,结果为FAIL时表示网关存在缓冲,需要联系机构网关关闭网关缓冲;
116116
- REQUEST_BODY_SIZE:网关请求包体限制,默认阈值为 1MB,可通过配置 `--size_thres \<threshold\>` 调整,当包体限制检测值(DETECTED VALUE)小于 1MB 时,结果为 WARNING;
117117
- RTT:传输延迟,默认阈值为 50ms,可通过配置 `--rtt_thres \<threshold\>`调整,当传输延迟检测值(DETECTED VALUE)大于 50ms 时,结果为 WARNING。
118-
- NETWORK STATSTICS(bob-alice): Bob 到 Alice 的请求链路网络指标。
118+
- NETWORK STATISTICS(bob-alice): Bob 到 Alice 的请求链路网络指标。
119119

120120
### 其他说明
121121

docs/deployment/kuscia_config_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Kuscia 的配置文件由公共配置和每个模式的特殊配置组成,具
1313
######################################################################################
1414
# Deployment mode
1515
mode: lite
16-
# DomianID
16+
# DomainID
1717
# When using in a production environment, it is recommended to set domainID to be globally unique. It is recommended to use: "company name"-"department name"-"node name", such as:
1818
# domainID: mycompany-secretflow-trainlite
1919
domainID: alice

docs/deployment/operation_cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ kubectl get domain
125125
#### 查看某个 Domain 的详细信息
126126

127127
```shell
128-
kubectl get domain {domian_name} -o yaml
128+
kubectl get domain {domain_name} -o yaml
129129
```
130130

131131
- {domain_name} 为要查看 Domain 的名称。

docs/locales/en/LC_MESSAGES/deployment/diagnose_tool.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ msgid ""
100100
msgstr "CRD Config Check: Checks whether the configured ClusterDomainRoute is valid. If the result is FAIL, it indicates that the CDR configuration is incorrect or the node's network is not accessible."
101101

102102
#: ../../deployment/diagnose_tool.md:110
103-
msgid "NETWORK STATSTICS(alice-bob):Alice 到 Bob 的请求链路网络指标,包含:"
104-
msgstr "NETWORK STATSTICS(alice-bob): Network metrics for the request link from Alice to Bob, including:"
103+
msgid "NETWORK STATISTICS(alice-bob):Alice 到 Bob 的请求链路网络指标,包含:"
104+
msgstr "NETWORK STATISTICS(alice-bob): Network metrics for the request link from Alice to Bob, including:"
105105

106106
#: ../../deployment/diagnose_tool.md:111
107107
msgid ""
@@ -130,8 +130,8 @@ msgid ""
130130
msgstr "RTT: Transmission latency. The default threshold is 50ms. You can adjust it using the `--rtt_thres <threshold>` option. If the detected value exceeds 50ms, the result will be WARNING."
131131

132132
#: ../../deployment/diagnose_tool.md:116
133-
msgid "NETWORK STATSTICS(bob-alice): Bob 到 Alice 的请求链路网络指标。"
134-
msgstr "NETWORK STATSTICS(bob-alice): Network metrics for the request link from Bob to Alice."
133+
msgid "NETWORK STATISTICS(bob-alice): Bob 到 Alice 的请求链路网络指标。"
134+
msgstr "NETWORK STATISTICS(bob-alice): Network metrics for the request link from Bob to Alice."
135135

136136
#: ../../deployment/diagnose_tool.md:118
137137
msgid "其他说明"

docs/locales/en/LC_MESSAGES/deployment/kuscia_ports_cn.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ msgstr "1080"
7373

7474
#: ../../deployment/kuscia_ports_cn.md
7575
msgid "节点之间的认证鉴权端口。在创建节点之间路由时需要指定,可参考[创建节点路由](../reference/apis/domainroute_cn.md#请求createdomainrouterequest)"
76-
msgstr "Authentication and authorization port between nodes. Must be specified when creating inter-node routes. Refer to [Create DomianRoute](../reference/apis/domainroute_cn.md#createdomainrouterequest)."
76+
msgstr "Authentication and authorization port between nodes. Must be specified when creating inter-node routes. Refer to [Create DomainRoute](../reference/apis/domainroute_cn.md#createdomainrouterequest)."
7777

7878
#: ../../deployment/kuscia_ports_cn.md
7979
msgid "是"

docs/locales/en/LC_MESSAGES/reference/concepts/domaindatagrant_cn.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ msgstr "`.metadata.namespace`: Indicates the namespace to which the DomainDataGr
107107

108108
#: ../../reference/concepts/domaindatagrant_cn.md:44
109109
msgid "`.spec.author`:表示授权方节点 ID 。当前示例授权方节点为 `alice`。"
110-
msgstr "`.spec.author`: Indicates the grantor DomianID (`alice` here)."
110+
msgstr "`.spec.author`: Indicates the grantor DomainID (`alice` here)."
111111

112112
#: ../../reference/concepts/domaindatagrant_cn.md:45
113113
msgid "`.spec.domainDataID`:表示 DomainDataGrant 所属的 DomainData。"
114114
msgstr "`.spec.domainDataID`: Associates with the corresponding DomainData resource."
115115

116116
#: ../../reference/concepts/domaindatagrant_cn.md:46
117117
msgid "`.spec.grantDomain`:表示被授权的节点 ID 。当前示例授权方节点为 `bob`。"
118-
msgstr "`.spec.grantDomain`: Identifies the grantee DomianID (`bob` in this example)."
118+
msgstr "`.spec.grantDomain`: Identifies the grantee DomainID (`bob` in this example)."
119119

120120
#: ../../reference/concepts/domaindatagrant_cn.md:48
121121
msgid ""

docs/locales/en/LC_MESSAGES/troubleshoot/runtask/run_job_failed.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ msgstr "Check network authorization"
4242

4343
#: ../../troubleshoot/runtask/run_job_failed.md:11
4444
msgid ""
45-
"大部分任务失败问题都是网络问题,检查网络授权可以登录到容器(中心化模式在 master 容器、点对点模式在 automony "
45+
"大部分任务失败问题都是网络问题,检查网络授权可以登录到容器(中心化模式在 master 容器、点对点模式在 autonomy "
4646
"容器)并执行 `kubectl get cdr` 命令查看授权信息,READY 为 True 时表明通信正常,为空时表明通信异常,可以先看下 HOST"
4747
" 和端口是否正确或者执行 `kubectl get cdr ${cdr_name} -oyaml` "
4848
"命令看下详细信息,参数确认无误仍无法正常通信请参考[授权错误排查](../network/network_authorization_check.md)。"

docs/locales/en/LC_MESSAGES/tutorial/run_fate_cn.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ msgstr "Adapter Image"
8888

8989
#: ../../tutorial/run_fate_cn.md:38
9090
msgid ""
91-
"每一个 KusciaTask 会通过 AppImage 中的 adapater 镜像向 FATE 集群发起任务,并保持 KusciaTask "
91+
"每一个 KusciaTask 会通过 AppImage 中的 adapter 镜像向 FATE 集群发起任务,并保持 KusciaTask "
9292
"状态与 FATE 任务的状态一致。"
9393
msgstr ""
9494
"Each KusciaTask will initiate a task to the FATE cluster using the adapter image within the AppImage and will maintain the KusciaTask status consistent with the FATE task status."

0 commit comments

Comments
 (0)