klion26 commented on a change in pull request #8986: [FLINK-13092][docs-zh] 
Translate "Kubernetes" page into Chinese
URL: https://github.com/apache/flink/pull/8986#discussion_r300539011
 
 

 ##########
 File path: docs/ops/deployment/kubernetes.zh.md
 ##########
 @@ -28,72 +28,75 @@ This page describes how to deploy a Flink job and session 
cluster on [Kubernetes
 * This will be replaced by the TOC
 {:toc}
 
-## Setup Kubernetes
+## 安装Kubernetes
 
-Please follow [Kubernetes' setup guide](https://kubernetes.io/docs/setup/) in 
order to deploy a Kubernetes cluster.
-If you want to run Kubernetes locally, we recommend using 
[MiniKube](https://kubernetes.io/docs/setup/minikube/).
+请先参阅[Kubernetes安装教程](https://kubernetes.io/docs/setup/)来部署Kubernetes集群。
+
+如果想在本地运行Kubernetes 
,这里建议使用[MiniKube](https://kubernetes.io/docs/setup/minikube/)。
 
 <div class="alert alert-info" markdown="span">
-  <strong>Note:</strong> If using MiniKube please make sure to execute 
`minikube ssh 'sudo ip link set docker0 promisc on'` before deploying a Flink 
cluster. 
-  Otherwise Flink components are not able to self reference themselves through 
a Kubernetes service. 
+  <strong>注意:</strong> 如果使用MiniKube 请确保在部署Flink集群之前先执行 `minikube ssh 'sudo ip 
link set docker0 promisc on'` ,否则Flink组件不能自动地将自己映射到Kubernetes Service中。
 </div>
 
-## Flink session cluster on Kubernetes
 
-A Flink session cluster is executed as a long-running Kubernetes Deployment. 
-Note that you can run multiple Flink jobs on a session cluster.
-Each job needs to be submitted to the cluster after the cluster has been 
deployed.
+## 部署在Kubernetes上的Flink session集群
+
+Flink 
session集群执行时是作为Kubernetes上长期运行的Deployment。这里值得注意的是,可以在一个session集群上运行多个Flink作业。当然,只有session集群部署好以后才可以在上面提交Flink作业。
 
-A basic Flink session cluster deployment in Kubernetes has three components:
+在Kubernetes上部署一个基本的Flink session集群时,一般包括下面三个组件:
 
-* a Deployment/Job which runs the JobManager
-* a Deployment for a pool of TaskManagers
-* a Service exposing the JobManager's REST and UI ports
+* 运行JobManager的Deployment或者Job
+* 运行TaskManager池的Deployment
+* 暴露了JobManager上REST和UI端口的Service
 
-### Deploy Flink session cluster on Kubernetes
+### 在Kubernetes上部署Flink session集群
 
-Using the resource definitions for a [session 
cluster](#session-cluster-resource-definitions), launch the cluster with the 
`kubectl` command:
+对于[session集群](#Session集群资源定义),通过`kubectl`命令使用对应的资源定义文件来启动集群,如下所示:
 
     kubectl create -f jobmanager-service.yaml
     kubectl create -f jobmanager-deployment.yaml
     kubectl create -f taskmanager-deployment.yaml
 
-You can then access the Flink UI via `kubectl proxy`:
+接下来可以通过`kubectl proxy`命令来访问Flink UI,步骤如下:
 
-1. Run `kubectl proxy` in a terminal
-2. Navigate to 
[http://localhost:8001/api/v1/namespaces/default/services/flink-jobmanager:ui/proxy](http://localhost:8001/api/v1/namespaces/default/services/flink-jobmanager:ui/proxy)
 in your browser
+1. 在终端运行`kubectl proxy`命令
+2. 
在浏览器中导航到http://localhost:8001/api/v1/namespaces/default/services/flink-jobmanager:ui/proxy页面
 
-In order to terminate the Flink session cluster, use `kubectl`:
+关闭集群时,仍然使用`kubectl`命令,如下所示:
 
     kubectl delete -f jobmanager-deployment.yaml
     kubectl delete -f taskmanager-deployment.yaml
     kubectl delete -f jobmanager-service.yaml
 
-## Flink job cluster on Kubernetes
+## 部署在Kubernetes上的Flink job集群
 
 Review comment:
   ```suggestion
   ## 部署在 Kubernetes 上的 Flink job 集群
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to