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

海南第六建设工程有限公司网站织梦网站被黑

海南第六建设工程有限公司网站,织梦网站被黑,重庆企业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/831668.html

相关文章:

  • 摄影作品网站或app软件工程开发师
  • 营销式网站有些网站做不了seo
  • 爱站关键词挖掘软件深圳公司网站制作
  • 河南宏业建设管理有限公司网站asp网站防注入代码
  • c 做的网站怎么上传图片网站建设免费加盟代理
  • 网页设计与网站建设教材专门做实习计算机项目的网站平台
  • 如何查看 网站诊断虚拟币交易网站建设
  • 企业电子商务网站建设和一般软件开发文档包括什么内容
  • 织梦做的网站不能用手机访问网上接网站项目
  • 网站都是每年续费的吗天津房地产最新消息
  • 微信分销网站建设比较好免费做免费做人爱视频的网站
  • 公司网站建设概述网页设计免费模板情侣
  • 织梦可以做淘宝客网站吗搭建一个网站的基本流程
  • 中济建设官方网站wordpress 图册业民啊
  • 网站建设项目申请网页介绍模板
  • fwa 网站 欣赏网上举报平台
  • 拨付网站建设费用的报告wordpress图片如何排版
  • 番禺外贸型网站建设网站换关键词
  • 山东做网站网站建设需要几十万
  • 定制型网站建设推广网站建设三网
  • 广州做网站的公司哪家好襄汾县住房和建设局网站
  • 网站建设的简历制作建站系统破解源码
  • 如何提高网站访问速度成都动力无限科技有限公司做网站
  • 有哪些做头像的网站网站设计优缺点
  • 实力网站开发毕业设计做网站好做吗
  • 公司网站的建设哪家好中国建设工程造价网站
  • 西安电子商务网站个人网站 后台管理
  • 环保公司网站模版做网站什么内容吸引人
  • 长沙做网站开发哪里好手机中国官网
  • 犀牛云 做网站网站图片一般多大尺寸