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

北京网站建设 专业10年兰州seo公司

北京网站建设 专业10年,兰州seo公司,电子商务网站建设的开发方案,金融行业做网站需要什么背景 在上一个章节中已经介绍了基本的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.dtcms.com/wzjs/511473.html

相关文章:

  • 怎么做网站的域名解析免费发布产品信息的网站
  • 重庆网站建设流程广告策划公司
  • 企业建站系统平台惠州抖音seo策划
  • 百度小程序wordpress网站内容seo
  • 做网站和做app哪个成本高郑州seo关键词优化公司
  • 西部建设网站免费舆情网站
  • 什么网站可以做问卷百度软件下载
  • 昆明云南微网站建设外贸谷歌seo
  • 易签到网站开发设计百度问答seo
  • 服务器迁移对做网站的影响哪里有网络推广
  • 垂直网站需要多少钱佛山优化网站关键词
  • 产品开发流程8个步骤案例seo关键词排名优
  • 会员中心网站模板友情网站
  • 商丘网站建设和制作目前最火的自媒体平台
  • 长沙建设品牌网站2345网址导航设置
  • 网站开发笔记本网站推广优化怎么做最好
  • 网站开发合同范本seo排名优化软件免费
  • 优化一个网站可以做多少关键词线下推广的渠道和方法
  • 江苏省工程建设招标网站商务软文写作
  • 个人网站建设如何赚钱百度收录技巧
  • 网站首页新增悬浮小窗怎么做一般网站推广要多少钱
  • 做装饰画的行业网站百度推广怎么联系
  • 视频网站怎么做压力测试上海谷歌优化
  • 成都精品网站建设如何自己制作一个网站
  • 手机wordpress怎么保存图片青岛网站优化公司哪家好
  • 牡丹江网站制作网站seo优化服务商
  • godaddy服务器做网站关键词排名优化教程
  • 小的电商网站外链代发平台
  • 西安有几家做网站淘宝运营培训机构
  • 营销型集团网站建设杭州网络优化公司排名