当前位置: 首页 > news >正文

崇明建设机械网站做外贸网站公司哪家好

崇明建设机械网站,做外贸网站公司哪家好,上海高端网站公司,网站建设推荐北京华网天下背景 在上一个章节中已经介绍了基本的Flink-Operator安装,但是在实际的数据中台的项目中,用户可能希望看到Flink Operator的运行日志情况,当然这可以通过修改Flink-Operator POD的文件实现卷挂载的形势将日志输出到宿主机器的指定目录下,但是这种办法对数据中台的产品不是…

背景

在上一个章节中已经介绍了基本的Flink-Operator安装,但是在实际的数据中台的项目中,用户可能希望看到Flink Operator的运行日志情况,当然这可以通过修改Flink-Operator POD的文件实现卷挂载的形势将日志输出到宿主机器的指定目录下,但是这种办法对数据中台的产品不是特别友好,因此我们需要将Operator服务的日志输出到Kafka Appender中;因此我们需要修改Flink Operator的helm中的values配置文件文件,达成我们的目标.

默认情况下Flink Operator不支持Kafka Appender日志输出,为了支持改能力,需要在flink-operator的镜像编译的时候添加kafka依赖,这里小编是在flink-kubernetes-operator模块的pom.xml文件中添加如下配置

<!--kafka版本信息-->
<properties><kafka-clients.version>2.2.0</kafka-clients.version>
</properties>
...
<!--kafka clients依赖-->
<dependency><groupId>org.apache.kafka</groupId><artifactId>kafka-clients</artifactId><version>${kafka-clients.version}</version>
</dependency>

然后对flink-operator重新进行打包编译,重新发布flink-kubernetes-operator镜像即可

日志采集

可以这么理解flink-operator服务是一个flink 任务提交的客户端,在设计的时候会在提交作业的时候允许用户覆盖log4j-console.propertieslog4j-operator.properties配置文件,其中如果用户需要采集k8s作业容器的运行日志可以尝试配置log4j-console.properties配置文件,如果是希望查看flink-operator服务本身的日志需要覆盖log4j-operator.properties配置文件。

################################################################################
#  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.
################################################################################---# List of kubernetes namespaces to watch for FlinkDeployment changes, empty means all namespaces.
# When enabled RBAC is only created for said namespaces, otherwise it is done for the cluster scope.
# watchNamespaces: ["flink"]image:repository: ghcr.io/apache/flink-kubernetes-operatorpullPolicy: IfNotPresenttag: "51eeae1"# If image digest is set then it takes precedence and the image tag will be ignored# digest: ""imagePullSecrets: []# Replicas must be 1 unless operator leader election is configured
replicas: 1# Strategy type must be Recreate unless leader election is configured
strategy:type: Recreaterbac:create: true# kubernetes.rest-service.exposed.type: NodePort requires# list permission for nodes at the cluster scope.# Set create to true if you are using NodePort type.nodesRule:create: falseoperatorRole:create: truename: "flink-operator"operatorRoleBinding:create: truename: "flink-operator-role-binding"jobRole
http://www.yayakq.cn/news/221027/

相关文章:

  • 中国亚马逊网站建设学校网站开发招标
  • 英语网站源码北京城乡住房建设厅网站
  • 微信网站开发报价表郑州市科协网站
  • 青建设厅官方网站网站登陆口提交网站
  • 全国最大的网站建设公司排名短视频运营公司网站建设
  • 企业专业网站建设哪家好室内设计培训班排行榜学校
  • 深圳戈麦斯网站开发正规的网站建设学习网
  • 用代码做网站宝塔负载100wordpress
  • 三视觉平面设计网单页关键词优化费用
  • 简述营销网站建设包括哪些内容公司品牌推广方案范文
  • 基于django的电子商务网站设计网络平台创建需要多少钱
  • 导航网站php做视频网站要用到的服务器
  • 专业商城网站建设多少钱制作人结局金秀贤和谁在一起了
  • 优质网站建设制作wordpress搞个会员注册
  • 福建省亿力电力建设有限公司网站企业公示信息查询系统 江苏
  • 奥远网站建设流程免费网课
  • 兰西网站建设湖北短视频seo
  • 定制网站 北京建设银行个人查询余额
  • 太原企业网站建设开发公司施工管理事业部沟通协调类面试题
  • 怎么做点击图片进网站朝阳区seo搜索引擎优化介绍
  • 临沂网站建广州餐饮管理有限公司
  • 江西做网站找谁提升学历咨询
  • 网站开发设计师岗位职责纯flash网站欣赏
  • 聊城市公司网站建站海口h5建站模板
  • 建设工程信息在什么网站发布做快递单网站
  • wordpress网站案例深圳云购网站制作
  • 网站建设如何给网址设置链接美食网站首页怎么做
  • 网站原型图展示律师事务所 网站模板
  • 我国空间站建造上海城乡建设网站首页
  • 设计网站作品欣赏有那些网站wordpress本地头像