You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/08/07 10:01:45 UTC
[GitHub] [hadoop-ozone] cxorm commented on a change in pull request #1299: HDDS-4076. Translate CSI.md into Chinese
cxorm commented on a change in pull request #1299:
URL: https://github.com/apache/hadoop-ozone/pull/1299#discussion_r466938331
##########
File path: hadoop-hdds/docs/content/interface/CSI.zh.md
##########
@@ -0,0 +1,78 @@
+---
+title: CSI 协议
+weight: 3
+summary: Ozone 支持 容器存储接口(CSI) 协议。你可以通过Ozone CSI 挂载 Ozone 桶的方式使用 Ozone。
+---
+
+<!---
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+容器存储接口 `Container Storage Interface` (CSI) 使存储供应商(SP)能够一次性开发一个插件,并让它跨多个容器编排工作。
+
+获取更多CSI的信息,可以参考[SCI spec](https://github.com/container-storage-interface/spec/blob/master/spec.md)
+
+Ozone CSI是 CSI 的一种实现,它使得在容器里使用Ozone成为了可能。
Review comment:
```suggestion
Ozone CSI是 CSI 的一种实现,它可以将Ozone用作容器的存储卷。
```
##########
File path: hadoop-hdds/docs/content/interface/CSI.zh.md
##########
@@ -0,0 +1,78 @@
+---
+title: CSI 协议
+weight: 3
+summary: Ozone 支持 容器存储接口(CSI) 协议。你可以通过Ozone CSI 挂载 Ozone 桶的方式使用 Ozone。
+---
+
+<!---
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+容器存储接口 `Container Storage Interface` (CSI) 使存储供应商(SP)能够一次性开发一个插件,并让它跨多个容器编排工作。
+
+获取更多CSI的信息,可以参考[SCI spec](https://github.com/container-storage-interface/spec/blob/master/spec.md)
+
+Ozone CSI是 CSI 的一种实现,它使得在容器里使用Ozone成为了可能。
+
+## 入门
+
+首先,我们需要一个带有S3Gateway的Ozone集群,并且它的OM和S3Gateway的端口都可以对CSI pod可见,
+因为CSIServer 将会访问 OM 来创建或者删除篮子,并且,CSIServer将会通过goofys创建到s3g的挂载点的方式来发布桶。
+
+如果你没有一个运行在kubernetes上的Ozone集群,你可以参考[Kubernetes]({{< ref "start/Kubernetes.zh.md" >}}) 来创建一个。
Review comment:
```suggestion
如果你没有一个运行在kubernetes上的Ozone集群,你可以参考[Kubernetes](https://github.com/apache/hadoop-ozone/blob/master/hadoop-hdds/docs/content/start/Kubernetes.zh.md) 来创建一个。
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org