tisonkun commented on code in PR #363: URL: https://github.com/apache/incubator-streampark-website/pull/363#discussion_r1587012448
########## i18n/zh-CN/docusaurus-plugin-content-docs/current/flink-k8s/1-deployment.md: ########## @@ -81,10 +81,10 @@ docker pull <your_register_addr>/streampark/busybox * **Flink Base Docker Image**: 基础 Flink Docker 镜像的 Tag,可以直接从 [DockerHub - offical/flink](https://hub.docker.com/_/flink) 获取,也支持用户私有的底层镜像,此时在 setting 设置 Docker Register Account 需要具备该私有镜像 `pull` 权限。 * **Rest-Service Exposed Type**:对应 Flink 原生 [kubernetes.rest-service.exposed.type](https://ci.apache.org/projects/flink/flink-docs-stable/docs/deployment/config/#kubernetes) 配置,各个候选值说明: - * `ClusterIP`:需要 StreamPark 可直接访问 K8s 内部网络; - * `LoadBalancer`:需要 K8s 提前创建 LoadBalancer 资源,且 Flink Namespace 具备自动绑定权限,同时 StreamPark 可以访问该 LoadBalancer 网关; - * `NodePort`:需要 StreamPark 可以直接连通所有 K8s 节点; -* **Kubernetes Pod Template**: Flink 自定义 pod-template 配置,注意container-name必须为flink-main-container,如果k8s pod拉取docker镜像需要秘钥,请在pod template文件中补全秘钥相关信息,pod-template模板如下: + * `ClusterIP`:需要 StreamPark 可直接访问 Kubernetes 内部网络; + * `LoadBalancer`:需要 Kubernetes 提前创建 LoadBalancer 资源,且 Flink Namespace 具备自动绑定权限,同时 StreamPark 可以访问该 LoadBalancer 网关; + * `NodePort`:需要 StreamPark 可以直接连通所有 Kubernetes 节点; +* **Kubernetes Pod Template**: Flink 自定义 pod-template 配置,注意container-name必须为flink-main-container,如果Kubernetes pod拉取docker镜像需要秘钥,请在pod template文件中补全秘钥相关信息,pod-template模板如下: Review Comment: ```suggestion * **Kubernetes Pod Template**: Flink 自定义 pod-template 配置,注意 `container-name` 必须为 `flink-main-container`,如果 Kubernetes pod 拉取 Docker 镜像需要秘钥,请在 pod 模板文件中补全秘钥相关信息,pod 模板如下: ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
